mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
d88db12376
o Fix build on 4-stable. [2] o Fix a problem expect using JDK1.4.2. [3] o Respect CC/CXX. [4] o Bump PORTREVISION Accordingly. Reported by: Jiawei Ye <leafy7382@gmail.com> [2] SUGIMURA Takashi <sugimura@jp.FreeBSD.org> [3] Jan-Peter Koopmann <Jan-Peter.Koopmann@seceidos.de> [4] Submitted by: Jeremy Faulkner <gldisater@gldis.ca> [1] [3] Fernan Aguero <fernan@iib.unsam.edu.ar> [2] Reviewed by: Panagiotis Astithas <past@ebs.gr> [1] [3] [4] Pointy hat to: myself [2]
83 lines
1.7 KiB
Makefile
83 lines
1.7 KiB
Makefile
# New ports collection makefile for: eclipse
|
|
# Date created: March 7, 2003
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= eclipse
|
|
PORTVERSION= 3.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= java devel
|
|
MASTER_SITES= ${MASTER_SITE_ECLIPSE}
|
|
MASTER_SITE_SUBDIR= R-${PORTVERSION}-200406251208
|
|
|
|
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
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
USE_GMAKE= yes
|
|
USE_ZIP= yes
|
|
USE_GCC= 3.3
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.4+
|
|
|
|
USE_REINPLACE= yes
|
|
NO_WRKSUBDIR= yes
|
|
PLIST_SUB= BUILD=${ECLIPSE_BUILD} WS=${ECLIPSE_WS}
|
|
|
|
ECLIPSE_BUILD= 3062
|
|
ECLIPSE_OS= freebsd
|
|
ECLIPSE_ARCH= x86
|
|
|
|
.if defined(WITH_MOTIF)
|
|
ECLIPSE_WS= motif
|
|
USE_ICONV= yes
|
|
USE_MOTIF= yes
|
|
PLIST_SUB+= GTK:="@comment "
|
|
PLIST_SUB+= MOTIF:=""
|
|
.else
|
|
ECLIPSE_WS= gtk
|
|
BUILD_DEPENDS+= mozilla:${PORTSDIR}/www/mozilla
|
|
PLIST_SUB+= GTK:=""
|
|
PLIST_SUB+= MOTIF:="@comment "
|
|
.endif
|
|
|
|
.if defined(WITHOUT_GNOMEVFS)
|
|
MAKE_GNOME=
|
|
USE_GNOME= gtk20 pkgconfig
|
|
PLIST_SUB+= GNOME:="@comment "
|
|
.else
|
|
MAKE_GNOME= make_gnome
|
|
USE_GNOME= gtk20 gnomevfs2 libgnome libgnomeui pkgconfig
|
|
PLIST_SUB+= GNOME:=""
|
|
.endif
|
|
|
|
MAKE_ARGS= ECLIPSE_BUILD=${ECLIPSE_BUILD} \
|
|
ECLIPSE_ARCH=${ECLIPSE_ARCH} \
|
|
ECLIPSE_OS=${ECLIPSE_OS} \
|
|
ECLIPSE_WS=${ECLIPSE_WS} \
|
|
JAVA_HOME=${JAVA_HOME} \
|
|
MAKE_GNOME=${MAKE_GNOME}
|
|
|
|
SCRIPTS_ENV= ECLIPSE_WS="${ECLIPSE_WS}"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
# 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})
|
|
PLIST_SUB+= KDE:=""
|
|
.else
|
|
PLIST_SUB+= KDE:="@comment *${BUILD_KDE}*"
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|