openbsd-ports/lang/kaffe/Makefile

75 lines
1.9 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.48 2010/10/25 08:04:33 jasper Exp $
2006-04-10 21:09:44 -04:00
ONLY_FOR_ARCHS= amd64 i386 powerpc
2006-04-10 21:09:44 -04:00
COMMENT-main= kaffe.org's Java JDK1.4 compiler, runtime and libs
2006-04-10 21:09:44 -04:00
DISTNAME= kaffe-1.1.7
2010-10-11 04:11:24 -04:00
REVISION-main= 10
2006-01-10 00:29:12 -05:00
CATEGORIES= lang
2006-04-10 21:09:44 -04:00
.for _lib in gtkpeer javaio javalang javanet javanio jawtgnu \
kaffevm management math security tritonusesd zip
SHARED_LIBS+= ${_lib} 2.0
2006-04-10 21:09:44 -04:00
.endfor
2006-04-10 21:09:44 -04:00
MASTER_SITES= ftp://ftp.kaffe.org/pub/kaffe/v1.1.x-development/
HOMEPAGE= http://www.kaffe.org/
2000-03-16 21:07:28 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2006-04-10 21:09:44 -04:00
MODULES= devel/gettext
2010-09-25 14:25:35 -04:00
# libtool needs to support -dlopen option
2010-04-26 16:09:18 -04:00
USE_LIBTOOL= gnu
2006-11-13 06:20:24 -05:00
USE_GMAKE= Yes
2010-10-18 15:20:41 -04:00
USE_GROFF = Yes
2006-04-10 21:09:44 -04:00
BUILD_DEPENDS= ::archivers/zip \
2006-12-16 07:22:32 -05:00
:jikes->=1.22p0:lang/jikes
2010-10-24 16:58:58 -04:00
LIB_DEPENDS= ::x11/gtk+2 \
::devel/gmp \
::devel/libaudiofile \
::audio/esound \
::devel/libtool,-ltdl
RUN_DEPENDS= ::archivers/zip \
:jikes->=1.22p0:lang/jikes
2006-04-10 21:09:44 -04:00
2009-03-08 19:05:12 -04:00
WANTLIB += ICE SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext
WANTLIB += Xfixes Xi Xinerama Xrandr Xrender Xtst atk-1.0 c cairo
2010-10-11 04:11:24 -04:00
WANTLIB += expat fontconfig freetype gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 gthread-2.0 m pango-1.0 pangocairo-1.0 gdk_pixbuf-2.0
WANTLIB += pangoft2-1.0 pcre pixman-1 png pthread pthread-stubs sndio xcb z
WANTLIB += gdk-x11-2.0 gtk-x11-2.0 gmp audiofile esd ltdl
2006-04-10 21:09:44 -04:00
SEPARATE_BUILD= concurrent
MULTI_PACKAGES= -main
2006-04-10 21:09:44 -04:00
PREFIX= ${LOCALBASE}/kaffe
PREFIX-main= ${LOCALBASE}
2006-01-10 00:29:12 -05:00
CONFIGURE_STYLE=gnu
GNU_ARCH= ${MACHINE_ARCH:S/amd64/x86_64/}
SUBST_VARS= GNU_ARCH
2006-04-10 21:09:44 -04:00
MODGNU_CONFIG_GUESS_DIRS= \
${WRKSRC}/libraries/javalib/external/classpath \
${WRKSRC}/external/gcc/fastjar
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
CONFIGURE_ARGS+= \
--with-iconv-prefix=${LOCALBASE} \
--disable-boehm-gc-configuration \
--with-engine=intrp
1998-12-06 14:33:28 -05:00
post-install:
@cd ${PREFIX}/jre/lib && ln -s glibj.zip rt.jar
.include <bsd.port.mk>