Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2008 22:00:45 GMT
From:      "Philip M. Gollucci" <pgollucci@p6m7g8.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        edwin@FreeBSD.org, araujo@FreeBSD.org, portmgr@FreeBSD.org
Subject:   ports/122674: Use CPAN macro in all ports
Message-ID:  <200804112200.m3BM0j6G092329@freefall.freebsd.org>
Resent-Message-ID: <200804112210.m3BMA2d7092461@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         122674
>Category:       ports
>Synopsis:       Use CPAN macro in all ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 11 22:10:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Philip M. Gollucci
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
Riderway Inc.
>Environment:
System: FreeBSD piccollo.p6m7g8.net 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Sun Mar 2 09:48:59 EST 2008 root@krillin.p6m7g8.net:/usr/obj/usr/src/sys/PICCOLLO i386
>Description:
Take advantage of CPAN macro from bsd.sites.mk
>How-To-Repeat:
>Fix:
Essentially,
mfiles=`grep -Rl \{MASTER_SITE_PERL_CPAN\} /space/portstrees/CPAN/ports`

for makefile in $mfiles; do
    echo "===========> $makefile"
    sed -i '' \
        -e 's,\${MASTER_SITE_PERL_CPAN},CPAN,' \
        -e '/^MASTER_SITE_SUBDIR/d' \
        $makefile

    dir=`echo $makefile |sed -e 's,/Makefile$,,'`
    cd $dir
    make fetch DISTDIR=/tmp/cpan
done

Undo changes to ports that fetch broke for.

In total ~2165 ports are changed.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804112200.m3BM0j6G092329>