diff options
author | glewis <glewis@FreeBSD.org> | 2003-04-30 23:45:09 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2003-04-30 23:45:09 +0800 |
commit | dc3a1718f776a542301c3b37d430fc8ad0133f18 (patch) | |
tree | 84ac1a83d23fe8cf892cc4b6b14ccd17fc898ba5 /java | |
parent | 8215f65c0d8489754cc42f080f67dbe513d9c777 (diff) | |
download | freebsd-ports-gnome-dc3a1718f776a542301c3b37d430fc8ad0133f18.tar.gz freebsd-ports-gnome-dc3a1718f776a542301c3b37d430fc8ad0133f18.tar.zst freebsd-ports-gnome-dc3a1718f776a542301c3b37d430fc8ad0133f18.zip |
. Address ownership issues during the installation step.
PR: 36411
Approved by: maintainer timeout
Diffstat (limited to 'java')
-rw-r--r-- | java/jce-aba/Makefile | 5 | ||||
-rw-r--r-- | java/jsdk/Makefile | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/java/jce-aba/Makefile b/java/jce-aba/Makefile index 58676478e1fd..1ef7f325c8f2 100644 --- a/java/jce-aba/Makefile +++ b/java/jce-aba/Makefile @@ -20,9 +20,12 @@ USE_JAVA= 1.1+ NO_BUILD= yes JDKVERSION= 1.1 +CPIO?= /usr/bin/cpio + do-install: ${INSTALL_DATA} ${WRKSRC}/lib-${JDKVERSION}/jce.zip ${PREFIX}/share/java/classes/ ${MKDIR} ${PREFIX}/share/java/jce-aba - (cd ${WRKSRC}/docs-${JDKVERSION}; tar cf - .) | (cd ${PREFIX}/share/java/jce-aba ; tar xvf -) + cd ${WRKSRC}/docs-${JDKVERSION} && ${FIND} . \ + | ${CPIO} -pdmu -R ${DOCOWN}:${DOCGRP} ${PREFIX}/share/java/jce-aba .include <bsd.port.mk> diff --git a/java/jsdk/Makefile b/java/jsdk/Makefile index 4afb06e24b82..063c55567ebe 100644 --- a/java/jsdk/Makefile +++ b/java/jsdk/Makefile @@ -48,5 +48,6 @@ do-install: @${INSTALL_DATA} ${WRKSRC}/lib/jsdk.jar ${PREFIX}/share/java/classes @cd ${WRKSRC}; \ ${CP} -R [Rde]* ${PREFIX}/share/java/jsdk20 + @${CHOWN} -h -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/java/jsdk20 .include <bsd.port.mk> |