summaryrefslogtreecommitdiffstats
path: root/java/jakarta-regexp
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2002-11-11 22:24:08 +0000
committerglewis <glewis@FreeBSD.org>2002-11-11 22:24:08 +0000
commit70451512bf722bae9c541d457f60c608cec25024 (patch)
tree5c28c038192cc13790c696db57bf9fa822e5a240 /java/jakarta-regexp
parent27f351f3cfea618386eed81fb17a1ff8b9e47810 (diff)
downloadFreeBSD-ports-70451512bf722bae9c541d457f60c608cec25024.zip
FreeBSD-ports-70451512bf722bae9c541d457f60c608cec25024.tar.gz
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)
Diffstat (limited to 'java/jakarta-regexp')
-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 86635d5..e713228 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
OpenPOWER on IntegriCloud