aboutsummaryrefslogtreecommitdiff
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
parent4ed6f77d6c717f480543423edad116ae67edb14f (diff)
downloadports-d0522b10c5864c6cce63e1b71ddcf2a7076e444c.tar.gz
ports-d0522b10c5864c6cce63e1b71ddcf2a7076e444c.zip
Notes
-rw-r--r--misc/susv2/Makefile13
-rw-r--r--misc/susv3/Makefile18
2 files changed, 6 insertions, 25 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>
diff --git a/misc/susv3/Makefile b/misc/susv3/Makefile
index 9f84d48f06fb..5c499d0a702c 100644
--- a/misc/susv3/Makefile
+++ b/misc/susv3/Makefile
@@ -12,11 +12,10 @@ COMMENT= Single UNIX Specification Version 3
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,18 +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 \
- if ${TEST} -L "${WRKSRC}$$file"; then \
- ${LN} -s "`${LS} -l \"${WRKSRC}$$file\" | ${SED} -e 's/^.*> //'`" \
- "${DOCSDIR}$$file"; \
- else \
- ${INSTALL_DATA} "${WRKSRC}$$file" "${DOCSDIR}$$file"; \
- fi; \
- fi; \
- done
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>