openbsd-ports/lang/classpath/Makefile

60 lines
1.5 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.10 2008/06/29 20:44:52 sthen 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.91
PKGNAME= ${DISTNAME}p1
CATEGORIES= lang java
.for _lib in gtkpeer javaio javalang javalangreflect javanet javanio \
javautil jawtgnu
SHARED_LIBS+= ${_lib} 0.91
.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
2006-09-18 07:50:39 -04:00
LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2
2006-09-18 07:50:39 -04:00
WANTLIB= z ICE SM X11 Xext Xrender Xtst atk-1.0 fontconfig \
2007-11-14 04:43:39 -05:00
Xau Xcomposite Xcursor Xdamage Xdmcp Xfixes Xi Xinerama \
Xrandr expat pcre \
2006-09-18 07:50:39 -04:00
freetype gdk-x11-2.0 gdk_pixbuf-2.0 glib-2.0 \
gmodule-2.0 gobject-2.0 gthread-2.0 \
gtk-x11-2.0 intl m pango-1.0 pangoft2-1.0 \
pangocairo-1.0 cairo glitz png pixman-1
MASTER_SITES= ${MASTER_SITE_GNU:=classpath/}
2006-11-13 06:20:24 -05:00
USE_X11= Yes
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>