. Clean up all the .orig files from patching and do it in post-patch rather

than do-install.  This fixes the packing list.
This commit is contained in:
Greg Lewis 2004-09-01 02:46:00 +00:00
parent 5fca0b0461
commit 764d167d8d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117780

View file

@ -35,8 +35,10 @@ LIB_DEPENDS+= c.3:${PORTSDIR}/misc/compat3x
DISTFILES= jdk${JDK_VERSION}_ELF.V1999-11-9.tar.gz
.endif
post-patch:
${FIND} ${WRKSRC} -name '*.orig' -delete
do-install:
@${RM} -f ${WRKSRC}/include/freebsd/typedefs_md.h.orig
${MKDIR} ${PREFIX}/jdk${JDK_VERSION}
cd ${WRKSRC} && ${FIND} . \
| ${CPIO} -pdmu -R ${LIBOWN}:${LIBGRP} ${PREFIX}/jdk${JDK_VERSION}