svn commit: r358365 - head/math/plman
Vanilla I. Shu
vanilla at FreeBSD.org
Thu Jun 19 08:41:34 UTC 2014
Author: vanilla
Date: Thu Jun 19 08:41:33 2014
New Revision: 358365
URL: http://svnweb.freebsd.org/changeset/ports/358365
QAT: https://qat.redports.org/buildarchive/r358365/
Log:
Stagify.
Approved by: portmgr@
Modified:
head/math/plman/Makefile
Modified: head/math/plman/Makefile
==============================================================================
--- head/math/plman/Makefile Thu Jun 19 08:24:47 2014 (r358364)
+++ head/math/plman/Makefile Thu Jun 19 08:41:33 2014 (r358365)
@@ -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>
More information about the svn-ports-all
mailing list