aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-03-24 03:39:41 +0800
committerpav <pav@FreeBSD.org>2007-03-24 03:39:41 +0800
commitf3a912b92d7d132b1f382aa3d2c2db4e49b35aff (patch)
treee15a1767f1f7903b49f42c3e0172581e91a610cb /java
parenta2ee45b4c1ea09dfc1377f215ed4ba01ae2f508d (diff)
downloadfreebsd-ports-gnome-f3a912b92d7d132b1f382aa3d2c2db4e49b35aff.tar.gz
freebsd-ports-gnome-f3a912b92d7d132b1f382aa3d2c2db4e49b35aff.tar.zst
freebsd-ports-gnome-f3a912b92d7d132b1f382aa3d2c2db4e49b35aff.zip
- Correct OPTIONS handling
Diffstat (limited to 'java')
-rw-r--r--java/diablo-jdk15/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/java/diablo-jdk15/Makefile b/java/diablo-jdk15/Makefile
index 1188f6cc4767..b1aeba239d87 100644
--- a/java/diablo-jdk15/Makefile
+++ b/java/diablo-jdk15/Makefile
@@ -53,7 +53,7 @@ JDK_OSREL=freebsd5
IGNORE= Only available for FreeBSD 5.x/i386 and FreeBSD 6.x/amd64 and later
.endif
-.if defined(WITH_TZUPDATE)
+.if !defined(WITHOUT_TZUPDATE)
EXTRACT_DEPENDS+= unzip:${PORTSDIR}/archivers/unzip
TZUPDATE_VERSION= 1.1.0
TZUPDATE_TZVERSION= 2007c
@@ -75,7 +75,7 @@ PLIST_SUB+= WEB="@comment "
PLIST_SUB+= CLIENTVM="@comment "
.endif
-.if (!exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) || (defined(WITH_TZUPDATE) && !exists(${DISTDIR}/${TZUPDATEFILE}))) && !defined(PACKAGE_BUILDING) && defined(JDK_OSREL)
+.if (!exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) || (!defined(WITHOUT_TZUPDATE) && !exists(${DISTDIR}/${TZUPDATEFILE}))) && !defined(PACKAGE_BUILDING) && defined(JDK_OSREL)
ECHO_MSG=/usr/bin/printf
IGNORE= :\n\
Because of licensing restrictions, you must fetch the distribution\n\
@@ -89,7 +89,7 @@ with a web browser and \"Accept\" the End User License Agreement for\n\
\"Caffe Diablo ${JDK_VERSION}\". Please place the downloaded\n\
${DISTNAME}${EXTRACT_SUFX} in ${DISTDIR}.\n\n
.endif
-.if defined(WITH_TZUPDATE) && !exists(${DISTDIR}/${TZUPDATEFILE})
+.if !defined(WITHOUT_TZUPDATE) && !exists(${DISTDIR}/${TZUPDATEFILE})
IGNORE += Please open http://java.sun.com/javase/downloads/index.jsp\n\
in a web browser and follow the \"Download\" link for\n\
\"JDK US DST Timezone Update Tool - ${TZUPDATE_VERSION}\" to obtain the\n\
@@ -98,7 +98,7 @@ time zone update file, ${TZUPDATEFILE}.\n\n
.endif
-.if defined(WITH_TZUPDATE)
+.if !defined(WITHOUT_TZUPDATE)
post-extract:
@${UNZIP_CMD} -qo ${DISTDIR}/${TZUPDATEFILE} -d ${WRKDIR}
@# Update time zones