openbsd-ports/www/galeon/Makefile
ajacoutot 6a768369c4 - now that we have rarian, the 'scrollkeeper-update -> /bin/true' hack
is not needed as the legacy scrollkeeper-update provided by rarian does
not do anything anymore

ok jasper@
2009-04-16 08:11:13 +00:00

75 lines
2.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.47 2009/04/16 08:11:13 ajacoutot Exp $
COMMENT= GNOME web browser based on gecko
DISTNAME= galeon-2.0.7
PKGNAME= ${DISTNAME}p2
CATEGORIES= www
HOMEPAGE= http://galeon.sourceforge.net/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcomposite \
Xcursor Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr \
Xrender art_lgpl_2 atk-1.0 bonobo-2 bonobo-activation \
bonoboui-2 c cairo crypto dbus-1 dbus-glib-1 expat \
fontconfig freebl3 freetype gailutil gconf-2 gdk-x11-2.0 \
gdk_pixbuf-2.0 gio-2.0 glade-2.0 glib-2.0 glitz gmodule-2.0 \
gnome-2 gnome-keyring gnomecanvas-2 gnomevfs-2 gobject-2.0 \
gthread-2.0 gtk-x11-2.0 m nspr4 nss3 nssckbi pango-1.0 \
pangocairo-1.0 pangoft2-1.0 pcre pixman-1 plc4 plds4 \
png popt pthread smime3 softokn3 ssl ssl3 startup-notification-1 \
stdc++ util z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=galeon/}
MODULES= devel/gettext \
textproc/intltool
BUILD_DEPENDS= :xulrunner-devel->=1.8.1:devel/xulrunner,-devel \
::textproc/rarian \
${RUN_DEPENDS}
RUN_DEPENDS= ::devel/desktop-file-utils \
::devel/iso-codes \
::x11/gnome/doc-utils \
::x11/gnome/icon-theme \
::x11/gnome/themes \
::x11/gnome/yelp
LIB_DEPENDS= xulrunner/gtkembedmoz,xulrunner/xpcom,xulrunner/xul:xulrunner->=1.8.1:devel/xulrunner \
xml2::textproc/libxml \
gnome-desktop-2::x11/gnome/desktop \
gnomeui-2::x11/gnome/libgnomeui
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/nss -I${X11BASE}/include -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lfreebl3 -lnss3 -lnssckbi -lsmime3 -lsoftokn3 -lssl3 -pthread -L${X11BASE}/lib -L${LOCALBASE}/xulrunner"
USE_X11= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--with-mozilla="xulrunner" \
--with-gconf-schema-file-dir="${LOCALBASE}/share/schemas/galeon" \
--disable-schemas-install \
--disable-gtkhtml
pre-configure:
${SUBST_CMD} ${WRKSRC}/mozilla/mozilla-embed-shell.cpp \
${WRKSRC}/doc/C/plugins.xml \
${WRKSRC}/doc/es/plugins.xml
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/galeon/
mv ${WRKINST}${SYSCONFDIR}/sound/ \
${PREFIX}/share/examples/galeon/sound/
.include <bsd.port.mk>