2011-03-08 13:56:30 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.43 2011/03/08 18:56:30 landry Exp $
|
2008-07-25 08:51:10 -04:00
|
|
|
|
|
|
|
COMMENT = open source web browser engine
|
|
|
|
|
2011-03-03 08:44:10 -05:00
|
|
|
DISTNAME = webkit-1.2.7
|
2010-07-19 08:29:50 -04:00
|
|
|
EPOCH = 0
|
2011-03-08 13:56:30 -05:00
|
|
|
REVISION = 0
|
2008-07-25 08:51:10 -04:00
|
|
|
CATEGORIES = www
|
|
|
|
|
2009-04-27 15:25:08 -04:00
|
|
|
HOMEPAGE = http://webkitgtk.org/
|
|
|
|
MASTER_SITES = ${HOMEPAGE}
|
2008-07-25 08:51:10 -04:00
|
|
|
|
|
|
|
MAINTAINER = Landry Breuil <gaston@gcu.info>
|
|
|
|
|
2010-07-19 08:29:50 -04:00
|
|
|
SHARED_LIBS = webkit-1.0 2.2 #.19.5
|
2008-07-25 08:51:10 -04:00
|
|
|
|
|
|
|
# LGPLv2 / BSD
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
|
2008-12-05 14:56:53 -05:00
|
|
|
VMEM_WARNING = Yes
|
|
|
|
|
2008-07-25 08:51:10 -04:00
|
|
|
USE_GMAKE = Yes
|
|
|
|
USE_LIBTOOL = Yes
|
|
|
|
|
2010-12-17 11:17:54 -05:00
|
|
|
MODULES = devel/gettext \
|
2010-05-23 06:27:46 -04:00
|
|
|
textproc/intltool
|
2009-03-08 16:00:41 -04:00
|
|
|
|
2010-05-23 06:27:46 -04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
.if ${COMPILER_VERSION:L:Mgcc4*}
|
|
|
|
STDCPPLIB = stdc++
|
|
|
|
.else
|
|
|
|
MODULES += gcc4
|
2008-07-25 08:51:10 -04:00
|
|
|
MODGCC4_ARCHES =*
|
|
|
|
MODGCC4_LANGS = c c++
|
2010-05-23 06:27:46 -04:00
|
|
|
STDCPPLIB = estdc++
|
|
|
|
.endif
|
2008-07-25 08:51:10 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
|
2009-03-08 16:00:41 -04:00
|
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include/libpng -I${LOCALBASE}/include -I${X11BASE}/include" \
|
2009-10-29 12:46:09 -04:00
|
|
|
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib -lX11" \
|
|
|
|
ac_cv_path_FLEX=${LOCALBASE}/bin/gflex
|
2010-09-28 17:20:56 -04:00
|
|
|
CONFIGURE_ARGS+=--enable-introspection=no
|
2009-01-25 17:16:40 -05:00
|
|
|
|
2008-07-25 08:51:10 -04:00
|
|
|
MAKE_FILE = GNUmakefile
|
2010-05-23 06:27:46 -04:00
|
|
|
MAKE_FLAGS = STDCPPLIB=${STDCPPLIB}
|
2008-07-25 08:51:10 -04:00
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
RUN_DEPENDS = multimedia/gstreamer-0.10/plugins-ffmpeg \
|
2010-12-26 03:32:07 -05:00
|
|
|
multimedia/gstreamer-0.10/plugins-bad \
|
2010-11-22 03:36:47 -05:00
|
|
|
multimedia/gstreamer-0.10/plugins-good
|
2010-01-23 05:14:37 -05:00
|
|
|
|
2008-07-25 08:51:10 -04:00
|
|
|
WANTLIB = ICE SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext \
|
2010-07-03 03:53:04 -04:00
|
|
|
Xfixes Xi Xinerama Xrandr Xrender Xt atk-1.0 c xcb-render \
|
2010-10-11 04:19:03 -04:00
|
|
|
expat fontconfig freetype gcrypt gio-2.0 glib-2.0 gmodule-2.0 \
|
2010-12-17 11:17:54 -05:00
|
|
|
gnutls gobject-2.0 gpg-error gthread-2.0 jpeg m \
|
2010-07-19 08:29:50 -04:00
|
|
|
gtk-x11-2.0 gdk-x11-2.0 gdk_pixbuf-2.0 gailutil \
|
|
|
|
gstreamer-0.10 gstbase-0.10 gstvideo-0.10 gstapp-0.10 gstpbutils-0.10 \
|
|
|
|
icudata icui18n icuuc sqlite3 xslt enchant soup-2.4 \
|
2010-12-30 12:55:32 -05:00
|
|
|
pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pthread GL Xxf86vm drm xcb-shm \
|
2010-06-21 11:55:33 -04:00
|
|
|
tasn1 z cairo pixman-1 png pthread-stubs xcb xml2 ${STDCPPLIB}
|
2008-07-25 08:51:10 -04:00
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
LIB_DEPENDS = x11/gtk+2,-main \
|
|
|
|
multimedia/gstreamer-0.10/core \
|
|
|
|
multimedia/gstreamer-0.10/plugins-base \
|
|
|
|
textproc/icu4c>=4.4 \
|
|
|
|
databases/sqlite3 \
|
|
|
|
textproc/libxslt \
|
|
|
|
textproc/enchant \
|
|
|
|
devel/libsoup>=2.28
|
|
|
|
|
|
|
|
BUILD_DEPENDS = devel/bison \
|
|
|
|
devel/flex \
|
|
|
|
devel/gperf
|
2008-07-25 08:51:10 -04:00
|
|
|
|
2009-11-08 11:19:34 -05:00
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/WebCore/plugins/PluginDatabase.cpp
|
|
|
|
|
2008-07-25 08:51:10 -04:00
|
|
|
.include <bsd.port.mk>
|