head	1.20;
access;
symbols
	RELEASE_8_3_0:1.11
	RELEASE_9_0_0:1.11
	RELEASE_7_4_0:1.10
	RELEASE_8_2_0:1.10
	RELEASE_6_EOL:1.9
	RELEASE_8_1_0:1.8
	RELEASE_7_3_0:1.4
	RELEASE_8_0_0:1.2
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1;
locks; strict;
comment	@# @;


1.20
date	2013.03.13.22.48.59;	author svnexp;	state Exp;
branches;
next	1.19;

1.19
date	2013.02.09.14.10.27;	author svnexp;	state Exp;
branches;
next	1.18;

1.18
date	2013.02.03.21.44.14;	author svnexp;	state Exp;
branches;
next	1.17;

1.17
date	2013.01.09.15.46.28;	author svnexp;	state Exp;
branches;
next	1.16;

1.16
date	2012.11.17.06.03.02;	author svnexp;	state Exp;
branches;
next	1.15;

1.15
date	2012.06.06.06.44.30;	author miwi;	state Exp;
branches;
next	1.14;

1.14
date	2012.06.02.00.08.27;	author rakuco;	state Exp;
branches;
next	1.13;

1.13
date	2012.06.01.05.25.01;	author dinoex;	state Exp;
branches;
next	1.12;

1.12
date	2012.05.25.01.44.04;	author makc;	state Exp;
branches;
next	1.11;

1.11
date	2011.10.16.22.42.43;	author avilla;	state Exp;
branches;
next	1.10;

1.10
date	2010.12.02.19.47.15;	author makc;	state Exp;
branches;
next	1.9;

1.9
date	2010.10.15.20.54.21;	author kmoore;	state Exp;
branches;
next	1.8;

1.8
date	2010.05.11.10.09.50;	author fluffy;	state Exp;
branches;
next	1.7;

1.7
date	2010.03.28.06.45.03;	author dinoex;	state Exp;
branches;
next	1.6;

1.6
date	2010.03.24.08.23.52;	author gahr;	state Exp;
branches;
next	1.5;

1.5
date	2010.03.22.04.52.29;	author linimon;	state Exp;
branches;
next	1.4;

1.4
date	2010.01.21.21.13.20;	author makc;	state Exp;
branches;
next	1.3;

1.3
date	2009.11.26.23.24.37;	author miwi;	state Exp;
branches;
next	1.2;

1.2
date	2009.08.04.20.04.37;	author miwi;	state Exp;
branches;
next	1.1;

1.1
date	2008.08.04.23.30.38;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.20
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314095
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: danny@@ricin.com
# $FreeBSD: head/www/qt4-webkit/Makefile 314095 2013-03-13 16:34:04Z makc $

PORTNAME=	webkit
DISTVERSION=	${QT4_VERSION}
PORTREVISION=	1
CATEGORIES?=	www
PKGNAMEPREFIX=	qt4-

MAINTAINER=	kde@@FreeBSD.org
COMMENT=	Qt4 WebKit engine

USE_PKGCONFIG=	build
USE_QT4=	corelib declarative gui network \
		qmake_build moc_build rcc_build
QT_NONSTANDARD=	yes
QT_DIST=	yes
USE_XORG=	xrender
MAKE_JOBS_SAFE=	yes

HAS_CONFIGURE=	yes
USE_LDCONFIG=	${PREFIX}/lib/qt4

ALL_TARGET=	first
CONFIGURE_ENV?=	QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH
MAKE_ENV?=	QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib:$$LD_LIBRARY_PATH \
		PATH=${WRKSRC}/bin:$$PATH MAKEOBJDIR=.

DO_NOT_EXTRACT=	demos doc examples mkspecs qmake tools translations \
		src/activeqt src/dbus src/opengl src/openvg src/qt3support \
		src/s60installs src/s60main src/scripttools src/sql src/svg \
		src/testlib src/tools src/winmain src/3rdparty/clucene \
		src/3rdparty/freetype src/3rdparty/libjpeg src/3rdparty/libmng \
		src/3rdparty/libpng src/3rdparty/libtiff
