aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-03-20 20:40:00 +0800
committermiwi <miwi@FreeBSD.org>2008-03-20 20:40:00 +0800
commit2e75c82c4062429313471e76881d62c67b3af4cf (patch)
treefc43e139a19304e7e6535136855f93ae69d42727 /net
parentb54be1db2c3c1fae82942fb1d95ad988e29e0bd1 (diff)
downloadfreebsd-ports-gnome-2e75c82c4062429313471e76881d62c67b3af4cf.tar.gz
freebsd-ports-gnome-2e75c82c4062429313471e76881d62c67b3af4cf.tar.zst
freebsd-ports-gnome-2e75c82c4062429313471e76881d62c67b3af4cf.zip
- Update to 4.3.3
- Configure.py now has a flag to specify component, patch is now simpler - Update qscintilla2 so version where used - Use bsd.pyqt.mk Submitted by: Danny Pansters <danny@ricin.com> (maintainer via private mail)
Diffstat (limited to 'net')
-rw-r--r--net/py-qt4-network/Makefile26
-rw-r--r--net/py-qt4-network/distinfo6
2 files changed, 17 insertions, 15 deletions
diff --git a/net/py-qt4-network/Makefile b/net/py-qt4-network/Makefile
index a242a70ec6b8..93dd2587672c 100644
--- a/net/py-qt4-network/Makefile
+++ b/net/py-qt4-network/Makefile
@@ -5,19 +5,19 @@
# $FreeBSD$
PORTNAME= network
-PORTVERSION= 4.3.1
-PORTREVISION= # zero
+PORTVERSION= ${PYQT4_VERSION}
+PORTREVISION= 1
+
CATEGORIES= net devel python
-MASTER_SITES= http://www.riverbankcomputing.com/Downloads/PyQt4/GPL/ \
- http://freebsd.ricin.com/ports/distfiles/
+MASTER_SITES= ${MASTER_SITES_PYQT4}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}qt4-
-DISTNAME= PyQt-x11-gpl-${PORTVERSION}
+DISTNAME= ${PYQT4_DISTNAME}
-MAINTAINER= danny@ricin.com
+MAINTAINER= ${PYQT_MAINTAINER}
COMMENT= Python bindings for the Qt4 toolkit, QtNetwork module
-BUILD_DEPENDS= ${LOCALBASE}/bin/sip:${PORTSDIR}/devel/py-sip
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/PyQt4/QtCore.so:${PORTSDIR}/devel/py-qt4-core
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sip>=${SIP_VERSION}:${PORTSDIR}/devel/py-sip
+RUN_DEPENDS= ${PKGNAMEPREFIX}core>=${PYQT4_VERSION}:${PORTSDIR}/devel/py-qt4-core
HAS_CONFIGURE= yes
USE_PYTHON= 2.5+
@@ -35,8 +35,10 @@ SIPDIR= ${PREFIX}/share/py-sip
CONFIGURE_ENV+= PYQT4_COMPONENT="${PORTNAME}"
ARGS= -b ${PREFIX}/bin\
-d ${PYTHON_SITELIBDIR}\
- -q ${QT_PREFIX}/bin/qmake-qt4
+ -q ${QT_PREFIX}/bin/qmake-qt4\
+ --confirm-license
+.include "../../devel/py-sip/files/bsd.pyqt.mk"
.include <bsd.port.pre.mk>
.if defined(WITH_DEBUG)
@@ -47,7 +49,7 @@ ARGS+= --no-qsci-api
PLIST_SUB+= API="@comment "
PLIST_SUB+= APIFILE="@comment "
.else
-LIB_DEPENDS+= qscintilla2.2:${PORTSDIR}/devel/qscintilla2
+LIB_DEPENDS+= qscintilla2.3:${PORTSDIR}/devel/qscintilla2
ARGS+= --qsci-api
PLIST_SUB+= API=""
PLIST_SUB+= APIFILE="share/qt4/qsci/api/python/QtNetwork.api"
@@ -67,8 +69,8 @@ ARGS+= --trace
ARGS+= --enable QtNetwork
do-configure:
- ( cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV}\
- ${PYTHON_CMD} configure.py ${ARGS} )
+ cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV}\
+ ${PYTHON_CMD} configure.py ${ARGS}
post-configure:
${REINPLACE_CMD} -e 's|mkspecs/freebsd-g++|share/qt4/mkspecs/freebsd-g++|'\
diff --git a/net/py-qt4-network/distinfo b/net/py-qt4-network/distinfo
index 7f92e8fa957f..8c72753540f7 100644
--- a/net/py-qt4-network/distinfo
+++ b/net/py-qt4-network/distinfo
@@ -1,3 +1,3 @@
-MD5 (PyQt-x11-gpl-4.3.1.tar.gz) = 5d0095d7f08a973b4a04e09e7f6ab568
-SHA256 (PyQt-x11-gpl-4.3.1.tar.gz) = ed65a89360746a6e07113441a66fbcc545570391ae382fc1004b2f728805d861
-SIZE (PyQt-x11-gpl-4.3.1.tar.gz) = 6176590
+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