openbsd-ports/www/epiphany/Makefile
jasper 98dddcefbd - switch to rarian instead of scrollkeeper
- regen PLIST

ok ajacoutot@
2008-12-17 18:40:13 +00:00

72 lines
2.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.25 2008/12/17 18:43:30 jasper Exp $
SHARED_ONLY= Yes
COMMENT= extremely lightweight and simple web browser for GNOME
M= 2.18
V= 2.18.2
DISTNAME= epiphany-${V}
PKGNAME= ${DISTNAME}p7
CATEGORIES= www
HOMEPAGE= http://www.gnome.org/projects/epiphany/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/epiphany/$M/}
BUILD_DEPENDS= :xulrunner-devel->=1.8.1:devel/xulrunner,-devel
BUILD_DEPENDS+= ${RUN_DEPENDS}
RUN_DEPENDS= :gnome-doc-utils->=0.3.2:x11/gnome/doc-utils \
:gnome-icon-theme-*:x11/gnome/icon-theme \
:gnome-themes-*:x11/gnome/themes \
:iso-codes-*:devel/iso-codes \
::textproc/rarian \
:yelp-*:x11/gnome/yelp \
:desktop-file-utils-*:devel/desktop-file-utils
LIB_DEPENDS= gnome-desktop-2::x11/gnome/desktop \
gnomeui-2.>=1400::x11/gnome/libgnomeui \
xulrunner/gtkembedmoz,xulrunner/mozjs,xulrunner/xpcom,xulrunner/xul:xulrunner->=1.8.1:devel/xulrunner \
xml2.>=6.12::textproc/libxml \
xslt.>=1::textproc/libxslt \
execinfo::devel/libexecinfo
MODULES= devel/gettext
WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcursor 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 freetype \
gconf-2 gdk-x11-2.0 gdk_pixbuf-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 pango-1.0 pangocairo-1.0 pangoft2-1.0 plc4 \
plds4 png popt pthread ssl startup-notification-1 util z \
freebl3 nss3 nssckbi smime3 softokn3 ssl3 \
Xcomposite Xdamage gailutil pcre gio-2.0 pixman-1
USE_X11= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=--with-gecko=xulrunner \
--with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/epiphany \
--disable-python \
--disable-schemas-install \
--disable-scrollkeeper
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/nss -I${LOCALBASE}/include" \
LDFLAGS="-Wl,-rpath-link,${LOCALBASE}/lib/ -Wl,-rpath-link,${X11BASE}/lib/ -L${LOCALBASE}/lib -lfreebl3 -lnss3 -lnssckbi -lsmime3 -lsoftokn3 -lssl3 -pthread -lexecinfo -L${LOCALBASE}/xulrunner" \
HOME=/tmp
SUBST_VARS+= M
post-configure:
rm -fr /tmp/.mozilla
.include <bsd.port.mk>