openbsd-ports/www/webkit/Makefile
landry 4327cacfc5 Add a patch to make webkit build on sparc64, which should hopefully let
the half of gnome compile again there. It still SIGBUS'es at runtime
though, but maybe someday i'll find the correct fix.
Ah, and did i mention it takes eleven hours to build on a dual-usIIIi
@1Ghz, and that DEBUG=-g is impossible because it eats all memory ?
2009-02-18 22:09:47 +00:00

71 lines
1.8 KiB
Makefile

# $OpenBSD: Makefile,v 1.8 2009/02/18 22:09:47 landry Exp $
COMMENT = open source web browser engine
V = 40000
DISTNAME = WebKit-r${V}
PKGNAME = webkit-${V}p0
CATEGORIES = www
EXTRACT_SUFX = .tar.bz2
HOMEPAGE = http://webkit.org/
MASTER_SITES = http://builds.nightly.webkit.org/files/trunk/src/
MAINTAINER = Landry Breuil <gaston@gcu.info>
SHARED_LIBS = webkit-1.0 0.0 \
testnetscapeplugin 0.0
# LGPLv2 / BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
VMEM_WARNING = Yes
USE_X11 = Yes
USE_GMAKE = Yes
USE_LIBTOOL = Yes
MODULES = converters/libiconv \
textproc/intltool \
gcc4
MODGCC4_ARCHES =*
MODGCC4_LANGS = c c++
AUTOMAKE_VERSION = 1.9
AUTOCONF_VERSION = 2.59
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include/libpng -I${X11BASE}/include" \
LDFLAGS="-L${X11BASE}/lib -lX11"
MAKE_FILE = GNUmakefile
WANTLIB = ICE SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext \
Xfixes Xi Xinerama Xrandr Xrender Xt atk-1.0 c crypto \
expat fontconfig freetype gio-2.0 glib-2.0 glitz gmodule-2.0 \
gobject-2.0 gthread-2.0 idn intl jpeg m pango-1.0 pangocairo-1.0 \
pangoft2-1.0 pcre pthread ssl z cairo pixman-1 png xml2
LIB_DEPENDS = gtk-x11-2.0,gdk-x11-2.0,gdk_pixbuf-2.0::x11/gtk+2,-main \
icudata,icui18n,icuuc::textproc/icu4c \
sqlite3::databases/sqlite3 \
xslt::textproc/libxslt \
curl::net/curl
BUILD_DEPENDS = ::devel/bison \
::devel/gperf \
${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS}
pre-configure:
cd ${WRKSRC} && AUTOCONF_VERSION=${AUTOCONF_VERSION} \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} autoreconf --install
cd ${WRKSRC} && AUTOCONF_VERSION=${AUTOCONF_VERSION} \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} automake --add-missing --copy
.include <bsd.port.mk>