openbsd-ports/www/galeon/Makefile
jasper dcea95e4ad - update galeon to 2.0.7
- re-order WANTLIB
- re-order *_DEPENDS
2008-12-23 11:36:08 +00:00

69 lines
2.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.43 2008/12/23 11:36:08 jasper Exp $
COMMENT= GNOME web browser based on gecko
DISTNAME= galeon-2.0.7
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 audiofile bonobo-2 bonobo-activation \
bonoboui-2 c cairo crypto dbus-1 dbus-glib-1 esd 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 jpeg 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 \
${RUN_DEPENDS}
RUN_DEPENDS= ::devel/desktop-file-utils \
::devel/iso-codes \
::textproc/rarian \
::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= --with-mozilla="xulrunner" \
--with-gconf-schema-file-dir="${LOCALBASE}/share/schemas/galeon" \
--disable-schemas-install \
--disable-gtkhtml
post-patch:
@ln -s /usr/bin/true ${WRKDIR}/bin/scrollkeeper-update
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/galeon/
mv ${WRKINST}${SYSCONFDIR}/sound/ \
${PREFIX}/share/examples/galeon/sound/
.include <bsd.port.mk>