openbsd-ports/www/icedtea-web/Makefile
ajacoutot 0bbbd35e32 register-plist did not catch the devel/glib2 -main -> empty change.
espie asked me in such a nice way to fix this that I'm bumping all ports
that have a direct dependency on glib2.
2012-09-01 14:36:56 +00:00

50 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.4 2012/09/01 14:36:58 ajacoutot Exp $
SHARED_ONLY = Yes
COMMENT = Java web browser plugin
DISTNAME = icedtea-web-1.2
CATEGORIES = www
REVISION = 1
MAINTAINER = Landry Breuil <landry@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://icedtea.classpath.org/download/source/
HOMEPAGE = http://icedtea.classpath.org/wiki/IcedTea-Web
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS = --with-jdk-home=${LOCALBASE}/jdk-1.7.0 \
--disable-docs \
--libdir=${TRUEPREFIX}/lib/mozilla/plugins
CONFIGURE_ENV = MOZILLA_CFLAGS="`pkg-config --cflags xulrunner-plugin`" \
MOZILLA_LIBS="`pkg-config --libs xulrunner-plugin`"
MODULES = java \
devel/gettext
MODJAVA_VER= 1.7+
BUILD_DEPENDS = archivers/zip \
archivers/gtar \
devel/xulrunner/1.9,-devel
# otherwise PaxHeaders file get in the way
TAR = ${LOCALBASE}/bin/gtar
USE_GMAKE = Yes
LIB_DEPENDS = x11/gtk+2 \
devel/glib2>=2.28.8p1 #for the gio/EINTR fix
WANTLIB += GL X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
WANTLIB += Xrandr Xrender atk-1.0 cairo expat fontconfig freetype
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 gthread-2.0 gtk-x11-2.0 m pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pixman-1 png pthread-stubs stdc++ xcb
WANTLIB += xcb-render xcb-shm z
.include <bsd.port.mk>