aboutsummaryrefslogtreecommitdiff
path: root/net/py-qt4-network
diff options
context:
space:
mode:
Diffstat (limited to 'net/py-qt4-network')
-rw-r--r--net/py-qt4-network/Makefile28
-rw-r--r--net/py-qt4-network/distinfo6
-rw-r--r--net/py-qt4-network/pkg-plist53
3 files changed, 44 insertions, 43 deletions
diff --git a/net/py-qt4-network/Makefile b/net/py-qt4-network/Makefile
index 3b29e310a33c..822abf5f0cf3 100644
--- a/net/py-qt4-network/Makefile
+++ b/net/py-qt4-network/Makefile
@@ -6,15 +6,13 @@
PORTNAME= network
PORTVERSION= ${PYQT4_VERSION}
-PORTREVISION= 2
PORTEPOCH= 1
-
CATEGORIES= net devel python
MASTER_SITES= ${MASTER_SITES_PYQT4}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}qt4-
DISTNAME= ${PYQT4_DISTNAME}
-MAINTAINER= ${PYQT_MAINTAINER}
+MAINTAINER= kde@FreeBSD.org
COMMENT= Python bindings for the Qt4 toolkit, QtNetwork module
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sip>=${SIP_VERSION}:${PORTSDIR}/devel/py-sip
@@ -23,7 +21,7 @@ RUN_DEPENDS= ${PKGNAMEPREFIX}core>=${PYQT4_VERSION}:${PORTSDIR}/devel/py-qt4-cor
HAS_CONFIGURE= yes
USE_PYTHON= 2.5+
USE_QT_VER= 4
-QT_COMPONENTS= network qmake
+QT_COMPONENTS= network qmake_build
OPTIONS= API "Install QtNetwork API for QScintilla2" on \
DEBUG "Enable debugging in generated code" off \
@@ -33,11 +31,14 @@ OPTIONS= API "Install QtNetwork API for QScintilla2" on \
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 ${PYTHON_SITELIBDIR}\
- -q ${QT_PREFIX}/bin/qmake-qt4\
- --confirm-license
+ -d ${PYTHONPREFIX_SITELIBDIR}\
+ -p ${PREFIX}/${QT_PLUGINDIR_REL}\
+ -q ${QMAKE}\
+ --confirm-license\
+ --enable QtNetwork
.include "../../devel/py-sip/files/bsd.pyqt.mk"
.include <bsd.port.pre.mk>
@@ -48,26 +49,21 @@ ARGS+= --debug
.if defined(WITHOUT_API)
ARGS+= --no-qsci-api
PLIST_SUB+= API="@comment "
-PLIST_SUB+= APIFILE="@comment "
.else
-LIB_DEPENDS+= qscintilla2.3:${PORTSDIR}/devel/qscintilla2
-ARGS+= --qsci-api
+LIB_DEPENDS+= qscintilla2.5:${PORTSDIR}/devel/qscintilla2
+ARGS+= --qsci-api --qsci-api-destdir=${QSCIDIR}
PLIST_SUB+= API=""
-PLIST_SUB+= APIFILE="share/qt4/qsci/api/python/QtNetwork.api"
.endif
.if defined(WITHOUT_SIPFILES)
ARGS+= --no-sip-files
-PLIST_SUB+= SIPFILES="@comment "
-PLIST_SUB+= SIPDIR="@comment "
+PLIST_SUB+= SIP="@comment "
.else
ARGS+= --sipdir ${SIPDIR}
-PLIST_SUB+= SIPFILES=""
-PLIST_SUB+= SIPDIR="share/py-sip"
+PLIST_SUB+= SIP=""
.endif
.if defined(WITH_TRACING)
ARGS+= --trace
.endif
-ARGS+= --enable QtNetwork
do-configure:
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV}\
diff --git a/net/py-qt4-network/distinfo b/net/py-qt4-network/distinfo
index 8c72753540f7..886226b81fb2 100644
--- a/net/py-qt4-network/distinfo
+++ b/net/py-qt4-network/distinfo
@@ -1,3 +1,3 @@
-MD5 (PyQt-x11-gpl-4.3.3.tar.gz) = a2ead359f57d84c24bdd10de387e80b4
-SHA256 (PyQt-x11-gpl-4.3.3.tar.gz) = d36383e40a983f4d5d53b38bb85409e55a82e3aac0d7296abe68d913befa1e55
-SIZE (PyQt-x11-gpl-4.3.3.tar.gz) = 6191266
+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/net/py-qt4-network/pkg-plist b/net/py-qt4-network/pkg-plist
index 13978338e4bf..e694cbb965b2 100644
--- a/net/py-qt4-network/pkg-plist
+++ b/net/py-qt4-network/pkg-plist
@@ -1,25 +1,30 @@
%%PYTHON_SITELIBDIR%%/PyQt4/QtNetwork.so
-%%SIPFILES%%%%SIPDIR%%/QtNetwork/QtNetworkmod.sip
-%%SIPFILES%%%%SIPDIR%%/QtNetwork/qabstractsocket.sip
-%%SIPFILES%%%%SIPDIR%%/QtNetwork/qauthenticator.sip
-%%SIPFILES%%%%SIPDIR%%/QtNetwork/qftp.sip
-%%SIPFILES%%%%SIPDIR%%/QtNetwork/qhostaddress.sip
-%%SIPFILES%%%%SIPDIR%%/QtNetwork/qhostinfo.sip
-%%SIPFILES%%%%SIPDIR%%/QtNetwork/qhttp.sip
-%%SIPFILES%%%%SIPDIR%%/QtNetwork/qnetworkinterface.sip
-%%SIPFILES%%%%SIPDIR%%/QtNetwork/qnetworkproxy.sip
-%%SIPFILES%%%%SIPDIR%%/QtNetwork/qssl.sip
-%%SIPFILES%%%%SIPDIR%%/QtNetwork/qsslcertificate.sip
-%%SIPFILES%%%%SIPDIR%%/QtNetwork/qsslcipher.sip
-%%SIPFILES%%%%SIPDIR%%/QtNetwork/qsslerror.sip
-%%SIPFILES%%%%SIPDIR%%/QtNetwork/qsslkey.sip
-%%SIPFILES%%%%SIPDIR%%/QtNetwork/qsslsocket.sip
-%%SIPFILES%%%%SIPDIR%%/QtNetwork/qtcpserver.sip
-%%SIPFILES%%%%SIPDIR%%/QtNetwork/qtcpsocket.sip
-%%SIPFILES%%%%SIPDIR%%/QtNetwork/qudpsocket.sip
-%%SIPFILES%%%%SIPDIR%%/QtNetwork/qurlinfo.sip
-%%SIPFILES%%@dirrm %%SIPDIR%%/QtNetwork
-%%API%%%%APIFILE%%
-%%API%%@dirrmtry share/qt4/qsci/api/python
-%%API%%@dirrmtry share/qt4/qsci/api
-%%API%%@dirrmtry share/qt4/qsci
+%%SIP%%share/py-sip/QtNetwork/QtNetworkmod.sip
+%%SIP%%share/py-sip/QtNetwork/qabstractsocket.sip
+%%SIP%%share/py-sip/QtNetwork/qauthenticator.sip
+%%SIP%%share/py-sip/QtNetwork/qftp.sip
+%%SIP%%share/py-sip/QtNetwork/qhostaddress.sip
+%%SIP%%share/py-sip/QtNetwork/qhostinfo.sip
+%%SIP%%share/py-sip/QtNetwork/qhttp.sip
+%%SIP%%share/py-sip/QtNetwork/qlocalserver.sip
+%%SIP%%share/py-sip/QtNetwork/qlocalsocket.sip
+%%SIP%%share/py-sip/QtNetwork/qnetworkaccessmanager.sip
+%%SIP%%share/py-sip/QtNetwork/qnetworkcookie.sip
+%%SIP%%share/py-sip/QtNetwork/qnetworkinterface.sip
+%%SIP%%share/py-sip/QtNetwork/qnetworkproxy.sip
+%%SIP%%share/py-sip/QtNetwork/qnetworkreply.sip
+%%SIP%%share/py-sip/QtNetwork/qnetworkrequest.sip
+%%SIP%%share/py-sip/QtNetwork/qssl.sip
+%%SIP%%share/py-sip/QtNetwork/qsslcertificate.sip
+%%SIP%%share/py-sip/QtNetwork/qsslcipher.sip
+%%SIP%%share/py-sip/QtNetwork/qsslconfiguration.sip
+%%SIP%%share/py-sip/QtNetwork/qsslerror.sip
+%%SIP%%share/py-sip/QtNetwork/qsslkey.sip
+%%SIP%%share/py-sip/QtNetwork/qsslsocket.sip
+%%SIP%%share/py-sip/QtNetwork/qtcpserver.sip
+%%SIP%%share/py-sip/QtNetwork/qtcpsocket.sip
+%%SIP%%share/py-sip/QtNetwork/qudpsocket.sip
+%%SIP%%share/py-sip/QtNetwork/qurlinfo.sip
+%%API%%share/qt4/qsci/api/python/QtNetwork.api
+%%SIP%%@dirrm share/py-sip/QtNetwork
+@dirrmtry %%PYTHON_SITELIBDIR%%/PyQt4