aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-qt4-xml/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-03-20 12:40:00 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-03-20 12:40:00 +0000
commit6b2bffe139b4a56facf13ee453a24c9ca1ba6d9d (patch)
tree52b588910f5e434c95691c105a41ee4a6ccd8b46 /textproc/py-qt4-xml/Makefile
parentd36ecdb5d4446cf82974c35f6c4bc8d0f4a80a0e (diff)
downloadports-6b2bffe139b4a56facf13ee453a24c9ca1ba6d9d.tar.gz
ports-6b2bffe139b4a56facf13ee453a24c9ca1ba6d9d.zip
Notes
Diffstat (limited to 'textproc/py-qt4-xml/Makefile')
-rw-r--r--textproc/py-qt4-xml/Makefile22
1 files changed, 12 insertions, 10 deletions
diff --git a/textproc/py-qt4-xml/Makefile b/textproc/py-qt4-xml/Makefile
index 1076e3571425..47f2edd3fb03 100644
--- a/textproc/py-qt4-xml/Makefile
+++ b/textproc/py-qt4-xml/Makefile
@@ -5,19 +5,19 @@
# $FreeBSD$
PORTNAME= xml
-PORTVERSION= 4.3.1
-PORTREVISION= # zero
+PORTVERSION= ${PYQT4_VERSION}
+PORTREVISION= 1
+
CATEGORIES= textproc 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, QtXml 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/QtXml.api"