aboutsummaryrefslogtreecommitdiffstats
path: root/lang/perl5.12
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2002-07-23 00:36:07 +0800
committertobez <tobez@FreeBSD.org>2002-07-23 00:36:07 +0800
commita367be471f6a4af46819b4028d770d921e2ba2a5 (patch)
treee56b644763c30bf3f7192d66efda512edb4d5d89 /lang/perl5.12
parentc7e2f665b7703ae71c7cd6983a6ccd917bb1baf9 (diff)
downloadfreebsd-ports-gnome-a367be471f6a4af46819b4028d770d921e2ba2a5.tar.gz
freebsd-ports-gnome-a367be471f6a4af46819b4028d770d921e2ba2a5.tar.zst
freebsd-ports-gnome-a367be471f6a4af46819b4028d770d921e2ba2a5.zip
Modify BSDPAN to make INSTALLSITEMAN1DIR and INSTALLSITEMAN3DIR be equal
to INSTALLMAN1DIR and INSTALLMAN3DIR, respectively, if there are no corresponding variables in Config.pm, which is unfortunately the case for perl 5.8.0. This fixes manpage installation path for p5 ports built with perl5.8.0 as /usr/bin/perl.
Diffstat (limited to 'lang/perl5.12')
-rw-r--r--lang/perl5.12/Makefile4
-rw-r--r--lang/perl5.12/distinfo2
2 files changed, 4 insertions, 2 deletions
diff --git a/lang/perl5.12/Makefile b/lang/perl5.12/Makefile
index 99699ff3820d..1570660ed19f 100644
--- a/lang/perl5.12/Makefile
+++ b/lang/perl5.12/Makefile
@@ -7,6 +7,7 @@
PORTNAME= perl
PORTVERSION= ${PERL_VER}
+PORTREVISION= 1
CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
${MASTER_SITE_LOCAL:S/$/:local/} \
@@ -14,7 +15,7 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN} \
MASTER_SITE_SUBDIR= ../../src \
tobez/:local ./:local
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
- BSDPAN-${PORTVERSION}${EXTRACT_SUFX}:local
+ BSDPAN-${PORTVERSION}_${BSDPAN_REVISION}${EXTRACT_SUFX}:local
MAINTAINER= tobez@FreeBSD.org
@@ -163,6 +164,7 @@ BSDPAN_DEST= ${PREFIX}/lib/perl5/${PERL_VER}/BSDPAN
BSDPAN_FILES= BSDPAN.pm BSDPAN/Override.pm Config.pm \
ExtUtils/MM_Unix.pm ExtUtils/Packlist.pm
BSDPAN_WRKSRC= ${WRKDIR}/BSDPAN-${PORTVERSION}
+BSDPAN_REVISION=1
post-patch:
${SED} -e 's|%%PREFIX%%|${PREFIX}|g;' \
diff --git a/lang/perl5.12/distinfo b/lang/perl5.12/distinfo
index 55e9623ff26b..75e4f492cba9 100644
--- a/lang/perl5.12/distinfo
+++ b/lang/perl5.12/distinfo
@@ -1,2 +1,2 @@
MD5 (perl-5.8.0.tar.gz) = d9bdb180620306023fd35901a2878b62
-MD5 (BSDPAN-5.8.0.tar.gz) = 4b20e5c8feb22c861084659b4209c842
+MD5 (BSDPAN-5.8.0_1.tar.gz) = af9f075e073b14714cfeb8a7582013e7