EXTRACT_AFTER_ARGS=	| ${TAR} -xf -
.for dne in ${DO_NOT_EXTRACT}
EXTRACT_AFTER_ARGS+=	--exclude '${DISTNAME}/${dne}'
.endfor

BUILD_WRKSRC=	${WRKSRC}/src/3rdparty/${PORTNAME}/Source
INSTALL_WRKSRC=	${BUILD_WRKSRC}

CONFIGURE_ARGS+=	-I../../../../include/Qt -I../../../../include

EXTRA_PATCHES=	${.CURDIR}/../../devel/qt4/files/patch-configure

OPTIONS_DEFINE=	GSTREAMER
OPTIONS_DEFAULT=	GSTREAMER

GSTREAMER_DESC=	HTML5 audio and video via GStreamer

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MGSTREAMER}
USE_GSTREAMER=	yes
.endif

.include <bsd.port.pre.mk>

# Base ld(1) segfaults on PowerPC:
# http://bugs.freebsd.org/173042
.if ${ARCH} == "powerpc"
BUILD_DEPENDS+=	${LOCALBASE}/bin/ld:${PORTSDIR}/devel/binutils
.endif

pre-configure:
	${MKDIR} ${WRKSRC}/mkspecs
	${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/bin/qmake
	${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/bin/moc
	${LN} -sf ${LOCALBASE}/bin/rcc ${WRKSRC}/bin/rcc
	${REINPLACE_CMD} -e 's|linux-\*|unix|g' \
		${BUILD_WRKSRC}/WebCore/features.pri \
		${BUILD_WRKSRC}/JavaScriptCore/wtf/wtf.pri
.if ! ${PORT_OPTIONS:MGSTREAMER}
	${REINPLACE_CMD} -e 's|.*exists.*gstreamer.*|false {|' \
		${BUILD_WRKSRC}/WebCore/features.pri
.endif
# Avoid building and installing several tests. Should this be made an option?
	${REINPLACE_CMD} -e '/WebKit\/qt\/tests/ d' \
		${BUILD_WRKSRC}/WebKit.pro

post-configure:
	${REINPLACE_CMD} \
		-e 's|${PREFIX}/lib/qt4/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
		-e 's|.*$$(QMAKE).*||g' \
		-e '/^CFLAGS/ s|-I${LOCALBASE}/include ||g' \
		-e '/^CXXFLAGS/ s|-I${LOCALBASE}/include ||g' \
		${BUILD_WRKSRC}/Makefile \
		${BUILD_WRKSRC}/WebCore/Makefile \
		${BUILD_WRKSRC}/WebKit/qt/Makefile
	${CP} ${BUILD_WRKSRC}/WebKit/qt/Makefile \
		${BUILD_WRKSRC}/WebKit/qt/Makefile.QtWebKit
	${REINPLACE_CMD} -E -e 's|-L.[^[:space:]]*qt-x11-opensource.[^[:space:]]*lib||g' \
			-E -e 's|(.*location=).*moc|\1${PREFIX}/bin/moc-qt4|g' \
		${WRKSRC}/lib/pkgconfig/QtWebKit.pc
# QtWebKit is statically linked with jscore, remove the latest.
	${REINPLACE_CMD} -e 's|-L../JavaScriptCore/release||; s|-ljscore||' \
		${WRKSRC}/lib/pkgconfig/QtWebKit.pc \
		${WRKSRC}/lib/libQtWebKit.la

.include <bsd.port.post.mk>
@


1.19
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311972
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/qt4-webkit/Makefile 311972 2013-02-09 12:58:34Z avilla $
d13 1
@


1.18
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311473
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/www/qt4-webkit/Makefile 311473 2013-02-03 17:21:56Z makc $
d6 1
d49 1
a49 1
GSTREAMER_DESC=	HTML5 audio and video support
a54 2
.else
CONFIGURE_ARGS+=	-no-gstreamer
d70 7
@


1.17
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310146
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r310146 | avilla | 2013-01-09 14:07:28 +0000 (Wed, 09 Jan 2013) | 5 lines
## SVN ##
## SVN ## - Add dependency on devel/binutils' ld(1) to fix build on PowerPC.
## SVN ##
## SVN ## PR:		173042
## SVN ## Submitted by:	Justin Hibbits <jrh29@@po.cwru.edu>
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/www/qt4-webkit/Makefile 310146 2013-01-09 14:07:28Z avilla $
a11 2
USE_GNOME=	glib20
USE_GSTREAMER=	yes
d45 13
d71 1
a71 2
	# Avoid building and installing several tests. Should this be
	# made an option?
d89 1
a89 1
	# QtWebKit is statically linked with jscore, remove the latest.
@


1.16
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	qt4-webkit
# Date created:				Mon May 12 17:18:19 CEST 2008
# Whom:					danny@@ricin.com
#
# $FreeBSD: head/www/qt4-webkit/Makefile 300897 2012-07-14 14:29:18Z beat $
#
d47 8
d84 1
a84 1
.include <bsd.port.mk>
@


1.15
log
@- Convert USE_QT_VER=4 and QT_COMPONETS to USE_QT4

Review by:	bapt, David Naylor (kde team)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.14
log
@The KDE on FreeBSD team is happy to update Qt to its 4.8.2 release.

The upstream changelog can be seen in
<https://qt.gitorious.org/qt/qt/blobs/4.8/dist/changes-4.8.2>.

Relevant changes include a few patches having been integrated upstream
and thus removed from the ports tree and some improved work on USE_QT4
in bsd.qt.mk.
@
text
@d18 1
a18 2
USE_QT_VER=	4
QT_COMPONENTS=	corelib declarative gui network \
@


1.13
log
@- update png to 1.5.10
@
text
@a9 1
PORTREVISION=	1
@


1.12
log
@KDE/FreeBSD team presents Qt 4.8.1 in ports!
@
text
@d5 1
a5 1
# $FreeBSD: ports/./www/qt4-webkit/Makefile,v 1.11 2011/10/16 22:42:43 avilla Exp $
d10 1
@


1.11
log
@- Update Qt to 4.7.4.
- Make sure internal paths are added before system ones.
- Remove phonon-gstreamer dependency from qt4-webkit.
- Remove qt4-gui dependency from qt4-dbus.
@
text
@d5 1
a5 1
# $FreeBSD$
d16 2
d19 1
a19 1
QT_COMPONENTS=	corelib declarative gui network phonon \
d45 1
a45 1
BUILD_WRKSRC=	${WRKSRC}/src/3rdparty/${PORTNAME}
d57 2
d68 5
a72 1
		${BUILD_WRKSRC}/WebCore/Makefile
d76 2
a77 2
# QtWebKit is statically linked with jscore, remove the latest.
	${REINPLACE_CMD} -e 's|-L../JavaScriptCore/release||;s|-ljscore||' \
@


1.10
log
@KDE FreeBSD team is glad to present Qt 4.7.1 in ports.

Along with Qt4 the following ports are updated:

PyQt4 ports to 4.8.1
devel/py-sip to 4.11.2
devel/qscintilla2 to 2.4.5
PyKDE3 to 3.16.7
PyQt3 tp 3.18.2-snapshot-20091119

New ports added:
devel/qt4-declarative
devel/py-qt4-declarative
x11/qt4-graphicssystems-opengl

This release has been contributed by:
Thomas Abthorpe (tabthorpe)
Max Brazhnikov (makc)
Dima Panov (fluffy)
Alberto Villa (avilla)

We'd like to thank Martin Wilke (miwi) for exp-run.
@
text
@d17 2
a18 3
QT_COMPONENTS=	qmake_build moc_build rcc_build corelib declarative gui \
		network xml dbus phonon phonon-gst script scripttools \
		xmlpatterns
d21 1
d68 1
a68 1
#QtWebKit is statically linked with jscore, remove the latest
@


1.9
log
@Improve handing of LD_LIBRARY_PATH when doing non-standard LOCALBASE builds.
@
text
@d9 1
a9 1
PORTVERSION=	${QT4_VERSION}
d17 3
a19 2
QT_COMPONENTS=	qmake_build moc_build rcc_build corelib gui network xml \
		dbus phonon phonon-gst script scripttools xmlpatterns
d33 5
a37 6
		src/activeqt src/dbus src/multimedia src/opengl src/openvg \
		src/qt3support src/s60installs src/s60main src/scripttools \
		src/sql src/svg src/testlib src/tools src/winmain \
		src/3rdparty/clucene src/3rdparty/freetype \
		src/3rdparty/libjpeg src/3rdparty/libmng src/3rdparty/libpng \
		src/3rdparty/libtiff
d43 1
a43 1
BUILD_WRKSRC=	${WRKSRC}/src/3rdparty/${PORTNAME}/WebCore
d55 2
d62 3
a64 1
		${BUILD_WRKSRC}/Makefile
d68 4
@


1.8
log
@- The FreeBSD KDE team is pleased to announce Qt-4.6.2 for FreeBSD

With hat on:	kde@@
@
text
@d28 1
a28 1
MAKE_ENV?=	QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib \
@


1.7
log
@- update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
@
text
@a9 1
PORTREVISION=	1
@


1.6
log
@- Unbreak on sparc64
@
text
@d10 1
@


1.5
log
@Mark as broken on sparc64: fails to compile.

Hat:		portmgr
@
text
@d65 1
a65 7
.include <bsd.port.pre.mk>

.if ${ARCH} == "sparc64"
BROKEN=		Does not compile on sparc64
.endif

.include <bsd.port.post.mk>
@


1.4
log
@The FreeBSD KDE team is pleased to announce Qt-4.6.1 for FreeBSD.
@
text
@d65 7
a71 1
.include <bsd.port.mk>
@


1.3
log
@- Update to Qt-4.5

The KDE FreeBSD team would like to say thanks to all the helpers
and submitters.

Tested by:	pointyhat-exp-run (myself)
@
text
@d14 1
a14 1
COMMENT=	Qt4 webkit engine
d18 1
a18 1
		dbus phonon phonon-gst
d29 1
a29 1
		PATH=${WRKSRC}/bin:$$PATH
d32 6
a37 3
		src/opengl \
		src/qt3support src/sql src/svg src/testlib \
		src/tools src/xmlpatterns src/3rdparty/clucene
d43 2
a44 2
WRKSRC=		${WRKDIR}/${DISTNAME}/src/3rdparty/${PORTNAME}/WebCore
CONFIGURE_WRKSRC=${WRKSRC}/../../../../
d48 2
d51 4
a54 5
	${CP} ${.CURDIR}/../../devel/qt4/files/configure ${CONFIGURE_WRKSRC}
	${MKDIR} ${WRKSRC}/../../../../mkspecs
	${LN} -sf ${LOCALBASE}/bin/qmake-qt4 ${WRKSRC}/../../../../bin/qmake
	${LN} -sf ${LOCALBASE}/bin/moc-qt4 ${WRKSRC}/../../../../bin/moc
	${LN} -sf ${LOCALBASE}/bin/rcc ${WRKSRC}/../../../../bin/rcc
d60 1
a60 1
		${WRKSRC}/Makefile
d63 1
a63 1
		${WRKSRC}/../../../../lib/pkgconfig/QtWebKit.pc
@


1.2
log
@- Update Qt4 to 4.5.2

The KDE FreeBSD team would like to say thanks to all the helpers
and submitters.

Tested by:	pointyhat-exp-run (pav/miwi)
@
text
@a10 1
MASTER_SITES=	${MASTER_SITE_QT}
a11 2
DISTNAME=	qt-x11-opensource-src-${PORTVERSION}
DIST_SUBDIR=	KDE
@


1.1
log
@- Update to qt 4.4.1

Note:
	With this update several ports specific problems
	have been fixed. Qt4 headers and libraries have
	been moved to include/qt4 and lib/qt4. bsd.qt.mk
	defines QT_INCDIR and QT_LIBDIR now, which could
	be used in qt4-dependent ports if required.

Thanks to:	Max Brazhnikov Danny Pansters
@
text
@d20 2
a21 1
QT_COMPONENTS=	qmake_build moc_build rcc_build corelib gui network xml
d24 1
d35 3
a37 4
		src/dbus src/opengl src/phonon \
		src/qt3support src/script src/sql src/svg src/testlib \
		src/tools src/xmlpatterns src/3rdparty/clucene \
		src/3rdparty/kdebase src/3rdparty/kdelibs
d46 2
@

