. Switch to using cpio to install in line with other JDKs. This allows

us to ensure ownership is correct on the installed files.
. Note that this is a Blackdown JDK in the registervm comment.

PR:		36411 (more ports to go)
Reviewed by:	znerd
Approved by:	znerd
This commit is contained in:
Greg Lewis
2003-04-17 05:16:53 +00:00
parent 9f93733a89
commit 58dc3a02c5

View File

@@ -33,10 +33,16 @@ NO_BUILD= YES
APP_HOME?= ${PREFIX}/${PKGBASE}${PORTVERSION}
PLIST_SUB+= T=${APP_HOME:S/^${PREFIX}\///}
CPIO?= /usr/bin/cpio
post-patch:
${FIND} ${WRKSRC} \( -name '*.orig' -o -name '.*.orig' \) -print \
| xargs ${RM} -f
do-install:
${MKDIR} ${APP_HOME}
(cd ${WRKSRC} && tar --exclude "*.orig" -c -f - .) \
| (cd ${APP_HOME} && tar fx -)
${LOCALBASE}/bin/registervm "${APP_HOME}/bin/java # Linux-JDK${PORTVERSION}"
cd ${WRKSRC} && ${FIND} . -print \
| ${CPIO} -pdmu -R ${LIBOWN}:${LIBGRP} ${APP_HOME}
${LOCALBASE}/bin/registervm "${APP_HOME}/bin/java # Linux-Blackdown-JDK${PORTVERSION}"
.include <bsd.port.mk>