aboutsummaryrefslogtreecommitdiff
path: root/misc/susv2
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2014-09-01 20:55:33 +0000
committerMatthias Andree <mandree@FreeBSD.org>2014-09-01 20:55:33 +0000
commitd0522b10c5864c6cce63e1b71ddcf2a7076e444c (patch)
tree3ac150c282624b05b4f26c99f868689294d9dc7d /misc/susv2
parent4ed6f77d6c717f480543423edad116ae67edb14f (diff)
downloadports-d0522b10c5864c6cce63e1b71ddcf2a7076e444c.tar.gz
ports-d0522b10c5864c6cce63e1b71ddcf2a7076e444c.zip
STAGE and simplify do-install.
Notes
Notes: svn path=/head/; revision=366956
Diffstat (limited to 'misc/susv2')
-rw-r--r--misc/susv2/Makefile13
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>