diff options
author | Greg Lewis <glewis@FreeBSD.org> | 2007-08-23 14:54:54 +0000 |
---|---|---|
committer | Greg Lewis <glewis@FreeBSD.org> | 2007-08-23 14:54:54 +0000 |
commit | eff6b6a07acd96b3431d0aecacf1fa9d5559a6e5 (patch) | |
tree | f02f828a4c56aa60646806b2a285b5697f554208 /java/jdk16 | |
parent | e01825b6ff4cf5db7cffe94d39484bea104c2e92 (diff) | |
download | ports-eff6b6a07acd96b3431d0aecacf1fa9d5559a6e5.tar.gz ports-eff6b6a07acd96b3431d0aecacf1fa9d5559a6e5.zip |
Notes
Diffstat (limited to 'java/jdk16')
-rw-r--r-- | java/jdk16/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/java/jdk16/Makefile b/java/jdk16/Makefile index 978bf48cbad1..d57d08b39d87 100644 --- a/java/jdk16/Makefile +++ b/java/jdk16/Makefile @@ -116,9 +116,7 @@ BOOTSTRAPJDKDIR?= ${LOCALBASE}/diablo-jdk1.5.0 BUILD_DEPENDS+= ${BOOTSTRAPJDKDIR}/bin/javac:${PORTSDIR}/java/diablo-jdk15 -.if defined(WITHOUT_WEB) -MAKE_ENV+= DONT_BUILD_DEPLOY="YES" -.else +.if !defined(WITHOUT_WEB) USE_GNOME= desktopfileutils .endif @@ -161,11 +159,11 @@ MAKE_ENV+= ALT_PARALLEL_BUILD_JOBS="${PARALLEL_BUILD_JOBS}" ALL_TARGET= all PLIST_FILES= jdk${JDK_VERSION}/jre/.systemPrefs/.system.lock \ - jdk${JDK_VERSION}/jre/.systemPrefs/.systemRootModFile \ - share/applications/sun-java16.desktop \ - share/applications/sun-javaws16.desktop + jdk${JDK_VERSION}/jre/.systemPrefs/.systemRootModFile .if !defined(WITHOUT_WEB) -PLIST_FILES+= share/applications/sun-jcontrol16.desktop +PLIST_FILES+= share/applications/sun-java16.desktop \ + share/applications/sun-javaws16.desktop \ + share/applications/sun-jcontrol16.desktop .endif PLIST_DIRS= jdk${JDK_VERSION}/jre/.systemPrefs @@ -311,6 +309,9 @@ post-patch: -e "s:%%JDK_VERSION%%:${JDK_VERSION}:g" \ ${WRKSRC}/$${file}; \ done +.if defined(WITHOUT_WEB) + @${RM} ${WRKDIR}/deploy/make/Makefile +.endif .if defined(WITH_LINUX_BOOTSTRAP) pre-build: @@ -370,12 +371,12 @@ do-install: ${MKDIR} ${PREFIX}/jdk${JDK_VERSION} cd ${JDKIMAGEDIR} && ${FIND} . \ | ${CPIO} -pdmu -R ${LIBOWN}:${LIBGRP} ${PREFIX}/jdk${JDK_VERSION} +.if !defined(WITHOUT_WEB) ${MKDIR} ${PREFIX}/share/applications ${INSTALL_DATA} ${JDKIMAGEDIR}/jre/lib/desktop/applications/sun-java.desktop \ ${PREFIX}/share/applications/sun-java16.desktop ${INSTALL_DATA} ${JDKIMAGEDIR}/jre/lib/desktop/applications/sun-javaws.desktop \ ${PREFIX}/share/applications/sun-javaws16.desktop -.if !defined(WITHOUT_WEB) ${INSTALL_DATA} ${JDKIMAGEDIR}/jre/lib/desktop/applications/sun_java.desktop \ ${PREFIX}/share/applications/sun-jcontrol16.desktop .endif |