aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-qt4
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2010-06-02 06:48:46 +0800
committermakc <makc@FreeBSD.org>2010-06-02 06:48:46 +0800
commit575cf9edab6ef0e2d974d043fc6fffafb854e594 (patch)
tree352268651e7a4d309e48fb6c2f3941c799f4ec14 /devel/py-qt4
parent33d098a70dad6f30a38940a8b04a8263f7e11cdc (diff)
downloadfreebsd-ports-gnome-575cf9edab6ef0e2d974d043fc6fffafb854e594.tar.gz
freebsd-ports-gnome-575cf9edab6ef0e2d974d043fc6fffafb854e594.tar.zst
freebsd-ports-gnome-575cf9edab6ef0e2d974d043fc6fffafb854e594.zip
Respect NOPORTEXAMPLES
Fix build Reported by: QAT
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