aboutsummaryrefslogtreecommitdiffstats
path: root/java/jdk16
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>2005-01-29 20:19:15 +0800
committerphantom <phantom@FreeBSD.org>2005-01-29 20:19:15 +0800
commit92f84f5fba4e251cfa0f4f12c99481e617eed19b (patch)
tree4088078735874ae7c607e1b5638386b848350f02 /java/jdk16
parentf8487b1c5e0c0105df6cb1223da9c214cac00cfa (diff)
downloadfreebsd-ports-gnome-92f84f5fba4e251cfa0f4f12c99481e617eed19b.tar.gz
freebsd-ports-gnome-92f84f5fba4e251cfa0f4f12c99481e617eed19b.tar.zst
freebsd-ports-gnome-92f84f5fba4e251cfa0f4f12c99481e617eed19b.zip
Unbreak plist generation
Diffstat (limited to 'java/jdk16')
-rw-r--r--java/jdk16/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/java/jdk16/Makefile b/java/jdk16/Makefile
index 5c2d7174c57d..f1d2f1ce3db8 100644
--- a/java/jdk16/Makefile
+++ b/java/jdk16/Makefile
@@ -25,7 +25,6 @@ BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 \
${X11BASE}/lib/libXm.so:${PORTSDIR}/x11-toolkits/open-motif
RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper
-PLIST= ${WRKDIR}/pkg-plist
PKGINSTALL= ${WRKDIR}/pkg-install
WRKSRC= ${WRKDIR}/control/make
@@ -256,23 +255,21 @@ pre-install:
.endif
do-install:
- ${RM} -f ${PLIST}
- ${TOUCH} ${PLIST}
${MKDIR} ${PREFIX}/jdk${JDK_VERSION}
cd ${JDKIMAGEDIR} && ${FIND} . \
| ${CPIO} -pdmu -R ${LIBOWN}:${LIBGRP} ${PREFIX}/jdk${JDK_VERSION}
@${FIND} -s ${JDKIMAGEDIR} -not -type d | \
- ${SED} -ne 's#^${JDKIMAGEDIR}#jdk${JDK_VERSION}#p' >> ${PLIST}
+ ${SED} -ne 's#^${JDKIMAGEDIR}#jdk${JDK_VERSION}#p' >> ${TMPPLIST}
.if defined(WITH_DEBUG)
cd ${JDKIMAGEDIR_G} && ${FIND} . \
| ${CPIO} -pdmu -R ${LIBOWN}:${LIBGRP} ${PREFIX}/jdk${JDK_VERSION}
@${FIND} -s ${JDKIMAGEDIR_G} -not -type d | \
- ${SED} -ne 's#^${JDKIMAGEDIR}#jdk${JDK_VERSION}#p' >> ${PLIST}
+ ${SED} -ne 's#^${JDKIMAGEDIR}#jdk${JDK_VERSION}#p' >> ${TMPPLIST}
.endif
@${FIND} -s -d ${PREFIX}/jdk${JDK_VERSION} -type d | \
- ${SED} -ne 's#^${PREFIX}/#@dirrm #p' >> ${PLIST}
- @${ECHO_MSG} "@exec ${LOCALBASE}/bin/registervm ${PREFIX}/jdk${JDK_VERSION}/bin/java # FREEBSD-JDK${JDK_VERSION}" >> ${PLIST}
- @${ECHO_MSG} "@unexec ${LOCALBASE}/bin/unregistervm ${PREFIX}/jdk${JDK_VERSION}/bin/java" >> ${PLIST}
+ ${SED} -ne 's#^${PREFIX}/#@dirrm #p' >> ${TMPPLIST}
+ @${ECHO_MSG} "@exec ${LOCALBASE}/bin/registervm ${PREFIX}/jdk${JDK_VERSION}/bin/java # FREEBSD-JDK${JDK_VERSION}" >> ${TMPPLIST}
+ @${ECHO_MSG} "@unexec ${LOCALBASE}/bin/unregistervm ${PREFIX}/jdk${JDK_VERSION}/bin/java" >> ${TMPPLIST}
# XXX: put unregistervm into install script ?
post-install: