blob: 8fbda0940000af2337b151b282335e695b285131 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# New ports collection makefile for: webkit
# Date created: 2007-10-21
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
# $MCom$
#
PORTNAME= webkit
PORTVERSION= 0.0.30028
CATEGORIES= www
MASTER_SITES= http://nightly.webkit.org/files/trunk/src/
PKGNAMESUFFIX= -gtk2
DISTNAME= WebKit-r${PORTVERSION:S/0.0.//}
MAINTAINER= gnome@FreeBSD.org
COMMENT= An opensource browser engine
LIB_DEPENDS= icutu.36:${PORTSDIR}/devel/icu \
curl.4:${PORTSDIR}/ftp/curl \
sqlite3.8:${PORTSDIR}/databases/sqlite3
USE_BISON= build
USE_BZIP2= yes
USE_GMAKE= yes
USE_GNOME= gnometarget gtk20 libxslt
USE_PERL5= yes
USE_LDCONFIG= yes
USE_AUTOTOOLS= autoconf:261 automake:110 libtool:15
USE_GSTREAMER= gnomevfs
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-webkit-target=x11 \
--enable-icon-database \
--enable-svg \
--enable-video
MAKEFILE= GNUmakefile
post-patch:
@${REINPLACE_CMD} -e 's|autoconf|${AUTOCONF}|g ; \
s|automake|${AUTOMAKE}|g ; s|aclocal|${ACLOCAL}|g ; \
s|autoheader|${AUTOHEADER}|g ; \
s|LIBTOOLIZE=libtoolize|LIBTOOLIZE=${LIBTOOLIZE}|g ; \
s|$$srcdir/configure|#$$srcdir/configure|g' \
${WRKSRC}/autogen.sh
@${FIND} ${WRKSRC} -name GNUmakefile.am | ${XARGS} ${REINPLACE_CMD} -e \
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
pre-configure:
@(cd ${WRKSRC} && ${SH} autogen.sh)
.include <bsd.port.mk>
|