1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00
freebsd-ports/java/sablevm-classpath/Makefile
Jung-uk Kim e2756cb835 - Reset maintainership. See ports/164941.
- Fix conflicts with java/classpath.  Note security provider configuration
is moved to ${PREFIX}/lib/security/SableVM.security.  This file is always
loaded first because the short vendor name is SableVM.  If it does not
exist, then classpath.security is loaded (java/security/Security.java).
- Reduce Makefile headers, add licenses, and convert to optionsNG.
2012-10-04 16:13:00 +00:00

65 lines
1.5 KiB
Makefile

# Created by: Björn König <bkoenig@alpha-tierchen.de>
# $FreeBSD$
PORTNAME= sablevm-classpath
PORTVERSION= 1.13
PORTREVISION= 10
CATEGORIES= java devel
MASTER_SITES= SF/sablevm/sablevm/${PORTVERSION}
MAINTAINER= java@FreeBSD.org
COMMENT= Classpath of SableVM
LICENSE= GPLv2
BUILD_DEPENDS= jikes:${PORTSDIR}/java/jikes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
USE_XORG= x11 ice xtst sm
WANT_GNOME= yes
PLIST_SUB+= PORTVERSION=${PORTVERSION}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+=--disable-alsa --disable-dssi
OPTIONS_DEFINE= CAIRO GTK2 ZIP
OPTIONS_DEFAULT=GTK2 ZIP
CAIRO_DESC= Use Cairo based Graphics2D
GTK2_DESC= Enable Gtk+ AWT peer
ZIP_DESC= Compress class library
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGTK2}
USE_GNOME+= gtk20
PLIST_SUB+= GTK2=""
.if ${PORT_OPTIONS:MCAIRO}
CONFIGURE_ARGS+= --enable-gtk-cairo
.endif
.else
CONFIGURE_ARGS+= --disable-gtk-peer
PLIST_SUB+= GTK2="@comment "
.if ${PORT_OPTIONS:MCAIRO}
IGNORE=you need to enable the Gtk+ AWT peer in order to use Cairo based Graphics2D.
.endif
.endif
.if ${PORT_OPTIONS:MZIP}
CONFIGURE_ARGS+= --with-compressed-classes=zip
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
PLIST_SUB+= WITHOUT_ZIP="@comment " WITH_ZIP=""
.else
CONFIGURE_ARGS+= --with-compressed-classes=no
PLIST_SUB+= WITHOUT_ZIP="" WITH_ZIP="@comment "
.endif
post-patch:
@${CP} -f ${WRKSRC}/resource/java/security/classpath.security \
${WRKSRC}/resource/java/security/SableVM.security
.include <bsd.port.mk>