aboutsummaryrefslogtreecommitdiff
path: root/www/py-qt4-webkit
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2012-06-09 00:41:21 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2012-06-09 00:41:21 +0000
commit99b882c2416b9d8f786fb0dd08503bd18b212b39 (patch)
treedcea21b73eebc5949aba351ef076d065557ff840 /www/py-qt4-webkit
parent59cb6c5ffacec801f431e8f2054e30c00dcc4bb9 (diff)
downloadports-99b882c2416b9d8f786fb0dd08503bd18b212b39.tar.gz
ports-99b882c2416b9d8f786fb0dd08503bd18b212b39.zip
Notes
Diffstat (limited to 'www/py-qt4-webkit')
-rw-r--r--www/py-qt4-webkit/Makefile33
-rw-r--r--www/py-qt4-webkit/pkg-plist30
2 files changed, 26 insertions, 37 deletions
diff --git a/www/py-qt4-webkit/Makefile b/www/py-qt4-webkit/Makefile
index c2fe2aae0b42..5521ae8fd064 100644
--- a/www/py-qt4-webkit/Makefile
+++ b/www/py-qt4-webkit/Makefile
@@ -23,29 +23,28 @@ HAS_CONFIGURE= yes
USE_PYTHON= 2.5+
USE_QT4= qmake_build gui network webkit
-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 QtWebKit
+.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 "
@@ -54,16 +53,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/www/py-qt4-webkit/pkg-plist b/www/py-qt4-webkit/pkg-plist
index 278fc537ecce..b606a358ed72 100644
--- a/www/py-qt4-webkit/pkg-plist
+++ b/www/py-qt4-webkit/pkg-plist
@@ -1,18 +1,18 @@
%%PYTHON_SITELIBDIR%%/PyQt4/QtWebKit.so
-%%SIP%%share/py-sip/QtWebKit/QtWebKitmod.sip
-%%SIP%%share/py-sip/QtWebKit/qgraphicswebview.sip
-%%SIP%%share/py-sip/QtWebKit/qwebdatabase.sip
-%%SIP%%share/py-sip/QtWebKit/qwebelement.sip
-%%SIP%%share/py-sip/QtWebKit/qwebframe.sip
-%%SIP%%share/py-sip/QtWebKit/qwebhistory.sip
-%%SIP%%share/py-sip/QtWebKit/qwebhistoryinterface.sip
-%%SIP%%share/py-sip/QtWebKit/qwebinspector.sip
-%%SIP%%share/py-sip/QtWebKit/qwebkitversion.sip
-%%SIP%%share/py-sip/QtWebKit/qwebpage.sip
-%%SIP%%share/py-sip/QtWebKit/qwebpluginfactory.sip
-%%SIP%%share/py-sip/QtWebKit/qwebsecurityorigin.sip
-%%SIP%%share/py-sip/QtWebKit/qwebsettings.sip
-%%SIP%%share/py-sip/QtWebKit/qwebview.sip
+share/py-sip/QtWebKit/QtWebKitmod.sip
+share/py-sip/QtWebKit/qgraphicswebview.sip
+share/py-sip/QtWebKit/qwebdatabase.sip
+share/py-sip/QtWebKit/qwebelement.sip
+share/py-sip/QtWebKit/qwebframe.sip
+share/py-sip/QtWebKit/qwebhistory.sip
+share/py-sip/QtWebKit/qwebhistoryinterface.sip
+share/py-sip/QtWebKit/qwebinspector.sip
+share/py-sip/QtWebKit/qwebkitversion.sip
+share/py-sip/QtWebKit/qwebpage.sip
+share/py-sip/QtWebKit/qwebpluginfactory.sip
+share/py-sip/QtWebKit/qwebsecurityorigin.sip
+share/py-sip/QtWebKit/qwebsettings.sip
+share/py-sip/QtWebKit/qwebview.sip
%%API%%share/qt4/qsci/api/python/QtWebKit.api
-%%SIP%%@dirrm share/py-sip/QtWebKit
+@dirrm share/py-sip/QtWebKit
@dirrmtry %%PYTHON_SITELIBDIR%%/PyQt4