aboutsummaryrefslogtreecommitdiff
path: root/misc/py-qt4-demo
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-03-20 12:40:00 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-03-20 12:40:00 +0000
commit6b2bffe139b4a56facf13ee453a24c9ca1ba6d9d (patch)
tree52b588910f5e434c95691c105a41ee4a6ccd8b46 /misc/py-qt4-demo
parentd36ecdb5d4446cf82974c35f6c4bc8d0f4a80a0e (diff)
downloadports-6b2bffe139b4a56facf13ee453a24c9ca1ba6d9d.tar.gz
ports-6b2bffe139b4a56facf13ee453a24c9ca1ba6d9d.zip
Notes
Diffstat (limited to 'misc/py-qt4-demo')
-rw-r--r--misc/py-qt4-demo/Makefile43
-rw-r--r--misc/py-qt4-demo/distinfo6
-rw-r--r--misc/py-qt4-demo/pkg-plist2
3 files changed, 26 insertions, 25 deletions
diff --git a/misc/py-qt4-demo/Makefile b/misc/py-qt4-demo/Makefile
index 8e55ff432c69..9736c55392b5 100644
--- a/misc/py-qt4-demo/Makefile
+++ b/misc/py-qt4-demo/Makefile
@@ -5,16 +5,16 @@
# $FreeBSD$
PORTNAME= demo
-PORTVERSION= 4.3.1
-PORTREVISION= # zero
+PORTVERSION= ${PYQT4_VERSION}
+PORTREVISION= 1
+
CATEGORIES= misc devel python
-MASTER_SITES= http://www.riverbankcomputing.com/Downloads/PyQt4/GPL/ \
- http://freebsd.ricin.com/ports/distfiles/
+MASTER_SITES= ${MASTER_SITES_PYQT4}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}qt4-
-DISTNAME= PyQt-x11-gpl-${PORTVERSION}
+DISTNAME= ${PYQT4_DISTNAME}
-MAINTAINER= danny@ricin.com
-COMMENT= Python bindings for the Qt4 toolkit, demo and other examples
+MAINTAINER= ${PYQT_MAINTAINER}
+COMMENT= Python bindings for the Qt4 toolkit, Qt demo and examples
USE_PYTHON= yes
@@ -23,24 +23,25 @@ OPTIONS= PYQT4 "Install any missing PyQt4 components" on
OPTIONSFILE= ${PORT_DBDIR}/py-qt4-${PORTNAME}/options
EXAMPLESDIR= ${PREFIX}/share/examples/py-qt4
+.include "../../devel/py-sip/files/bsd.pyqt.mk"
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_PYQT4)
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/PyQt4/QtCore.so:${PORTSDIR}/devel/py-qt4-core \
- ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui \
- ${PYTHON_SITELIBDIR}/PyQt4/QtNetwork.so:${PORTSDIR}/net/py-qt4-network \
- ${PYTHON_SITELIBDIR}/PyQt4/QtXml.so:${PORTSDIR}/textproc/py-qt4-xml \
- ${PYTHON_SITELIBDIR}/PyQt4/QtAssistant.so:${PORTSDIR}/devel/py-qt4-assistant \
- ${PYTHON_SITELIBDIR}/PyQt4/QtOpenGL.so:${PORTSDIR}/x11/py-qt4-opengl \
- ${PYTHON_SITELIBDIR}/PyQt4/QtScript.so:${PORTSDIR}/devel/py-qt4-script \
- ${PYTHON_SITELIBDIR}/PyQt4/QtSql.so:${PORTSDIR}/databases/py-qt4-sql \
- ${PYTHON_SITELIBDIR}/PyQt4/QtSvg.so:${PORTSDIR}/graphics/py-qt4-svg \
- ${PYTHON_SITELIBDIR}/PyQt4/QtTest.so:${PORTSDIR}/devel/py-qt4-test \
- ${PYTHON_SITELIBDIR}/PyQt4/QtDesigner.so:${PORTSDIR}/devel/py-qt4-designer \
- ${LOCALBASE}/lib/qt4/plugins/designer/libpythonplugin.so:${PORTSDIR}/devel/py-qt4-designerplugin \
- ${PYTHON_SITELIBDIR}/dbus/mainloop/qt.so:${PORTSDIR}/devel/py-qt4-dbus
+RUN_DEPENDS= ${PKGNAMEPREFIX}core>=${PYQT4_VERSION}:${PORTSDIR}/devel/py-qt4-core \
+ ${PKGNAMEPREFIX}gui>=${PYQT4_VERSION}:${PORTSDIR}/x11-toolkits/py-qt4-gui \
+ ${PKGNAMEPREFIX}network>=${PYQT4_VERSION}:${PORTSDIR}/net/py-qt4-network \
+ ${PKGNAMEPREFIX}xml>=${PYQT4_VERSION}:${PORTSDIR}/textproc/py-qt4-xml \
+ ${PKGNAMEPREFIX}assistant>=${PYQT4_VERSION}:${PORTSDIR}/devel/py-qt4-assistant \
+ ${PKGNAMEPREFIX}opengl>=${PYQT4_VERSION}:${PORTSDIR}/x11/py-qt4-opengl \
+ ${PKGNAMEPREFIX}script>=${PYQT4_VERSION}:${PORTSDIR}/devel/py-qt4-script \
+ ${PKGNAMEPREFIX}sql>=${PYQT4_VERSION}:${PORTSDIR}/databases/py-qt4-sql \
+ ${PKGNAMEPREFIX}svg>=${PYQT4_VERSION}:${PORTSDIR}/graphics/py-qt4-svg \
+ ${PKGNAMEPREFIX}test>=${PYQT4_VERSION}:${PORTSDIR}/devel/py-qt4-test \
+ ${PKGNAMEPREFIX}designer>=${PYQT4_VERSION}:${PORTSDIR}/devel/py-qt4-designer \
+ ${PKGNAMEPREFIX}designerplugin>=${PYQT4_VERSION}:${PORTSDIR}/devel/py-qt4-designerplugin \
+ ${PKGNAMEPREFIX}dbus>=${PYQT4_VERSION}:${PORTSDIR}/devel/py-qt4-dbus
.if !defined(NOPORTDOCS)
-RUN_DEPENDS+= ${LOCALBASE}/share/doc/py-qt4/pyqt4ref.html:${PORTSDIR}/misc/py-qt4-doc
+RUN_DEPENDS+= ${PKGNAMEPREFIX}doc>=${PYQT4_VERSION}:${PORTSDIR}/misc/py-qt4-doc
.endif
.endif
diff --git a/misc/py-qt4-demo/distinfo b/misc/py-qt4-demo/distinfo
index 7f92e8fa957f..8c72753540f7 100644
--- a/misc/py-qt4-demo/distinfo
+++ b/misc/py-qt4-demo/distinfo
@@ -1,3 +1,3 @@
-MD5 (PyQt-x11-gpl-4.3.1.tar.gz) = 5d0095d7f08a973b4a04e09e7f6ab568
-SHA256 (PyQt-x11-gpl-4.3.1.tar.gz) = ed65a89360746a6e07113441a66fbcc545570391ae382fc1004b2f728805d861
-SIZE (PyQt-x11-gpl-4.3.1.tar.gz) = 6176590
+MD5 (PyQt-x11-gpl-4.3.3.tar.gz) = a2ead359f57d84c24bdd10de387e80b4
+SHA256 (PyQt-x11-gpl-4.3.3.tar.gz) = d36383e40a983f4d5d53b38bb85409e55a82e3aac0d7296abe68d913befa1e55
+SIZE (PyQt-x11-gpl-4.3.3.tar.gz) = 6191266
diff --git a/misc/py-qt4-demo/pkg-plist b/misc/py-qt4-demo/pkg-plist
index 4f90c740ecad..bb025dabae16 100644
--- a/misc/py-qt4-demo/pkg-plist
+++ b/misc/py-qt4-demo/pkg-plist
@@ -501,7 +501,7 @@
@dirrm %%PORTEXAMPLES%%%%EXAMPLESDIR%%/draganddrop
@dirrm %%PORTEXAMPLES%%%%EXAMPLESDIR%%/graphicsview/collidingmice/images
@dirrm %%PORTEXAMPLES%%%%EXAMPLESDIR%%/graphicsview/collidingmice
-@dirrm %%PORTEXAMPLES%%%%EXAMPLESDIR%%/graphicsview/dragdroprobot/images
+@dirrm %%PORTEXAMPLES%%%%EXAMPLESDIR%%/graphicsview/dragdroprobot/images/
@dirrm %%PORTEXAMPLES%%%%EXAMPLESDIR%%/graphicsview/dragdroprobot
@dirrm %%PORTEXAMPLES%%%%EXAMPLESDIR%%/graphicsview
@dirrm %%PORTEXAMPLES%%%%EXAMPLESDIR%%/itemviews/chart