aboutsummaryrefslogtreecommitdiffstats
path: root/math/PDL
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2006-08-15 17:07:10 +0800
committermat <mat@FreeBSD.org>2006-08-15 17:07:10 +0800
commit53fb5a873ad8898e087afe75216d1ff046a6b066 (patch)
treea21e28d82046e3b005fc5e9f2f981978f5a594d5 /math/PDL
parent61dc0d204cdb0ffd8223132e2cf5ce8eba92609d (diff)
downloadfreebsd-ports-graphics-53fb5a873ad8898e087afe75216d1ff046a6b066.tar.gz
freebsd-ports-graphics-53fb5a873ad8898e087afe75216d1ff046a6b066.tar.zst
freebsd-ports-graphics-53fb5a873ad8898e087afe75216d1ff046a6b066.zip
Respect DESTDIR
PR: 101851 Submitted by: Gea-Suan Lin <gslin@gslin.org>
Diffstat (limited to 'math/PDL')
-rw-r--r--math/PDL/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/math/PDL/Makefile b/math/PDL/Makefile
index 0ddad4032a1..a7d46a56140 100644
--- a/math/PDL/Makefile
+++ b/math/PDL/Makefile
@@ -35,10 +35,10 @@ USE_GL= yes
PERL_CONFIGURE= yes
USE_GMAKE= yes
MAKE_ENV+= PERL5LIB=${WRKSRC}/blib/lib
-PLIST_DIRS= ${SITE_PERL:S,^${PREFIX}/,,}/${PERL_ARCH}/Inline
+PLIST_DIRS= ${SITE_PERL_REL}/${PERL_ARCH}/Inline
PLIST_FILES= bin/pdl bin/pdldoc bin/perldl bin/pptemplate \
- ${SITE_PERL:S,^${PREFIX}/,,}/${PERL_ARCH}/Inline/Pdlpp.pm \
- ${SITE_PERL:S,^${PREFIX}/,,}/${PERL_ARCH}/Inline/MakePdlppInstallable.pm
+ ${SITE_PERL_REL}/${PERL_ARCH}/Inline/Pdlpp.pm \
+ ${SITE_PERL_REL}/${PERL_ARCH}/Inline/MakePdlppInstallable.pm
.if defined(KITCHEN_SINK)
RUN_DEPENDS+= ppmtogif:${PORTSDIR}/graphics/netpbm \
@@ -78,12 +78,12 @@ post-install:
cd ${WRKSRC}/blib/man1 ; \
${FIND} *.1 | ${SED} "s,^,man/man1/," >> ${TMPPLIST})
@(${FIND} ${SITE_PERL}/${PERL_ARCH}/PDL* -type f | \
- ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} ; \
+ ${SED} "s,^${TARGETDIR}/,," >> ${TMPPLIST} ; \
${FIND} ${SITE_PERL}/${PERL_ARCH}/PDL* -type d | ${SORT} -r | \
- ${SED} "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST} ; \
+ ${SED} "s,^${TARGETDIR}/,@dirrm ," >> ${TMPPLIST} ; \
${FIND} ${SITE_PERL}/${PERL_ARCH}/auto/PDL -type f | \
- ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} ; \
+ ${SED} "s,^${TARGETDIR}/,," >> ${TMPPLIST} ; \
${FIND} ${SITE_PERL}/${PERL_ARCH}/auto/PDL -type d | ${SORT} -r | \
- ${SED} "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST})
+ ${SED} "s,^${TARGETDIR}/,@dirrm ," >> ${TMPPLIST})
.include <bsd.port.post.mk>