diff options
Diffstat (limited to 'java/eclipse/Makefile')
-rw-r--r-- | java/eclipse/Makefile | 38 |
1 files changed, 25 insertions, 13 deletions
diff --git a/java/eclipse/Makefile b/java/eclipse/Makefile index 76d0607..97cb5ff 100644 --- a/java/eclipse/Makefile +++ b/java/eclipse/Makefile @@ -1,37 +1,39 @@ # New ports collection makefile for: eclipse # Date created: March 7, 2003 +# Whom: various members of freebsd-java # # $FreeBSD$ # PORTNAME= eclipse -PORTVERSION= 3.0 -PORTREVISION= 1 +PORTVERSION= 3.0.1 +PORTREVISION= 0 CATEGORIES= java devel MASTER_SITES= ${MASTER_SITE_ECLIPSE} -MASTER_SITE_SUBDIR= R-${PORTVERSION}-200406251208 +MASTER_SITE_SUBDIR= R-${PORTVERSION}-200409161125 +DISTNAME= ${PORTNAME}-sourceBuild-srcIncluded-${PORTVERSION} +DIST_SUBDIR= eclipse MAINTAINER= java@FreeBSD.ORG COMMENT= An open extensible IDE for anything and nothing in particular -DISTNAME= ${PORTNAME}-sourceBuild-srcIncluded-${PORTVERSION} -DIST_SUBDIR= eclipse - -BUILD_DEPENDS= ant:${PORTSDIR}/devel/apache-ant +BUILD_DEPENDS= ant:${PORTSDIR}/devel/apache-ant \ + zip:${PORTSDIR}/archivers/zip ONLY_FOR_ARCHS= i386 USE_GMAKE= yes USE_ZIP= yes -USE_GCC= 3.3 +USE_GCC= 3.4 USE_JAVA= yes JAVA_VERSION= 1.4+ +JAVA_OS= native USE_REINPLACE= yes NO_WRKSUBDIR= yes -PLIST_SUB= BUILD=${ECLIPSE_BUILD} WS=${ECLIPSE_WS} +PLIST_SUB= BUILD=${ECLIPSE_BUILD} WS=${ECLIPSE_WS} RELEASEVERSION=${PORTVERSION} -ECLIPSE_BUILD= 3062 +ECLIPSE_BUILD= 3063 ECLIPSE_OS= freebsd ECLIPSE_ARCH= x86 @@ -43,9 +45,17 @@ PLIST_SUB+= GTK:="@comment " PLIST_SUB+= MOTIF:="" .else ECLIPSE_WS= gtk -BUILD_DEPENDS+= mozilla:${PORTSDIR}/www/mozilla PLIST_SUB+= GTK:="" PLIST_SUB+= MOTIF:="@comment " +.if defined(WITH_MOZILLA) && ${WITH_MOZILLA} == "firefox" +BUILD_DEPENDS+= firefox:${PORTSDIR}/www/firefox +BROWSER= firefox +BROWSER_VER= `ls /usr/X11R6/lib/firefox/include | sed -e "s/firefox-//"` +.else +BUILD_DEPENDS+= mozilla:${PORTSDIR}/www/mozilla +BROWSER= mozilla +BROWSER_VER= +.endif .endif .if defined(WITHOUT_GNOMEVFS) @@ -58,7 +68,9 @@ USE_GNOME= gtk20 gnomevfs2 libgnome libgnomeui pkgconfig PLIST_SUB+= GNOME:="" .endif -MAKE_ARGS= ECLIPSE_BUILD=${ECLIPSE_BUILD} \ +MAKE_ARGS= BROWSER=${BROWSER} \ + BROWSER_VER=${BROWSER_VER} \ + ECLIPSE_BUILD=${ECLIPSE_BUILD} \ ECLIPSE_ARCH=${ECLIPSE_ARCH} \ ECLIPSE_OS=${ECLIPSE_OS} \ ECLIPSE_WS=${ECLIPSE_WS} \ @@ -72,7 +84,7 @@ SCRIPTS_ENV= ECLIPSE_WS="${ECLIPSE_WS}" # The Motif version builds a KDE/Qt library if kdebase is around .if defined(WITH_MOTIF) BUILD_KDE=`${PKG_INFO} -xc kdebase | ${GREP} "no packages match"` -.if empty(${BUILD_KDE}) +.if empty(BUILD_KDE) PLIST_SUB+= KDE:="" .else PLIST_SUB+= KDE:="@comment *${BUILD_KDE}*" |