diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-03-20 12:40:00 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-03-20 12:40:00 +0000 |
commit | 6b2bffe139b4a56facf13ee453a24c9ca1ba6d9d (patch) | |
tree | 52b588910f5e434c95691c105a41ee4a6ccd8b46 /x11-toolkits/py-qt4-gui/Makefile | |
parent | d36ecdb5d4446cf82974c35f6c4bc8d0f4a80a0e (diff) | |
download | ports-6b2bffe139b4a56facf13ee453a24c9ca1ba6d9d.tar.gz ports-6b2bffe139b4a56facf13ee453a24c9ca1ba6d9d.zip |
Notes
Diffstat (limited to 'x11-toolkits/py-qt4-gui/Makefile')
-rw-r--r-- | x11-toolkits/py-qt4-gui/Makefile | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/x11-toolkits/py-qt4-gui/Makefile b/x11-toolkits/py-qt4-gui/Makefile index fc2ac9cdb95b..f64b924711bc 100644 --- a/x11-toolkits/py-qt4-gui/Makefile +++ b/x11-toolkits/py-qt4-gui/Makefile @@ -5,24 +5,24 @@ # $FreeBSD$ PORTNAME= gui -PORTVERSION= 4.3.1 -PORTREVISION= # zero +PORTVERSION= ${PYQT4_VERSION} +PORTREVISION= 1 + CATEGORIES= x11-toolkits 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, QtGui 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+ USE_QT_VER= 4 -QT_COMPONENTS= gui imageformats iconengines qmake +QT_COMPONENTS= gui imageformats inputmethods iconengines qmake OPTIONS= API "Install QtGui API for QScintilla2" on \ DEBUG "Enable debugging in generated code" off \ @@ -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/QtGui.api" |