diff options
Diffstat (limited to 'misc/susv2/Makefile')
-rw-r--r-- | misc/susv2/Makefile | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/misc/susv2/Makefile b/misc/susv2/Makefile index 7f56dd73efe0..4765b1575fa2 100644 --- a/misc/susv2/Makefile +++ b/misc/susv2/Makefile @@ -12,11 +12,10 @@ COMMENT= Single UNIX Specification Version 2 RESTRICTED= Redistribution of the documents is not permitted -USES= tar:bzip2 +USES= tar:bzip2 NO_BUILD= yes PORTDOCS= * -NO_STAGE= yes .include <bsd.port.pre.mk> .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) @@ -24,13 +23,7 @@ IGNORE= may not be redistributed because of licensing reasons. Please visit htt .endif do-install: - @${MKDIR} ${DOCSDIR} - @${FIND} ${WRKSRC} | ${SED} -e 's#^${WRKSRC}##' | while read file; do \ - if ${TEST} -d "${WRKSRC}$$file"; then \ - ${MKDIR} "${DOCSDIR}$$file"; \ - else \ - ${INSTALL_DATA} "${WRKSRC}$$file" "${DOCSDIR}$$file"; \ - fi; \ - done + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} '*' ${STAGEDIR}${DOCSDIR} .include <bsd.port.post.mk> |