2008-06-02 10:10:06 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.22 2008/06/02 14:10:07 ajacoutot Exp $
|
2005-01-16 09:30:04 -05:00
|
|
|
|
2007-05-15 10:01:19 -04:00
|
|
|
SHARED_ONLY= Yes
|
2007-09-15 16:38:20 -04:00
|
|
|
COMMENT= extremely lightweight and simple web browser for gnome
|
2005-01-16 09:30:04 -05:00
|
|
|
|
2007-05-15 10:01:19 -04:00
|
|
|
M= 2.18
|
2007-06-04 14:35:36 -04:00
|
|
|
V= 2.18.2
|
2005-01-16 09:30:04 -05:00
|
|
|
DISTNAME= epiphany-${V}
|
2008-06-02 10:10:06 -04:00
|
|
|
PKGNAME= ${DISTNAME}p4
|
2005-01-16 09:30:04 -05:00
|
|
|
CATEGORIES= www
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.gnome.org/projects/epiphany/
|
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2005-03-15 21:02:56 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/epiphany/$M/}
|
|
|
|
|
2008-01-23 11:36:03 -05:00
|
|
|
BUILD_DEPENDS= :xulrunner-devel->=1.8.1:devel/xulrunner,-devel
|
2007-05-15 10:01:19 -04:00
|
|
|
BUILD_DEPENDS+= ${RUN_DEPENDS}
|
|
|
|
RUN_DEPENDS= :gnome-doc-utils->=0.3.2:x11/gnome/doc-utils \
|
|
|
|
:gnome-icon-theme-*:x11/gnome/icon-theme \
|
2005-01-18 03:11:38 -05:00
|
|
|
:gnome-themes-*:x11/gnome/themes \
|
2007-05-15 10:01:19 -04:00
|
|
|
:iso-codes-*:devel/iso-codes \
|
|
|
|
:scrollkeeper-*:textproc/scrollkeeper \
|
2007-12-15 16:14:22 -05:00
|
|
|
:yelp-*:x11/gnome/yelp \
|
2008-06-02 10:10:06 -04:00
|
|
|
:desktop-file-utils-*:devel/desktop-file-utils
|
2007-05-15 10:01:19 -04:00
|
|
|
LIB_DEPENDS= gnome-desktop-2::x11/gnome/desktop \
|
|
|
|
gnomeui-2.>=1400::x11/gnome/libgnomeui \
|
2008-01-23 11:36:03 -05:00
|
|
|
xulrunner/gtkembedmoz,xulrunner/mozjs,xulrunner/xpcom,xulrunner/xul:xulrunner->=1.8.1:devel/xulrunner \
|
2007-05-15 10:01:19 -04:00
|
|
|
xml2.>=6.12::textproc/libxml \
|
|
|
|
xslt.>=1::textproc/libxslt
|
2005-03-15 21:02:56 -05:00
|
|
|
|
2006-01-19 08:13:07 -05:00
|
|
|
MODULES= devel/gettext
|
|
|
|
|
2007-05-15 10:01:19 -04:00
|
|
|
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 jpeg \
|
|
|
|
m nspr4 pango-1.0 pangocairo-1.0 pangoft2-1.0 plc4 \
|
2007-05-17 13:48:53 -04:00
|
|
|
plds4 png popt pthread ssl startup-notification-1 util z \
|
2008-01-23 11:36:03 -05:00
|
|
|
freebl3 nss3 nssckbi smime3 softokn3 ssl3 \
|
|
|
|
Xcomposite Xdamage gailutil pcre
|
2005-01-16 09:30:04 -05:00
|
|
|
|
2006-11-13 07:51:14 -05:00
|
|
|
USE_X11= Yes
|
2005-01-16 09:30:04 -05:00
|
|
|
USE_GMAKE= Yes
|
2007-04-07 10:54:12 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2007-05-15 10:01:19 -04:00
|
|
|
|
2005-01-16 09:30:04 -05:00
|
|
|
CONFIGURE_STYLE=gnu
|
2008-01-23 11:36:03 -05:00
|
|
|
CONFIGURE_ARGS+=--with-gecko=xulrunner \
|
2007-05-15 10:01:19 -04:00
|
|
|
--with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/epiphany \
|
2007-06-04 14:35:36 -04:00
|
|
|
--disable-python \
|
2007-08-08 13:30:10 -04:00
|
|
|
--disable-schemas-install \
|
|
|
|
--disable-scrollkeeper
|
2007-05-17 13:48:53 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/nss -I${LOCALBASE}/include" \
|
2008-01-23 11:36:03 -05:00
|
|
|
LDFLAGS="-Wl,-rpath-link,${LOCALBASE}/lib/ -Wl,-rpath-link,${X11BASE}/lib/ -L${LOCALBASE}/lib -lfreebl3 -lnss3 -lnssckbi -lsmime3 -lsoftokn3 -lssl3 -pthread -L${LOCALBASE}/xulrunner" \
|
2007-05-15 10:01:19 -04:00
|
|
|
HOME=/tmp
|
2005-03-15 21:02:56 -05:00
|
|
|
|
|
|
|
SUBST_VARS+= M
|
2005-01-16 09:30:04 -05:00
|
|
|
|
2007-05-15 10:01:19 -04:00
|
|
|
post-configure:
|
|
|
|
rm -fr /tmp/.mozilla
|
2005-01-16 09:30:04 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|