diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2009-02-14 22:58:55 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2009-02-14 22:58:55 +0000 |
commit | 2d8b5de9c8741fee001355c270847ea6edebd952 (patch) | |
tree | 94cebcca98b96f7b4488709cf970696ac272c0e6 /textproc/py-qt4-xmlpatterns | |
parent | de086ca81bb97192fb9cd50dba868f783132c321 (diff) | |
download | ports-2d8b5de9c8741fee001355c270847ea6edebd952.tar.gz ports-2d8b5de9c8741fee001355c270847ea6edebd952.zip |
Notes
Diffstat (limited to 'textproc/py-qt4-xmlpatterns')
-rw-r--r-- | textproc/py-qt4-xmlpatterns/Makefile | 78 | ||||
-rw-r--r-- | textproc/py-qt4-xmlpatterns/distinfo | 3 | ||||
-rw-r--r-- | textproc/py-qt4-xmlpatterns/pkg-descr | 4 | ||||
-rw-r--r-- | textproc/py-qt4-xmlpatterns/pkg-plist | 17 |
4 files changed, 102 insertions, 0 deletions
diff --git a/textproc/py-qt4-xmlpatterns/Makefile b/textproc/py-qt4-xmlpatterns/Makefile new file mode 100644 index 000000000000..e52327e42017 --- /dev/null +++ b/textproc/py-qt4-xmlpatterns/Makefile @@ -0,0 +1,78 @@ +# New ports collection makefile for: py-qt4-xml +# Date created: 2009-01-03 +# Whom: Dima Panv <fluffy@fluffy.khv.ru> +# +# $FreeBSD$ + +PORTNAME= xmlpatterns +PORTVERSION= ${PYQT4_VERSION} +CATEGORIES= textproc devel python +MASTER_SITES= ${MASTER_SITES_PYQT4} +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}qt4- +DISTNAME= ${PYQT4_DISTNAME} + +MAINTAINER= kde@FreeBSD.org +COMMENT= Python bindings for the Qt4 toolkit, QtXmlPatterns module + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sip>=${SIP_VERSION}:${PORTSDIR}/devel/py-sip +RUN_DEPENDS= ${PKGNAMEPREFIX}xml>=${PYQT4_VERSION}:${PORTSDIR}/textproc/py-qt4-xml + +HAS_CONFIGURE= yes +USE_PYTHON= 2.5+ +USE_QT_VER= 4 +QT_COMPONENTS= xmlpatterns qmake_build + +OPTIONS= API "Install QtXml API for QScintilla2" on \ + DEBUG "Enable debugging in generated code" off \ + SIPFILES "Install the QtXml SIP files" on \ + TRACING "Enable tracing in generated code" off + +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 ${PYTHONPREFIX_SITELIBDIR}\ + -p ${PREFIX}/${QT_PLUGINDIR_REL}\ + -q ${QMAKE}\ + --confirm-license\ + --enable QtXmlPatterns + +.include "../../devel/py-sip/files/bsd.pyqt.mk" +.include <bsd.port.pre.mk> + +.if defined(WITH_DEBUG) +ARGS+= --debug +.endif +.if defined(WITHOUT_API) +ARGS+= --no-qsci-api +PLIST_SUB+= API="@comment " +.else +LIB_DEPENDS+= qscintilla2.5:${PORTSDIR}/devel/qscintilla2 +ARGS+= --qsci-api --qsci-api-destdir=${QSCIDIR} +PLIST_SUB+= API="" +.endif +.if defined(WITHOUT_SIPFILES) +ARGS+= --no-sip-files +PLIST_SUB+= SIP="@comment " +.else +ARGS+= --sipdir ${SIPDIR} +PLIST_SUB+= SIP="" +.endif +.if defined(WITH_TRACING) +ARGS+= --trace +.endif + +do-configure: + cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV}\ + ${PYTHON_CMD} configure.py ${ARGS} + +post-configure: + ${REINPLACE_CMD} -e 's|mkspecs/freebsd-g++|share/qt4/mkspecs/freebsd-g++|'\ + -e 's|CC = cc|CC = ${CC}|'\ + -e 's|CXX = c++|CXX = ${CXX}|'\ + -e 's|LINK = c++|LINK = ${CXX}|'\ + ${WRKSRC}/QtXmlPatterns/Makefile + +.include <bsd.port.post.mk> diff --git a/textproc/py-qt4-xmlpatterns/distinfo b/textproc/py-qt4-xmlpatterns/distinfo new file mode 100644 index 000000000000..886226b81fb2 --- /dev/null +++ b/textproc/py-qt4-xmlpatterns/distinfo @@ -0,0 +1,3 @@ +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/textproc/py-qt4-xmlpatterns/pkg-descr b/textproc/py-qt4-xmlpatterns/pkg-descr new file mode 100644 index 000000000000..e65f7027e602 --- /dev/null +++ b/textproc/py-qt4-xmlpatterns/pkg-descr @@ -0,0 +1,4 @@ +PyQt4 is a set of Python bindings for Trolltech's Qt4 application framework. +This package provides the QtXmlPatterns module. + +WWW: http://www.riverbankcomputing.co.uk/pyqt/ diff --git a/textproc/py-qt4-xmlpatterns/pkg-plist b/textproc/py-qt4-xmlpatterns/pkg-plist new file mode 100644 index 000000000000..95b871342db6 --- /dev/null +++ b/textproc/py-qt4-xmlpatterns/pkg-plist @@ -0,0 +1,17 @@ +%%PYTHON_SITELIBDIR%%/PyQt4/QtXmlPatterns.so +%%SIP%%share/py-sip/QtXmlPatterns/QtXmlPatternsmod.sip +%%SIP%%share/py-sip/QtXmlPatterns/qabstractmessagehandler.sip +%%SIP%%share/py-sip/QtXmlPatterns/qabstracturiresolver.sip +%%SIP%%share/py-sip/QtXmlPatterns/qabstractxmlnodemodel.sip +%%SIP%%share/py-sip/QtXmlPatterns/qabstractxmlreceiver.sip +%%SIP%%share/py-sip/QtXmlPatterns/qsimplexmlnodemodel.sip +%%SIP%%share/py-sip/QtXmlPatterns/qsourcelocation.sip +%%SIP%%share/py-sip/QtXmlPatterns/qxmlformatter.sip +%%SIP%%share/py-sip/QtXmlPatterns/qxmlname.sip +%%SIP%%share/py-sip/QtXmlPatterns/qxmlnamepool.sip +%%SIP%%share/py-sip/QtXmlPatterns/qxmlquery.sip +%%SIP%%share/py-sip/QtXmlPatterns/qxmlresultitems.sip +%%SIP%%share/py-sip/QtXmlPatterns/qxmlserializer.sip +%%API%%share/qt4/qsci/api/python/QtXmlPatterns.api +%%SIP%%@dirrm share/py-sip/QtXmlPatterns +@dirrmtry %%PYTHON_SITELIBDIR%%/PyQt4 |