freebsd-ports/java/sablevm-classpath/Makefile
Tobias C. Berner 526869d8dc java: remove 'Created by' lines
A big Thank You to the original contributors of these ports:

  *  Alex Dupre <ale@FreeBSD.org>
  *  Alex Semenyaka <alex@rinet.ru>
  *  Alexander Yerenkow <yerenkow@gmail.com>
  *  Anton Yudin (<contact@toha.org.ua>)
  *  Anton Yudin <toha@toha.org.ua>
  *  Benjamin Close <benjsc@FreeBSD.org>
  *  Björn König <bkoenig@alpha-tierchen.de>
  *  Conor McDermottroe <ports@mcdermottroe.com>
  *  Danilo Egea Gondolfo <danilo@FreeBSD.org
  *  Dave Glowacki <dglo@ssec.wisc.edu>
  *  Ernst de Haan <znerd@FreeBSD.org>
  *  Eugene Grosbein <ports@grosbein.net>
  *  Filippo Natali <filippo@widestore.net>
  *  Gerrit Beine <gerrit.beine@gmx.de>
  *  Greg Lewis <glewis@FreeBSD.org>
  *  Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
  *  Jason Helfman <jgh@FreeBSD.org>
  *  Jeremy <karlj000@unbc.ca>
  *  Johannes Dieterich <dieterich@ogolem.org>
  *  Johannes Dieterich <jmd@FreeBSD.org>
  *  Jonathan Chen <jonc@chen.org.nz>
  *  Jose Marques
  *  Jose Marques <noway@nohow.demon.co.uk>
  *  Lapo Luchini <lapo@lapo.it>
  *  Lev Serebryakov <lev@FreeBSD.org>
  *  Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
  *  Matthew Dillon <dillon@backplane.com>
  *  Maxim Sobolev <sobomax@FreeBSD.org>
  *  Mikhail T. <mi@aldan.algebra.com>
  *  Mikhail T. <michael@fun-box.ru>
  *  Mikhail Teterin
  *  Nicola Vitale <nivit@FreeBSD.org>
  *  Nicola Vitale <nivit@email.it>
  *  OISHI Masakuni <yamasa@bsdhouse.org>
  *  OKAZAKI Tetsurou
  *  Pedro Giffuni
  *  Simeo Reig <reig.simeo@gmail.com>
  *  Sutra Zhou <zhoushuqun@gmail.com>
  *  Tom Judge <tj@FreeBSD.org>
  *  Volker Stolz <vs@FreeBSD.org>
  *  Wen Heping <wenheping@gmail.com>
  *  Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
  *  gldisater@gldis.ca
  *  ijliao
  *  jake@checker.org
  *  jpbeconne
  *  lon_kamikaze@gmx.de
  *  mi
  *  nordwick@xcf.berkeley.edu
  *  nork@FreeBSD.org
  *  olgeni@FreeBSD.org
  *  rasputin
  *  rfarmer@predatorlabs.net
  *  rtdean@cytherianage.net
  *  tux@pinguru.net

With hat:	portmgr
2022-07-20 16:22:12 +02:00

65 lines
1.6 KiB
Makefile

PORTNAME= sablevm-classpath
PORTVERSION= 1.13
PORTREVISION= 12
CATEGORIES= java devel
MASTER_SITES= SF/sablevm/sablevm/${PORTVERSION}
MAINTAINER= java@FreeBSD.org
COMMENT= Classpath of SableVM
LICENSE= GPLv2
BROKEN_aarch64= Fails to configure: Endianess not declared
BROKEN_riscv64= Fails to configure: Endianess not declared
BUILD_DEPENDS= jikes:java/jikes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USES= gmake libtool pkgconfig xorg
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
USE_XORG= x11 ice xtst sm
PLIST_SUB+= PORTVERSION=${PORTVERSION}
CONFIGURE_ARGS= --disable-alsa --disable-dssi
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
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}
USES+= gnome
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: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>