aboutsummaryrefslogtreecommitdiff
path: root/lang/pugs
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2006-08-14 05:01:32 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2006-08-14 05:01:32 +0000
commita3345b4e259fb1db8c9fdfbbcd23e40746ad8b75 (patch)
tree8d26dd56e1b2cc886740c05591f057610d0de82c /lang/pugs
parent4b45f3656578595fe5155d85bb48a8d9e591d7c6 (diff)
downloadports-a3345b4e259fb1db8c9fdfbbcd23e40746ad8b75.tar.gz
ports-a3345b4e259fb1db8c9fdfbbcd23e40746ad8b75.zip
Notes
Diffstat (limited to 'lang/pugs')
-rw-r--r--lang/pugs/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/pugs/Makefile b/lang/pugs/Makefile
index 97d87e974101..958256e3e163 100644
--- a/lang/pugs/Makefile
+++ b/lang/pugs/Makefile
@@ -31,8 +31,8 @@ MAN3= Perl6::Pugs.3 \
.include <bsd.port.pre.mk>
post-configure:
- @${REINPLACE_CMD} -e '/^INSTALLPRIVLIB/s,${PREFIX}/lib,${PREFIX}/lib/perl6,;' \
- -e '/^INSTALLARCHLIB/s,${PREFIX}/lib,${PREFIX}/lib/perl6/mach,' \
+ @${REINPLACE_CMD} -e '/^INSTALLPRIVLIB/s,${PREFIX}/lib,${TARGETDIR}/lib/perl6,;' \
+ -e '/^INSTALLARCHLIB/s,${PREFIX}/lib,${TARGETDIR}/lib/perl6/mach,' \
${WRKSRC}/Makefile
.if !defined(NOPORTDOCS)
@@ -41,9 +41,9 @@ post-install:
@${MKDIR} ${EXAMPLESDIR}
@${CP} -R ${EXDIR}/ ${EXAMPLESDIR}
@${FIND} -s ${EXAMPLESDIR} -type f | \
- ${SED} -e 's|^${PREFIX}/||' >> ${TMPPLIST}
+ ${SED} -e 's|^${TARGETDIR}/||' >> ${TMPPLIST}
@${FIND} -d ${EXAMPLESDIR} -type d | \
- ${SED} -e 's|^${PREFIX}/|@dirrm |' >> ${TMPPLIST}
+ ${SED} -e 's|^${TARGETDIR}/|@dirrm |' >> ${TMPPLIST}
.endif
.if ${PERL_LEVEL} < 500601