aboutsummaryrefslogtreecommitdiff
path: root/misc/susv2
diff options
context:
space:
mode:
Diffstat (limited to 'misc/susv2')
-rw-r--r--misc/susv2/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/misc/susv2/Makefile b/misc/susv2/Makefile
index f527d716be85..076f18383923 100644
--- a/misc/susv2/Makefile
+++ b/misc/susv2/Makefile
@@ -18,8 +18,7 @@ RESTRICTED= "Redistribution of the documents is not permitted"
USE_BZIP2= yes
NO_BUILD= yes
-
-PLIST= ${WRKDIR}/pkg-plist
+PORTDOCS= *
.include <bsd.port.pre.mk>
@@ -29,16 +28,12 @@ IGNORE= "may not be redistributed because of licensing reasons. Please visit ht
do-install:
@${MKDIR} ${DOCSDIR}
- @> ${PLIST}
@${FIND} ${WRKSRC} | ${SED} -e 's#^${WRKSRC}##' | while read file; do \
if ${TEST} -d "${WRKSRC}$$file"; then \
${MKDIR} "${DOCSDIR}$$file"; \
- ${ECHO} "@dirrm ${DOCSDIR:S#^${PREFIX}/##}$$file" >> ${PLIST}; \
else \
${INSTALL_DATA} "${WRKSRC}$$file" "${DOCSDIR}$$file"; \
- ${ECHO} "${DOCSDIR:S#^${PREFIX}/##}$$file" >> ${PLIST}; \
fi; \
done
- @(${RM} -f ${PLIST}; ${SED} -ne '/^@/{G;h;};/^@/!p;$${g;p;}' > ${PLIST}) < ${PLIST}
.include <bsd.port.post.mk>