pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/perl5 Tidy-up the perl5-post-install commands.
details: https://anonhg.NetBSD.org/pkgsrc/rev/4aeb1f57a337
branches: trunk
changeset: 610658:4aeb1f57a337
user: sbd <sbd%pkgsrc.org@localhost>
date: Fri Nov 02 08:18:50 2012 +0000
description:
Tidy-up the perl5-post-install commands.
(removing two missed references to PERL5_SCRIPTDIR and PERL5_MAN1DIR while at
it)
diffstat:
lang/perl5/Makefile | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
diffs (33 lines):
diff -r c44ee8e578ef -r 4aeb1f57a337 lang/perl5/Makefile
--- a/lang/perl5/Makefile Fri Nov 02 07:55:31 2012 +0000
+++ b/lang/perl5/Makefile Fri Nov 02 08:18:50 2012 +0000
@@ -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 @@
${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
Home |
Main Index |
Thread Index |
Old Index