diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2012-06-09 00:41:21 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2012-06-09 00:41:21 +0000 |
commit | 99b882c2416b9d8f786fb0dd08503bd18b212b39 (patch) | |
tree | dcea21b73eebc5949aba351ef076d065557ff840 /textproc/py-qt4-xml/Makefile | |
parent | 59cb6c5ffacec801f431e8f2054e30c00dcc4bb9 (diff) |
Notes
Diffstat (limited to 'textproc/py-qt4-xml/Makefile')
-rw-r--r-- | textproc/py-qt4-xml/Makefile | 33 |
1 files changed, 11 insertions, 22 deletions
diff --git a/textproc/py-qt4-xml/Makefile b/textproc/py-qt4-xml/Makefile index ccf894bd59ab..2ed8c60bbae8 100644 --- a/textproc/py-qt4-xml/Makefile +++ b/textproc/py-qt4-xml/Makefile @@ -24,29 +24,28 @@ HAS_CONFIGURE= yes USE_PYTHON= 2.5+ USE_QT4= xml qmake_build moc_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 +OPTIONS= API "Install QtXml API for QScintilla2" on 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\ +ARGS= -b ${PREFIX}/bin \ + -d ${PYTHONPREFIX_SITELIBDIR} \ + -p ${PREFIX}/${QT_PLUGINDIR_REL} \ + -q ${QMAKE} \ + --confirm-license \ + --sipdir ${SIPDIR} \ --enable QtXml +.if defined(WITH_DEBUG) +ARGS+= --debug --trace +.endif + .include "../../devel/py-sip/files/bsd.pyqt.mk" .include <bsd.port.options.mk> -.if defined(WITH_DEBUG) -ARGS+= --debug -.endif .if defined(WITHOUT_API) ARGS+= --no-qsci-api PLIST_SUB+= API="@comment " @@ -55,16 +54,6 @@ LIB_DEPENDS+= qscintilla2.8:${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}\ |