openbsd-ports/www/webkit/Makefile
landry e981d869cd Really fix pre-configure target, no cookie for me.
CC=path/to/cc is not needed because ports infrastructure picks cc in
${WRKSRC}/bin when using gcc4 MODULE.
2008-07-25 15:07:55 +00:00

69 lines
1.7 KiB
Makefile

# $OpenBSD: Makefile,v 1.3 2008/07/25 15:07:55 landry Exp $
COMMENT = open source web browser engine
V = 35249
DISTNAME = WebKit-r${V}
PKGNAME = webkit-${V}
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
# LGPLv2 / BSD
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
USE_X11 = Yes
USE_GMAKE = Yes
USE_LIBTOOL = Yes
.if ${MACHINE_ARCH} == "sparc64"
BROKEN = SIGBUS at runtime, being worked on
.endif
MODULES = converters/libiconv \
textproc/intltool \
gcc4
MODGCC4_ARCHES =*
MODGCC4_LANGS = c c++
AUTOMAKE_VERSION = 1.9
AUTOCONF_VERSION = 2.59
CONFIGURE_STYLE = gnu
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 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>