diff options
author | Anton Berezin <tobez@FreeBSD.org> | 2002-05-20 00:03:07 +0000 |
---|---|---|
committer | Anton Berezin <tobez@FreeBSD.org> | 2002-05-20 00:03:07 +0000 |
commit | eff8393c6c8996e87ccf0de7b4e94fc72e59e936 (patch) | |
tree | 5c99e053eefe2a60a72c1cfb81560b01134f0c81 /lang/perl5.16/Makefile | |
parent | 985963f59782419c2d09db26023e467f89d33caf (diff) | |
download | ports-eff8393c6c8996e87ccf0de7b4e94fc72e59e936.tar.gz ports-eff8393c6c8996e87ccf0de7b4e94fc72e59e936.zip |
Notes
Diffstat (limited to 'lang/perl5.16/Makefile')
-rw-r--r-- | lang/perl5.16/Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/lang/perl5.16/Makefile b/lang/perl5.16/Makefile index 4f6e1b718cfc..68ac0d1fef73 100644 --- a/lang/perl5.16/Makefile +++ b/lang/perl5.16/Makefile @@ -7,13 +7,14 @@ PORTNAME= perl PORTVERSION= ${PERL_VER} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= lang devel perl5 -# If you don't use MASTER_SITE_OVERRIDE set to one of the -# ftp.FreeBSD.org mirrors, fetching will be *very* slow. -MASTER_SITES= ${MASTER_SITE_LOCAL} ${MASTER_SITE_PERL_CPAN} -MASTER_SITE_SUBDIR= ../../src tobez -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} BSDPAN-${PORTVERSION}${EXTRACT_SUFX} +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \ + ${MASTER_SITE_LOCAL:S/$/:local/} +MASTER_SITE_SUBDIR= ../../src \ + tobez/:local +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ + BSDPAN-${PORTVERSION}${EXTRACT_SUFX}:local MAINTAINER= tobez@FreeBSD.org @@ -119,12 +120,12 @@ BSDPAN_FILES= BSDPAN.pm BSDPAN/Override.pm Config.pm \ BSDPAN_WRKSRC= ${WRKDIR}/BSDPAN-${PORTVERSION} post-patch: - ${CP} ${FILESDIR}/use.perl ${WRKDIR} - ${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g;' \ + ${SED} -e 's|%%PREFIX%%|${PREFIX}|g;' \ -e 's|%%PERL_VER%%|${PERL_VER}|g;' \ -e 's|%%PERL_VERSION%%|${PERL_VERSION}|g;' \ -e 's|%%PERL_ARCH%%|${PERL_ARCH}|g;' \ - ${WRKDIR}/use.perl + ${FILESDIR}/use.perl \ + > ${WRKDIR}/use.perl post-install: @strip ${PREFIX}/bin/perl ${PREFIX}/bin/suidperl |