2004-09-01 10:37:04 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: classpath
|
|
|
|
# Date created: Sep 1, 2004
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= classpath
|
2009-01-16 08:20:40 +01:00
|
|
|
PORTVERSION= 0.97.2
|
2010-03-28 08:47:48 +02:00
|
|
|
PORTREVISION= 4
|
2006-05-14 03:13:38 +02:00
|
|
|
CATEGORIES= java devel
|
2006-11-15 19:05:33 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU} \
|
|
|
|
${MASTER_SITE_SAVANNAH}
|
2004-09-01 10:37:04 +02:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2008-04-04 14:09:45 +02:00
|
|
|
MAINTAINER= bkoenig@alpha-tierchen.de
|
2005-03-21 03:27:48 +01:00
|
|
|
COMMENT= A GNU project to create a free Java class library
|
2004-09-01 10:37:04 +02:00
|
|
|
|
2009-01-16 08:20:40 +01:00
|
|
|
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
|
2004-10-25 15:56:34 +02:00
|
|
|
|
2009-01-16 08:20:40 +01:00
|
|
|
USE_JAVA= yes
|
|
|
|
JAVA_VERSION= 1.5+
|
2008-04-20 15:18:46 +02:00
|
|
|
USE_XORG= x11 ice xtst xaw xproto xext
|
2006-11-25 15:45:15 +01:00
|
|
|
USE_LDCONFIG= yes
|
2008-04-04 14:09:45 +02:00
|
|
|
USE_GNOME= gnometarget
|
2004-09-01 10:37:04 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2008-04-04 14:09:45 +02:00
|
|
|
CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include"
|
2009-01-16 08:20:40 +01:00
|
|
|
CONFIGURE_ARGS= --enable-jni --disable-alsa --disable-dssi --disable-plugin
|
2004-09-01 10:37:04 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
|
2009-01-16 08:20:40 +01:00
|
|
|
MAN1= gappletviewer.1 \
|
|
|
|
gjar.1 \
|
|
|
|
gjarsigner.1 \
|
|
|
|
gjavah.1 \
|
|
|
|
gcjh.1 \
|
|
|
|
gkeytool.1 \
|
|
|
|
gnative2ascii.1 \
|
|
|
|
gorbd.1 \
|
|
|
|
grmid.1 \
|
|
|
|
grmiregistry.1 \
|
|
|
|
gserialver.1 \
|
|
|
|
gtnameserv.1
|
|
|
|
|
|
|
|
INFO= cp-hacking cp-tools cp-vmintegration
|
2004-09-01 10:37:04 +02:00
|
|
|
|
2007-12-15 19:32:33 +01:00
|
|
|
CONFLICTS= sablevm-classpath-*
|
|
|
|
|
2008-04-04 14:09:45 +02:00
|
|
|
OPTIONS= GCONF "Use GConf based preferences backend" OFF \
|
|
|
|
GTK2 "Enable Gtk+ AWT peer" ON \
|
|
|
|
CAIRO "Use Gtk+ Cairo based Graphics2D" OFF \
|
|
|
|
QT4 "Enable Qt AWT peer" OFF
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_GCONF)
|
|
|
|
USE_GNOME+= gconf2
|
|
|
|
CONFIGURE_ARGS+= --enable-default-preferences-peer=gconf
|
|
|
|
PLIST_SUB+= GCONF=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --enable-default-preferences-peer=file --disable-gconf-peer
|
|
|
|
PLIST_SUB+= GCONF="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITHOUT_GTK2)
|
|
|
|
CONFIGURE_ARGS+= --disable-gtk-peer
|
|
|
|
PLIST_SUB+= GTK2="@comment "
|
|
|
|
.if defined(WITH_CAIRO)
|
|
|
|
IGNORE=you need to enable the Gtk+ AWT peer in order to use Cairo based Graphics2D.
|
|
|
|
.endif
|
|
|
|
.else
|
|
|
|
USE_GNOME+= gtk20
|
|
|
|
PLIST_SUB+= GTK2=""
|
|
|
|
.if defined(WITH_CAIRO)
|
|
|
|
CONFIGURE_ARGS+= --enable-gtk-cairo
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_QT4)
|
|
|
|
CONFIGURE_ARGS+= --enable-qt-peer
|
|
|
|
.if defined(WITHOUT_GTK2)
|
|
|
|
CONFIGURE_ARGS+= --enable-default-toolkit=gnu.java.awt.peer.qt.QtToolkit
|
|
|
|
.endif
|
|
|
|
CONFIGURE_ENV+= MOC="${LOCALBASE}/bin/moc-qt4"
|
|
|
|
USE_QT_VER= 4
|
|
|
|
QT_COMPONENTS= moc_build corelib gui
|
|
|
|
PLIST_SUB+= QT4=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= QT4="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|