diff options
author | Ernst de Haan <znerd@FreeBSD.org> | 2004-03-26 07:14:09 +0000 |
---|---|---|
committer | Ernst de Haan <znerd@FreeBSD.org> | 2004-03-26 07:14:09 +0000 |
commit | 82da586667a6c1e4f4eb6ea6a94cfc4182e50615 (patch) | |
tree | 46e84f0ca2a48b163deff290914c12cb58206d66 /java/jdk14-doc | |
parent | b0e7c57a2bd82b813b92c1d37696a6f35f8cd13e (diff) | |
download | ports-82da586667a6c1e4f4eb6ea6a94cfc4182e50615.tar.gz ports-82da586667a6c1e4f4eb6ea6a94cfc4182e50615.zip |
Notes
Diffstat (limited to 'java/jdk14-doc')
-rw-r--r-- | java/jdk14-doc/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/java/jdk14-doc/Makefile b/java/jdk14-doc/Makefile index d81843bae7aa..13b7ba9fd542 100644 --- a/java/jdk14-doc/Makefile +++ b/java/jdk14-doc/Makefile @@ -36,12 +36,6 @@ USE_ZIP= yes IGNORE=You must manually fetch ${DISTNAME}${EXTRACT_SUFX} from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again .endif -pre-install: - @${ECHO_CMD} -n ">> Removing ${PLIST}..." - @${RM} -f ${PLIST} - @${TOUCH} ${PLIST} - @${ECHO_CMD} " [ DONE ]" - do-install: @${ECHO_CMD} -n ">> Creating directory ${TARGET_DIR}..." @${MKDIR} ${TARGET_DIR} @@ -51,11 +45,15 @@ do-install: @${CP} -r ${WRKSRC}/* ${TARGET_DIR} @${ECHO_CMD} " [ DONE ]" +post-extract: @${ECHO_CMD} -n ">> Creating packing list..." - @${FIND} ${TARGET_DIR} -type f -print | \ - ${SED} "s,${PREFIX}/*,," >> ${PLIST} - @${FIND} ${TARGET_DIR} -type d -print | ${SORT} -r | \ - ${SED} -e "s,${PREFIX}/*,," -e "s,^,@dirrm ,g" >> ${PLIST} + @${ECHO_CMD} "@cwd ${TARGET_DIR}" > ${PLIST} + @${FIND} ${WRKSRC} -type f -print | \ + ${SED} -e "s,${WRKSRC}/*,," >> ${PLIST} + @${FIND} ${WRKSRC} -type d -print | ${SORT} -r | \ + ${SED} -e "s,${WRKSRC}/*,," -e "/^$$/d" -e "s,^,@dirrm ," >> ${PLIST} + @${ECHO_CMD} "@cwd /" >> ${PLIST} + @${ECHO_CMD} "@dirrm ${TARGET_DIR}" >> ${PLIST} @${ECHO_CMD} " [ DONE ]" .include <bsd.port.post.mk> |