diff options
author | sbd <sbd@pkgsrc.org> | 2012-11-02 08:18:50 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2012-11-02 08:18:50 +0000 |
commit | a2a71fa1f97703046ce80d1309aaf22febe39243 (patch) | |
tree | 95b755e25f23ad16ffd83e267d864dd59ef08e4b /lang/perl5 | |
parent | bf88be19a065b948ebb1f71fb9bf00ca8722b54f (diff) | |
download | pkgsrc-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/Makefile | 19 |
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 |