summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2002-11-11 22:24:08 +0000
committerGreg Lewis <glewis@FreeBSD.org>2002-11-11 22:24:08 +0000
commit31b480111b98034bcdb4db954f52646f89aef968 (patch)
tree00f68fef97ebf180341788f216b356a889e8011a /java
parentFor whatever reason I left out DOCSDIR creation before importing the port :( (diff)
Fix user and group ownership of the installed files when they have been
built by someone other than root. After the files have been moved run ${CHOWN} on them recursively. PR: 36411 (still more ports to go) Approved by: Dave Glowacki <dglo@ssec.wisc.edu> (maintainer)
Notes
Notes: svn path=/head/; revision=69929
Diffstat (limited to 'java')
-rw-r--r--java/jakarta-regexp/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/jakarta-regexp/Makefile b/java/jakarta-regexp/Makefile
index 86635d538eba..e71322808f6c 100644
--- a/java/jakarta-regexp/Makefile
+++ b/java/jakarta-regexp/Makefile
@@ -29,6 +29,7 @@ post-install:
@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
@(cd ${WRKSRC}/docs/api && ${TAR} -c -f - .) \
| (cd ${PREFIX}/share/doc/${PORTNAME} && ${TAR} --unlink -x -f -)
+ @${CHOWN} -h -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/doc/${PORTNAME}
@(cd ${PREFIX} \
&& find share/doc/${PORTNAME} -type f -print >> ${TMPPLIST})
.endif