aboutsummaryrefslogtreecommitdiff
path: root/devel/py-qt4
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2010-06-01 22:48:46 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2010-06-01 22:48:46 +0000
commit4d05cbd267a38ef5dd0036072de641bdcb3532d9 (patch)
treee1b5c7cef2a97af9e0f0a1a975948208e6f4c980 /devel/py-qt4
parent879610b0130145494fad238a80202167c94a409d (diff)
downloadports-4d05cbd267a38ef5dd0036072de641bdcb3532d9.tar.gz
ports-4d05cbd267a38ef5dd0036072de641bdcb3532d9.zip
Notes
Diffstat (limited to 'devel/py-qt4')
-rw-r--r--devel/py-qt4/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/devel/py-qt4/Makefile b/devel/py-qt4/Makefile
index 91417b9805b4..757c6b3b84a6 100644
--- a/devel/py-qt4/Makefile
+++ b/devel/py-qt4/Makefile
@@ -18,8 +18,6 @@ COMMENT?= The "meta-port" for PyQt4
USE_PYTHON= yes
-EXAMPLESDIR= ${PREFIX}/share/examples/py-qt4
-
NO_BUILD= yes
.include "../../devel/py-sip/files/bsd.pyqt.mk"
@@ -42,8 +40,12 @@ RUN_DEPENDS+= ${PKGNAMEPREFIX2}core>=${PYQT4_VERSION}:${PORTSDIR}/devel/py-qt4-c
${PKGNAMEPREFIX2}webkit>=${PYQT4_VERSION}:${PORTSDIR}/www/py-qt4-webkit \
${PKGNAMEPREFIX2}multimedia>=${PYQT4_VERSION}:${PORTSDIR}/multimedia/py-qt4-multimedia \
${PKGNAMEPREFIX2}phonon>=${PYQT4_VERSION}:${PORTSDIR}/multimedia/py-qt4-phonon \
- ${PKGNAMEPREFIX2}qscintilla2>=${QSCI2_VERSION}:${PORTSDIR}/devel/py-qt4-qscintilla2 \
- ${EXAMPLESDIR}/README:${PORTSDIR}/misc/py-qt4-demo
+ ${PKGNAMEPREFIX2}qscintilla2>=${QSCI2_VERSION}:${PORTSDIR}/devel/py-qt4-qscintilla2
+
+.if !defined(NOPORTEXAMPLES)
+RUN_DEPENDS+= ${PKGNAMEPREFIX2}demo>=${PYQT4_VERSION}:${PORTSDIR}/misc/py-qt4-demo
+.endif
+
.if !defined(NOPORTDOCS)
RUN_DEPENDS+= ${PKGNAMEPREFIX2}doc>=${PYQT4_VERSION}:${PORTSDIR}/misc/py-qt4-doc
.endif