diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-19 08:41:33 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-19 08:41:33 +0000 |
commit | a6dafd18459661cf68bc5f28ed965fab29eedfde (patch) | |
tree | 50060a479ad0ebda5b04be7eb2beb4fab498993c /math/plman | |
parent | 28cec6feec206c62d36f6aed7d2b681eb0ffe2a3 (diff) | |
download | ports-a6dafd18459661cf68bc5f28ed965fab29eedfde.tar.gz ports-a6dafd18459661cf68bc5f28ed965fab29eedfde.zip |
Notes
Diffstat (limited to 'math/plman')
-rw-r--r-- | math/plman/Makefile | 11 |
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> |