aboutsummaryrefslogtreecommitdiffstats
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
parentf8487b1c5e0c0105df6cb1223da9c214cac00cfa (diff)
downloadfreebsd-ports-gnome-92f84f5fba4e251cfa0f4f12c99481e617eed19b.tar.gz
freebsd-ports-gnome-92f84f5fba4e251cfa0f4f12c99481e617eed19b.tar.zst
freebsd-ports-gnome-92f84f5fba4e251cfa0f4f12c99481e617eed19b.zip
Unbreak plist generation
-rw-r--r--java/jdk14/Makefile13
-rw-r--r--java/jdk15/Makefile13
-rw-r--r--java/jdk16/Makefile13
3 files changed, 15 insertions, 24 deletions
diff --git a/java/jdk14/Makefile b/java/jdk14/Makefile
index 5ddbbb11273c..211a22df6661 100644
--- a/java/jdk14/Makefile
+++ b/java/jdk14/Makefile
@@ -28,7 +28,6 @@ RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper
RUN_DEPENDS+= ${X11BASE}/lib/X11/fonts/URW/fonts.dir:${PORTSDIR}/x11-fonts/urwfonts
.endif
-PLIST= ${WRKDIR}/pkg-plist
PKGINSTALL= ${WRKDIR}/pkg-install
WRKSRC= ${WRKDIR}/control/make
@@ -291,18 +290,16 @@ 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_G}#jdk${JDK_VERSION}#p' >> ${PLIST}
+ ${SED} -ne 's#${JDKIMAGEDIR_G}#jdk${JDK_VERSION}#p' >> ${TMPPLIST}
.endif
${INSTALL_DATA} ${FILESDIR}/cacerts \
${PREFIX}/jdk${JDK_VERSION}/jre/lib/security/cacerts
@@ -311,9 +308,9 @@ do-install:
${PREFIX}/jdk${JDK_VERSION}/jre/javaws/cacerts
.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}
post-install:
.if !defined(MINIMAL)
diff --git a/java/jdk15/Makefile b/java/jdk15/Makefile
index 5c2d7174c57d..f1d2f1ce3db8 100644
--- a/java/jdk15/Makefile
+++ b/java/jdk15/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:
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: