aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-qt4-svg
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/py-qt4-svg')
-rw-r--r--graphics/py-qt4-svg/Makefile33
-rw-r--r--graphics/py-qt4-svg/pkg-plist12
2 files changed, 17 insertions, 28 deletions
diff --git a/graphics/py-qt4-svg/Makefile b/graphics/py-qt4-svg/Makefile
index 981d40143a22..cc39f8d7778a 100644
--- a/graphics/py-qt4-svg/Makefile
+++ b/graphics/py-qt4-svg/Makefile
@@ -24,29 +24,28 @@ HAS_CONFIGURE= yes
USE_PYTHON= 2.5+
USE_QT4= svg qmake_build
-OPTIONS= API "Install QtSvg API for QScintilla2" on \
- DEBUG "Enable debugging in generated code" off \
- SIPFILES "Install the QtSvg SIP files" on \
- TRACING "Enable tracing in generated code" off
+OPTIONS= API "Install QtSvg 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 QtSvg
+.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}\
diff --git a/graphics/py-qt4-svg/pkg-plist b/graphics/py-qt4-svg/pkg-plist
index 399158c97171..17a9b17d41c7 100644
--- a/graphics/py-qt4-svg/pkg-plist
+++ b/graphics/py-qt4-svg/pkg-plist
@@ -1,9 +1,9 @@
%%PYTHON_SITELIBDIR%%/PyQt4/QtSvg.so
-%%SIP%%share/py-sip/QtSvg/QtSvgmod.sip
-%%SIP%%share/py-sip/QtSvg/qgraphicssvgitem.sip
-%%SIP%%share/py-sip/QtSvg/qsvggenerator.sip
-%%SIP%%share/py-sip/QtSvg/qsvgrenderer.sip
-%%SIP%%share/py-sip/QtSvg/qsvgwidget.sip
+share/py-sip/QtSvg/QtSvgmod.sip
+share/py-sip/QtSvg/qgraphicssvgitem.sip
+share/py-sip/QtSvg/qsvggenerator.sip
+share/py-sip/QtSvg/qsvgrenderer.sip
+share/py-sip/QtSvg/qsvgwidget.sip
%%API%%share/qt4/qsci/api/python/QtSvg.api
-%%SIP%%@dirrm share/py-sip/QtSvg
+@dirrm share/py-sip/QtSvg
@dirrmtry %%PYTHON_SITELIBDIR%%/PyQt4