summaryrefslogtreecommitdiff
path: root/lang/perl5
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2012-11-02 08:18:50 +0000
committersbd <sbd@pkgsrc.org>2012-11-02 08:18:50 +0000
commita2a71fa1f97703046ce80d1309aaf22febe39243 (patch)
tree95b755e25f23ad16ffd83e267d864dd59ef08e4b /lang/perl5
parentbf88be19a065b948ebb1f71fb9bf00ca8722b54f (diff)
downloadpkgsrc-a2a71fa1f97703046ce80d1309aaf22febe39243.tar.gz
Tidy-up the perl5-post-install commands.
(removing two missed references to PERL5_SCRIPTDIR and PERL5_MAN1DIR while at it)
Diffstat (limited to 'lang/perl5')
-rw-r--r--lang/perl5/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index d152a7a260f..a4167923c46 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.185 2012/11/02 07:36:24 sbd Exp $
+# $NetBSD: Makefile,v 1.186 2012/11/02 08:18:50 sbd Exp $
.include "license.mk"
.include "Makefile.common"
@@ -336,13 +336,16 @@ perl5-post-install:
${RUN}if ${TEST} -x ${DESTDIR}${PREFIX}/bin/a2p; then \
strip ${DESTDIR}${PREFIX}/bin/a2p; \
fi
- ${RUN}${INSTALL_SCRIPT} ${WRKDIR}/perllink.sh ${DESTDIR}${PERL5_PERLBASE}/bin/perllink; \
- ${INSTALL_MAN} ${FILESDIR}/perllink.1 ${DESTDIR}${PERL5_PERLBASE}/${PKGMANDIR}/man1/perllink.1; \
- ${RM} -f ${DESTDIR}${PREFIX}/bin/perllink \
- ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/perllink.1; \
- ${LN} -s ${PERL5_SCRIPTDIR}/perllink ${DESTDIR}${PREFIX}/bin/perllink; \
- ${LN} -s ${PERL5_MAN1DIR}/perllink.1 \
- ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/perllink.1;
+ ${INSTALL_SCRIPT} ${WRKDIR}/perllink.sh \
+ ${DESTDIR}${PERL5_PERLBASE}/bin/perllink
+ ${INSTALL_MAN} ${FILESDIR}/perllink.1 \
+ ${DESTDIR}${PERL5_PERLBASE}/${PKGMANDIR}/man1/perllink.1
+ ${RM} -f ${DESTDIR}${PREFIX}/bin/perllink \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/perllink.1
+ ${LN} -s ${PERL5_PERLBASE}/bin/perllink \
+ ${DESTDIR}${PREFIX}/bin/perllink
+ ${LN} -s ${PERL5_PERLBASE}/${PKGMANDIR}/man1/perllink.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/perllink.1
.if ${OPSYS} == "Haiku"
${CHMOD} a+x ${DESTDIR}${PREFIX}/bin/perl
.endif