aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/py-gui
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2006-06-25 01:03:55 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2006-06-25 01:03:55 +0000
commit7a3e125c5944cb31356eefddfaa28c23ae8a4e06 (patch)
tree98b308f150705d0e2b7299927ec0170846929a40 /x11-toolkits/py-gui
parent5d69b5455895771cf345ad6d9314eec812810fa9 (diff)
downloadports-7a3e125c5944cb31356eefddfaa28c23ae8a4e06.tar.gz
ports-7a3e125c5944cb31356eefddfaa28c23ae8a4e06.zip
Notes
Diffstat (limited to 'x11-toolkits/py-gui')
-rw-r--r--x11-toolkits/py-gui/Makefile20
-rw-r--r--x11-toolkits/py-gui/distinfo6
-rw-r--r--x11-toolkits/py-gui/pkg-plist52
3 files changed, 60 insertions, 18 deletions
diff --git a/x11-toolkits/py-gui/Makefile b/x11-toolkits/py-gui/Makefile
index e142a80010ae..8577a73264a8 100644
--- a/x11-toolkits/py-gui/Makefile
+++ b/x11-toolkits/py-gui/Makefile
@@ -5,13 +5,13 @@
# $FreeBSD$
PORTNAME= gui
-PORTVERSION= 1.7
+PORTVERSION= 1.7.2
CATEGORIES= x11-toolkits python
MASTER_SITES= http://www.cosc.canterbury.ac.nz/~greg/python_gui/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= PyGUI-${PORTVERSION}
+DISTNAME= PyGUI-${PORTVERSION}-1
-MAINTAINER= perky@FreeBSD.org
+MAINTAINER= alex@foxybanana.com
COMMENT= A cross-platform pythonic GUI API
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/Pyrex/Distutils/__init__.py:${PORTSDIR}/devel/pyrex
@@ -23,6 +23,16 @@ USE_GNOME= pygtk2
DOCSDIR= share/doc/${PKGNAMEPREFIX}${PORTNAME}
EXAMPLESDIR= share/examples/${PKGNAMEPREFIX}${PORTNAME}
+WRKSRC= ${WRKDIR}/PyGUI-${PORTVERSION}
+
+OPTIONS= GL "Enable GL support" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_GL)
+RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/gdkgl/__init__.py:${PORTSDIR}/x11-toolkits/py-gtkglext
+.endif
+
post-extract:
${RM} -rf ${WRKSRC}/GUI/Cocoa
${TOUCH} ${WRKSRC}/GUI/Gtk/__init__.py \
@@ -36,8 +46,10 @@ post-install:
${MKDIR} ${PREFIX}/${DOCSDIR}
${TAR} -C ${WRKSRC}/Doc -cf - . | ${TAR} -C ${PREFIX}/${DOCSDIR} -xf -
${MKDIR} ${PREFIX}/${EXAMPLESDIR}
+ ${RM} -f ${WRKSRC}/Demos/BlobEdit/.gdb_history \
+ ${WRKSRC}/Demos/BlobEdit/Makefile
${TAR} -C ${WRKSRC}/Demos -cf - . | \
${TAR} -C ${PREFIX}/${EXAMPLESDIR} -xf -
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/x11-toolkits/py-gui/distinfo b/x11-toolkits/py-gui/distinfo
index c17ec2fdacfe..047ff69c8a1e 100644
--- a/x11-toolkits/py-gui/distinfo
+++ b/x11-toolkits/py-gui/distinfo
@@ -1,3 +1,3 @@
-SHA256 (PyGUI-1.7.tar.gz) = ffaa4a126d83c4981b76046afb3b7813f29a464d20634d0de5d0ad2cd2aa4671
-MD5 (PyGUI-1.7.tar.gz) = 600eb300f943b819ceaf047eee379c72
-SIZE (PyGUI-1.7.tar.gz) = 415848
+MD5 (PyGUI-1.7.2-1.tar.gz) = f6da1391f4c41e1bd8d605fc30f3c651
+SHA256 (PyGUI-1.7.2-1.tar.gz) = f4c476972d511c262fae911eb14830d34dbde68e2f595b3c6ecfa165eb7ec3ac
+SIZE (PyGUI-1.7.2-1.tar.gz) = 427047
diff --git a/x11-toolkits/py-gui/pkg-plist b/x11-toolkits/py-gui/pkg-plist
index 9caed84868c7..eeb9a15919b0 100644
--- a/x11-toolkits/py-gui/pkg-plist
+++ b/x11-toolkits/py-gui/pkg-plist
@@ -1,3 +1,17 @@
+%%PYTHON_SITELIBDIR%%/GUI/Resources/arrow.hot
+%%PYTHON_SITELIBDIR%%/GUI/Resources/arrow.tiff
+%%PYTHON_SITELIBDIR%%/GUI/Resources/crosshair.hot
+%%PYTHON_SITELIBDIR%%/GUI/Resources/crosshair.tiff
+%%PYTHON_SITELIBDIR%%/GUI/Resources/finger.hot
+%%PYTHON_SITELIBDIR%%/GUI/Resources/finger.tiff
+%%PYTHON_SITELIBDIR%%/GUI/Resources/fist.hot
+%%PYTHON_SITELIBDIR%%/GUI/Resources/fist.tiff
+%%PYTHON_SITELIBDIR%%/GUI/Resources/hand.hot
+%%PYTHON_SITELIBDIR%%/GUI/Resources/hand.tiff
+%%PYTHON_SITELIBDIR%%/GUI/Resources/ibeam.hot
+%%PYTHON_SITELIBDIR%%/GUI/Resources/ibeam.tiff
+%%PYTHON_SITELIBDIR%%/GUI/Resources/poof.hot
+%%PYTHON_SITELIBDIR%%/GUI/Resources/poof.tiff
%%PYTHON_SITELIBDIR%%/GUI/Generic/Actions.py
%%PYTHON_SITELIBDIR%%/GUI/Generic/Actions.pyc
%%PYTHON_SITELIBDIR%%/GUI/Generic/Actions.pyo
@@ -16,6 +30,9 @@
%%PYTHON_SITELIBDIR%%/GUI/Generic/Exceptions.py
%%PYTHON_SITELIBDIR%%/GUI/Generic/Exceptions.pyc
%%PYTHON_SITELIBDIR%%/GUI/Generic/Exceptions.pyo
+%%PYTHON_SITELIBDIR%%/GUI/Generic/FileDialogs.py
+%%PYTHON_SITELIBDIR%%/GUI/Generic/FileDialogs.pyc
+%%PYTHON_SITELIBDIR%%/GUI/Generic/FileDialogs.pyo
%%PYTHON_SITELIBDIR%%/GUI/Generic/GAlerts.py
%%PYTHON_SITELIBDIR%%/GUI/Generic/GAlerts.pyc
%%PYTHON_SITELIBDIR%%/GUI/Generic/GAlerts.pyo
@@ -127,6 +144,9 @@
%%PYTHON_SITELIBDIR%%/GUI/Generic/GScrollableViews.py
%%PYTHON_SITELIBDIR%%/GUI/Generic/GScrollableViews.pyc
%%PYTHON_SITELIBDIR%%/GUI/Generic/GScrollableViews.pyo
+%%PYTHON_SITELIBDIR%%/GUI/Generic/GSliders.py
+%%PYTHON_SITELIBDIR%%/GUI/Generic/GSliders.pyc
+%%PYTHON_SITELIBDIR%%/GUI/Generic/GSliders.pyo
%%PYTHON_SITELIBDIR%%/GUI/Generic/GTasks.py
%%PYTHON_SITELIBDIR%%/GUI/Generic/GTasks.pyc
%%PYTHON_SITELIBDIR%%/GUI/Generic/GTasks.pyo
@@ -181,6 +201,9 @@
%%PYTHON_SITELIBDIR%%/GUI/Gtk/BaseAlerts.py
%%PYTHON_SITELIBDIR%%/GUI/Gtk/BaseAlerts.pyc
%%PYTHON_SITELIBDIR%%/GUI/Gtk/BaseAlerts.pyo
+%%PYTHON_SITELIBDIR%%/GUI/Gtk/BaseFileDialogs.py
+%%PYTHON_SITELIBDIR%%/GUI/Gtk/BaseFileDialogs.pyc
+%%PYTHON_SITELIBDIR%%/GUI/Gtk/BaseFileDialogs.pyo
%%PYTHON_SITELIBDIR%%/GUI/Gtk/Buttons.py
%%PYTHON_SITELIBDIR%%/GUI/Gtk/Buttons.pyc
%%PYTHON_SITELIBDIR%%/GUI/Gtk/Buttons.pyo
@@ -214,9 +237,6 @@
%%PYTHON_SITELIBDIR%%/GUI/Gtk/Events.py
%%PYTHON_SITELIBDIR%%/GUI/Gtk/Events.pyc
%%PYTHON_SITELIBDIR%%/GUI/Gtk/Events.pyo
-%%PYTHON_SITELIBDIR%%/GUI/Gtk/FileDialogs.py
-%%PYTHON_SITELIBDIR%%/GUI/Gtk/FileDialogs.pyc
-%%PYTHON_SITELIBDIR%%/GUI/Gtk/FileDialogs.pyo
%%PYTHON_SITELIBDIR%%/GUI/Gtk/Files.py
%%PYTHON_SITELIBDIR%%/GUI/Gtk/Files.pyc
%%PYTHON_SITELIBDIR%%/GUI/Gtk/Files.pyo
@@ -265,6 +285,9 @@
%%PYTHON_SITELIBDIR%%/GUI/Gtk/ScrollableViews.py
%%PYTHON_SITELIBDIR%%/GUI/Gtk/ScrollableViews.pyc
%%PYTHON_SITELIBDIR%%/GUI/Gtk/ScrollableViews.pyo
+%%PYTHON_SITELIBDIR%%/GUI/Gtk/Sliders.py
+%%PYTHON_SITELIBDIR%%/GUI/Gtk/Sliders.pyc
+%%PYTHON_SITELIBDIR%%/GUI/Gtk/Sliders.pyo
%%PYTHON_SITELIBDIR%%/GUI/Gtk/StdCursors.py
%%PYTHON_SITELIBDIR%%/GUI/Gtk/StdCursors.pyc
%%PYTHON_SITELIBDIR%%/GUI/Gtk/StdCursors.pyo
@@ -315,6 +338,7 @@
%%PORTDOCS%%%%DOCSDIR%%/DisplayList.html
%%PORTDOCS%%%%DOCSDIR%%/Document.html
%%PORTDOCS%%%%DOCSDIR%%/Event.html
+%%PORTDOCS%%%%DOCSDIR%%/Exceptions.html
%%PORTDOCS%%%%DOCSDIR%%/FileRef.html
%%PORTDOCS%%%%DOCSDIR%%/FileType.html
%%PORTDOCS%%%%DOCSDIR%%/Font.html
@@ -339,6 +363,7 @@
%%PORTDOCS%%%%DOCSDIR%%/Resources.html
%%PORTDOCS%%%%DOCSDIR%%/ScrollableView.html
%%PORTDOCS%%%%DOCSDIR%%/ShareGroup.html
+%%PORTDOCS%%%%DOCSDIR%%/Slider.html
%%PORTDOCS%%%%DOCSDIR%%/StdColors.html
%%PORTDOCS%%%%DOCSDIR%%/StdCursors.html
%%PORTDOCS%%%%DOCSDIR%%/StdFonts.html
@@ -372,17 +397,22 @@
%%PORTDOCS%%%%DOCSDIR%%/using_the_view_class.html
%%PORTDOCS%%%%DOCSDIR%%/view-model.cwk
%%PORTDOCS%%%%DOCSDIR%%/view-model.jpg
-%%PORTDOCS%%%%EXAMPLESDIR%%/blobedit.py
-%%PORTDOCS%%%%EXAMPLESDIR%%/frown.blob
-%%PORTDOCS%%%%EXAMPLESDIR%%/gt
-%%PORTDOCS%%%%EXAMPLESDIR%%/line.blob
-%%PORTDOCS%%%%EXAMPLESDIR%%/mt
-%%PORTDOCS%%%%EXAMPLESDIR%%/smile.blob
-%%PORTDOCS%%%%EXAMPLESDIR%%/test.blob
-%%PORTDOCS%%%%EXAMPLESDIR%%/zsx.blob
+%%PORTDOCS%%%%EXAMPLESDIR%%/BlobEdit/blobedit.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/BlobEdit/Resources/blob.tiff
+%%PORTDOCS%%%%EXAMPLESDIR%%/BlobEdit/Resources/blob_app.icns
+%%PORTDOCS%%%%EXAMPLESDIR%%/BlobEdit/Resources/blob_file.icns
+%%PORTDOCS%%%%EXAMPLESDIR%%/BlobEdit/Samples/asdf.blob
+%%PORTDOCS%%%%EXAMPLESDIR%%/BlobEdit/Samples/frown.blob
+%%PORTDOCS%%%%EXAMPLESDIR%%/BlobEdit/Samples/line.blob
+%%PORTDOCS%%%%EXAMPLESDIR%%/BlobEdit/Samples/smile.blob
+%%PORTDOCS%%%%EXAMPLESDIR%%/BlobEdit/setup.py
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/BlobEdit/Resources
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/BlobEdit/Samples
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/BlobEdit
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%/ToDo
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm %%PYTHON_SITELIBDIR%%/GUI/Resources
@dirrm %%PYTHON_SITELIBDIR%%/GUI/Gtk
@dirrm %%PYTHON_SITELIBDIR%%/GUI/Generic
@dirrm %%PYTHON_SITELIBDIR%%/GUI