blob: 247b7cb6a5cc4e810d956b035eebe183b3568210 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
PORTNAME= sablevm-classpath
PORTVERSION= 1.13
PORTREVISION= 13
CATEGORIES= java devel
MASTER_SITES= SF/sablevm/sablevm/${PORTVERSION}
MAINTAINER= java@FreeBSD.org
COMMENT= Classpath of SableVM
WWW= http://www.sablevm.org/
LICENSE= GPLv2
BROKEN_aarch64= Fails to configure: Endianess not declared
BROKEN_riscv64= Fails to configure: Endianess not declared
BUILD_DEPENDS= jikes:java/jikes
USES= gmake libtool localbase pkgconfig xorg
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
USE_XORG= x11 ice xtst sm
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-alsa --disable-dssi
INSTALL_TARGET= install-strip
PLIST_SUB+= PORTVERSION=${PORTVERSION}
OPTIONS_DEFINE= CAIRO GTK2 ZIP
OPTIONS_DEFAULT=GTK2 ZIP
OPTIONS_SUB= yes
CAIRO_DESC= Use Cairo based Graphics2D
GTK2_DESC= Enable Gtk+ AWT peer
ZIP_DESC= Compress class library
CAIRO_IMPLIES= GTK2
CAIRO_CONFIGURE_ON= --enable-gtk-cairo
GTK2_USES= gnome
GTK2_USE= GNOME=gtk20
GTK2_CONFIGURE_OFF= --disable-gtk-peer
ZIP_BUILD_DEPENDS= zip:archivers/zip
ZIP_CONFIGURE_ON= --with-compressed-classes=zip
ZIP_CONFIGURE_OFF= --with-compressed-classes=no
ZIP_PLIST_SUB= WITHOUT_ZIP="@comment " WITH_ZIP=""
ZIP_PLIST_SUB_OFF= WITHOUT_ZIP="" WITH_ZIP="@comment "
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
post-patch:
@${CP} -f ${WRKSRC}/resource/java/security/classpath.security \
${WRKSRC}/resource/java/security/SableVM.security
.include <bsd.port.mk>
|