aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2009-02-15 06:58:55 +0800
committermakc <makc@FreeBSD.org>2009-02-15 06:58:55 +0800
commit33336307355645eb8e53d3a6b7862903f71f14b3 (patch)
tree4f7eacf4bdce109973bd6e40b769da1ee722005e /www
parentb243e25347efea69e76079ff793963859f4cca77 (diff)
downloadfreebsd-ports-gnome-33336307355645eb8e53d3a6b7862903f71f14b3.tar.gz
freebsd-ports-gnome-33336307355645eb8e53d3a6b7862903f71f14b3.tar.zst
freebsd-ports-gnome-33336307355645eb8e53d3a6b7862903f71f14b3.zip
Update PyQt4 ports to 4.4.4, new ports:
devel/py-qt4-help multimedia/py-qt4-phonon textproc/py-qt4-xmlpatterns www/py-qt4-webkit Update QScintilla2 to 2.3.2, PyQt3 to 3.17.6, PyKDE3 to 3.16.2. Pass maintainership to kde@FreeBSD.org. Thanks Danny Ricin for his great work. PR: based on ports/130219 Submitted by: Dima Panov" <fluffy at fluffy.khv.ru>
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/py-qt4-webkit/Makefile78
-rw-r--r--www/py-qt4-webkit/distinfo3
-rw-r--r--www/py-qt4-webkit/pkg-descr4
-rw-r--r--www/py-qt4-webkit/pkg-plist12
5 files changed, 98 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 560c6bb57590..9548d266c8d8 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1255,6 +1255,7 @@
SUBDIR += py-pywebdav
SUBDIR += py-qp
SUBDIR += py-qpy
+ SUBDIR += py-qt4-webkit
SUBDIR += py-restclient
SUBDIR += py-routes
SUBDIR += py-scgi
diff --git a/www/py-qt4-webkit/Makefile b/www/py-qt4-webkit/Makefile
new file mode 100644
index 000000000000..df6f21e2638a
--- /dev/null
+++ b/www/py-qt4-webkit/Makefile
@@ -0,0 +1,78 @@
+# New ports collection makefile for: py-qt4-webkit
+# Date created: 2009-01-04
+# Whom: Dima Panov <fluffy@fluffy.khv.ru>
+#
+# $FreeBSD$
+
+PORTNAME= webkit
+PORTVERSION= ${PYQT4_VERSION}
+CATEGORIES= www devel python
+MASTER_SITES= ${MASTER_SITES_PYQT4}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}qt4-
+DISTNAME= ${PYQT4_DISTNAME}
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Python bindings for the Qt4 toolkit, QtWebKit module
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sip>=${SIP_VERSION}:${PORTSDIR}/devel/py-sip
+RUN_DEPENDS= ${PKGNAMEPREFIX}gui>=${PYQT4_VERSION}:${PORTSDIR}/x11-toolkits/py-qt4-gui
+
+HAS_CONFIGURE= yes
+USE_PYTHON= 2.5+
+USE_QT_VER= 4
+QT_COMPONENTS= qmake_build gui network webkit
+
+OPTIONS= API "Install QtXml API for QScintilla2" on \
+ DEBUG "Enable debugging in generated code" off \
+ SIPFILES "Install the QtXml SIP files" on \
+ TRACING "Enable tracing in generated code" off
+
+PATCHDIR= ${PORTSDIR}/devel/py-qt4-core/files
+OPTIONSFILE= ${PORT_DBDIR}/py-qt4-${PORTNAME}/options
+SIPDIR= ${PREFIX}/share/py-sip
+QSCIDIR= ${PREFIX}/share/qt4/qsci
+CONFIGURE_ENV+= PYQT4_COMPONENT="${PORTNAME}"
+ARGS= -b ${PREFIX}/bin\
+ -d ${PYTHONPREFIX_SITELIBDIR}\
+ -p ${PREFIX}/${QT_PLUGINDIR_REL}\
+ -q ${QMAKE}\
+ --confirm-license\
+ --enable QtWebKit
+
+.include "../../devel/py-sip/files/bsd.pyqt.mk"
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_DEBUG)
+ARGS+= --debug
+.endif
+.if defined(WITHOUT_API)
+ARGS+= --no-qsci-api
+PLIST_SUB+= API="@comment "
+.else
+LIB_DEPENDS+= qscintilla2.5:${PORTSDIR}/devel/qscintilla2
+ARGS+= --qsci-api --qsci-api-destdir=${QSCIDIR}
+PLIST_SUB+= API=""
+.endif
+.if defined(WITHOUT_SIPFILES)
+ARGS+= --no-sip-files
+PLIST_SUB+= SIP="@comment "
+.else
+ARGS+= --sipdir ${SIPDIR}
+PLIST_SUB+= SIP=""
+.endif
+.if defined(WITH_TRACING)
+ARGS+= --trace
+.endif
+
+do-configure:
+ cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV}\
+ ${PYTHON_CMD} configure.py ${ARGS}
+
+post-configure:
+ ${REINPLACE_CMD} -e 's|mkspecs/freebsd-g++|share/qt4/mkspecs/freebsd-g++|'\
+ -e 's|CC = cc|CC = ${CC}|'\
+ -e 's|CXX = c++|CXX = ${CXX}|'\
+ -e 's|LINK = c++|LINK = ${CXX}|'\
+ ${WRKSRC}/QtWebKit/Makefile
+
+.include <bsd.port.post.mk>
diff --git a/www/py-qt4-webkit/distinfo b/www/py-qt4-webkit/distinfo
new file mode 100644
index 000000000000..886226b81fb2
--- /dev/null
+++ b/www/py-qt4-webkit/distinfo
@@ -0,0 +1,3 @@
+MD5 (PyQt-x11-gpl-4.4.4.tar.gz) = 4bd346d56d10452e47ac71e2cbe04229
+SHA256 (PyQt-x11-gpl-4.4.4.tar.gz) = fc09c13b340078c7995fb2b6450c5b7de8ef9411962d311a1213e773c936509a
+SIZE (PyQt-x11-gpl-4.4.4.tar.gz) = 6982063
diff --git a/www/py-qt4-webkit/pkg-descr b/www/py-qt4-webkit/pkg-descr
new file mode 100644
index 000000000000..9d22931a201b
--- /dev/null
+++ b/www/py-qt4-webkit/pkg-descr
@@ -0,0 +1,4 @@
+PyQt4 is a set of Python bindings for Trolltech's Qt4 application framework.
+This package provides the QtWebKit module.
+
+WWW: http://www.riverbankcomputing.co.uk/pyqt/
diff --git a/www/py-qt4-webkit/pkg-plist b/www/py-qt4-webkit/pkg-plist
new file mode 100644
index 000000000000..8b616a622b7a
--- /dev/null
+++ b/www/py-qt4-webkit/pkg-plist
@@ -0,0 +1,12 @@
+%%PYTHON_SITELIBDIR%%/PyQt4/QtWebKit.so
+%%SIP%%share/py-sip/QtWebKit/QtWebKitmod.sip
+%%SIP%%share/py-sip/QtWebKit/qwebframe.sip
+%%SIP%%share/py-sip/QtWebKit/qwebhistory.sip
+%%SIP%%share/py-sip/QtWebKit/qwebhistoryinterface.sip
+%%SIP%%share/py-sip/QtWebKit/qwebpage.sip
+%%SIP%%share/py-sip/QtWebKit/qwebpluginfactory.sip
+%%SIP%%share/py-sip/QtWebKit/qwebsettings.sip
+%%SIP%%share/py-sip/QtWebKit/qwebview.sip
+%%API%%share/qt4/qsci/api/python/QtWebKit.api
+%%SIP%%@dirrm share/py-sip/QtWebKit
+@dirrmtry %%PYTHON_SITELIBDIR%%/PyQt4