openbsd-ports/lang/classpath/Makefile
kurt ffc705904f DESCR:
GNU Classpath, Essential Libraries for Java, is a GNU project to create
free core class libraries for use with virtual machines and compilers
for the java programming language.

From mantainer Frederick C. Druseikis <fredd@cse.sc.edu>
2006-04-11 01:01:34 +00:00

56 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2006/04/11 01:01:34 kurt Exp $
# max data size too small to build. needs at least 256M
NOT_FOR_ARCHS= m68k sparc vax
COMMENT= "essential libraries for java"
DISTNAME= classpath-0.20
CATEGORIES= lang java
.for _lib in gtkpeer javaio javalang javalangreflect javanet javanio \
javautil jawtgnu
SHARED_LIBS+= ${_lib} 0.20
.endfor
HOMEPAGE= http://www.gnu.org/software/classpath/
MAINTAINER= Frederick C. Druseikis <fredd@cse.sc.edu>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
BUILD_DEPENDS= :zip->=2.3p0:archivers/zip \
:jikes->=1.22p0:lang/jikes
MODULES= converters/libiconv
LIB_DEPENDS= gdk-x11-2.0.0.0,gdk_pixbuf-2.0.0.0,gtk-x11-2.0.0.0::x11/gtk+2
WANTLIB= ICE SM X11 Xext Xft Xrender Xtst atk-1.0.0.0 fontconfig \
freetype gdk-x11-2.0.0.0 gdk_pixbuf-2.0.0.0 glib-2.0.0.0 \
gmodule-2.0.0.0 gobject-2.0.0.0 gthread-2.0.0.0 \
gtk-x11-2.0.0.0 intl m pango-1.0.0.0 pangoft2-1.0.0.0 \
pangox-1.0.0.0 pangoxft-1.0.0.0
MASTER_SITES= ${MASTER_SITE_GNU:=classpath/}
USE_GMAKE= Yes
USE_LIBTOOL= Yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
--with-glibj=zip --enable-gtk-peer --with-jikes \
--x-includes=${X11BASE}/include --x-libraries=${X11BASE}/lib
.include <bsd.port.mk>