aboutsummaryrefslogtreecommitdiff
path: root/lang/perl5.8
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2003-11-12 00:07:43 +0000
committerAnton Berezin <tobez@FreeBSD.org>2003-11-12 00:07:43 +0000
commitf164b0b55d9bcd078cf12866658436fc7b8b7d22 (patch)
treeaf359d8a7848121d6870b7047892328ed606f8c3 /lang/perl5.8
parent47da64b41c02b40eaea4f1a110fdbb3bb3d07cc9 (diff)
downloadports-f164b0b55d9bcd078cf12866658436fc7b8b7d22.tar.gz
ports-f164b0b55d9bcd078cf12866658436fc7b8b7d22.zip
Notes
Diffstat (limited to 'lang/perl5.8')
-rw-r--r--lang/perl5.8/Makefile9
-rw-r--r--lang/perl5.8/pkg-plist2
2 files changed, 8 insertions, 3 deletions
diff --git a/lang/perl5.8/Makefile b/lang/perl5.8/Makefile
index a5dcb773d0c5..7fe073530167 100644
--- a/lang/perl5.8/Makefile
+++ b/lang/perl5.8/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/} \
@@ -219,10 +220,14 @@ post-patch:
${FILESDIR}/use.perl \
> ${WRKDIR}/use.perl
+pre-install:
+ @${RM} -f ${PREFIX}/bin/perl${PERL_VER}
+ @${RM} -f ${PREFIX}/bin/perl
+
post-install:
+ @${STRIP_CMD} ${PREFIX}/bin/perl${PERL_VER}
@${STRIP_CMD} ${PREFIX}/bin/perl
- @${LN} -sf ${PREFIX}/bin/perl ${PREFIX}/bin/perl5
- @${LN} -sf ${PREFIX}/bin/perl ${PREFIX}/bin/perl${PERL_VER}
+ @${LN} -sf ${PREFIX}/bin/perl${PERL_VER} ${PREFIX}/bin/perl5
${INSTALL_SCRIPT} ${WRKDIR}/use.perl ${PREFIX}/bin/use.perl
.for files in ${BSDPAN_FILES}
${MKDIR} ${BSDPAN_DEST}/${files:H}
diff --git a/lang/perl5.8/pkg-plist b/lang/perl5.8/pkg-plist
index 4815a22627f9..52965e7bbf55 100644
--- a/lang/perl5.8/pkg-plist
+++ b/lang/perl5.8/pkg-plist
@@ -8,9 +8,9 @@ bin/h2ph
bin/h2xs
bin/libnetcfg
bin/perl
+bin/perl%%PERL_VER%%
@exec ln -fs %D/%F %B/perl5
@unexec rm %B/perl5
-bin/perl%%PERL_VER%%
bin/perlbug
bin/perlcc
bin/perldoc