aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-19 16:41:33 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-19 16:41:33 +0800
commitf82cc84b6efa84cbc838ccd4423bfdf4191bf1af (patch)
tree50060a479ad0ebda5b04be7eb2beb4fab498993c /math
parent857af38152a0325c896b2be1e9a0102d2c8d5b14 (diff)
downloadfreebsd-ports-gnome-f82cc84b6efa84cbc838ccd4423bfdf4191bf1af.tar.gz
freebsd-ports-gnome-f82cc84b6efa84cbc838ccd4423bfdf4191bf1af.tar.zst
freebsd-ports-gnome-f82cc84b6efa84cbc838ccd4423bfdf4191bf1af.zip
Stagify.
Approved by: portmgr@
Diffstat (limited to 'math')
-rw-r--r--math/plman/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/math/plman/Makefile b/math/plman/Makefile
index fce4bf03d885..f004b053cf75 100644
--- a/math/plman/Makefile
+++ b/math/plman/Makefile
@@ -27,19 +27,18 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
FIND_DATA= lib
FIND_DOCS= docs
-NO_STAGE= yes
post-patch:
for FILE in ${REPLACE_FILES}; do \
${REINPLACE_CMD} -e "/%%DATADIR%%/s//${DATADIR:S/\//\\\//g}/g" $${FILE} ;\
done;
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
- ${MKDIR} ${DATADIR}/${FIND_DATA}
- cd ${WRKSRC} && ${FIND} ${FIND_DATA} -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
+ ${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ ${MKDIR} ${STAGEDIR}${DATADIR}/${FIND_DATA}
+ cd ${WRKSRC} && ${FIND} ${FIND_DATA} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/{} \;
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- cd ${WRKSRC}/${FIND_DOCS} && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/${FIND_DOCS} && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
.endif
.include <bsd.port.mk>