aboutsummaryrefslogtreecommitdiff
path: root/databases/py-qt4-sql/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 /databases/py-qt4-sql/Makefile
parentd36ecdb5d4446cf82974c35f6c4bc8d0f4a80a0e (diff)
downloadports-6b2bffe139b4a56facf13ee453a24c9ca1ba6d9d.tar.gz
ports-6b2bffe139b4a56facf13ee453a24c9ca1ba6d9d.zip
Notes
Diffstat (limited to 'databases/py-qt4-sql/Makefile')
-rw-r--r--databases/py-qt4-sql/Makefile22
1 files changed, 12 insertions, 10 deletions
diff --git a/databases/py-qt4-sql/Makefile b/databases/py-qt4-sql/Makefile
index cf61f3f70c47..d6defef1b40c 100644
--- a/databases/py-qt4-sql/Makefile
+++ b/databases/py-qt4-sql/Makefile
@@ -5,19 +5,19 @@
# $FreeBSD$
PORTNAME= sql
-PORTVERSION= 4.3.1
-PORTREVISION= # zero
+PORTVERSION= ${PYQT4_VERSION}
+PORTREVISION= 1
+
CATEGORIES= databases 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, QtSql module
-BUILD_DEPENDS= ${LOCALBASE}/bin/sip:${PORTSDIR}/devel/py-sip
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui
+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+
@@ -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/QtSql.api"