aboutsummaryrefslogtreecommitdiff
path: root/misc/susv3
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2006-01-14 10:07:33 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2006-01-14 10:07:33 +0000
commitf5b7d224de201235a481ab5295e17fb656c6c097 (patch)
tree54ba4c606c57b9bfc0febf4b5209a5f5ca40e957 /misc/susv3
parentb7c66e1b6aaeb910baf1366607adf436ffa0e84d (diff)
downloadports-f5b7d224de201235a481ab5295e17fb656c6c097.tar.gz
ports-f5b7d224de201235a481ab5295e17fb656c6c097.zip
- Use PORTDOCS=* instead of a wrong generated PLIST
Proposed by: skv
Notes
Notes: svn path=/head/; revision=153445
Diffstat (limited to 'misc/susv3')
-rw-r--r--misc/susv3/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/misc/susv3/Makefile b/misc/susv3/Makefile
index 8d537c044ddd..5e91bdf70ed0 100644
--- a/misc/susv3/Makefile
+++ b/misc/susv3/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,11 +28,9 @@ 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 \
if ${TEST} -L "${WRKSRC}$$file"; then \
${LN} -s "`${LS} -l \"${WRKSRC}$$file\" | ${SED} -e 's/^.*> //'`" \
@@ -41,9 +38,7 @@ do-install:
else \
${INSTALL_DATA} "${WRKSRC}$$file" "${DOCSDIR}$$file"; \
fi; \
- ${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>