aboutsummaryrefslogtreecommitdiffstats
path: root/lang/pugs
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-08-14 13:01:32 +0800
committerclsung <clsung@FreeBSD.org>2006-08-14 13:01:32 +0800
commit7e555edd67f61efacd263b348203a287bc46b325 (patch)
treeda1902b1805393b6edd6fe0afedeb5fab92c1f3f /lang/pugs
parent2d2e14675342b39af3b5e83401a53e94f8baf13b (diff)
downloadfreebsd-ports-gnome-7e555edd67f61efacd263b348203a287bc46b325.tar.gz
freebsd-ports-gnome-7e555edd67f61efacd263b348203a287bc46b325.tar.zst
freebsd-ports-gnome-7e555edd67f61efacd263b348203a287bc46b325.zip
- Respect DESTDIR
PR: ports/101888 Submitted by: Gea-Suan Lin <gslin_AT_gslin dot org>
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