Date: Tue, 30 Dec 2003 11:15:35 +0200 (EET) From: Anton Yudin <toha@toha.org.ua> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/60722: java/jdk14-doc: empty PLIST Message-ID: <200312300915.hBU9FZsu054601@ib.com.ua> Resent-Message-ID: <200312300920.hBU9KGsP019866@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 60722 >Category: ports >Synopsis: java/jdk14-doc: empty PLIST >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Dec 30 01:20:16 PST 2003 >Closed-Date: >Last-Modified: >Originator: Anton Yudin >Release: FreeBSD 4.9-STABLE i386 >Organization: >Environment: System: FreeBSD .ua 4.9-STABLE FreeBSD 4.9-STABLE #0: Sat Dec 20 15:57:03 EET 2003 root@.ua:/obj/usr/src/sys/ i386 >Description: Empty PLIST in java/jdk14-doc >How-To-Repeat: >Fix: Simplify work with PLIST. diff -ruN java/jdk14-doc.bak/Makefile java/jdk14-doc/Makefile --- java/jdk14-doc.bak/Makefile Tue Dec 30 11:06:01 2003 +++ java/jdk14-doc/Makefile Tue Dec 30 11:08:05 2003 @@ -17,7 +17,7 @@ NO_CDROM= "License does not allow distribution with fee." RESTRICTED= "This documentation is under license and export control." -TARGET_DIR?= ${PREFIX}/share/doc/jdk${JDK_MAJOR_VER} +DOCSDIR= ${PREFIX}/share/doc/jdk${JDK_MAJOR_VER} WRKSRC= ${WRKDIR}/docs JDK_VERSION= 1.4.2 @@ -26,35 +26,24 @@ DOWNLOAD_URL= http://java.sun.com/webapps/download/Display?BundleId=${BUNDLE_ID} NO_BUILD= yes -PLIST= ${WRKDIR}/PLIST USE_ZIP= yes +PORTDOCS= * + + .include <bsd.port.pre.mk> .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) 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} + @${ECHO_CMD} -n ">> Creating directory ${DOCSDIR}..." + @${MKDIR} ${DOCSDIR} @${ECHO_CMD} " [ DONE ]" @${ECHO_CMD} -n ">> Copying files..." - @${CP} -r ${WRKSRC}/* ${TARGET_DIR} - @${ECHO_CMD} " [ DONE ]" - - @${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} + @${CP} -r ${WRKSRC}/* ${DOCSDIR} @${ECHO_CMD} " [ DONE ]" .include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312300915.hBU9FZsu054601>