summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/py-gtk
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>1999-09-19 15:48:50 +0000
committernectar <nectar@FreeBSD.org>1999-09-19 15:48:50 +0000
commit74daf5366a4ad6f2218186ec5ef5fec7a7d2d4ab (patch)
tree45f5527bb86a7d47c272f962bf8b714a41d78adb /x11-toolkits/py-gtk
parent75edf3ceef561889b47ba334f6e745102651193c (diff)
downloadFreeBSD-ports-74daf5366a4ad6f2218186ec5ef5fec7a7d2d4ab.zip
FreeBSD-ports-74daf5366a4ad6f2218186ec5ef5fec7a7d2d4ab.tar.gz
Step one of splitting py-gnome into py-gtk and py-gnome so that folks
may use the Python GTK bindings without all the GNOME cruft. This is py-gtk-0.6.2, built from sources in the py-gnome-1.0.4 distfile.
Diffstat (limited to 'x11-toolkits/py-gtk')
-rw-r--r--x11-toolkits/py-gtk/Makefile98
-rw-r--r--x11-toolkits/py-gtk/pkg-comment2
-rw-r--r--x11-toolkits/py-gtk/pkg-descr7
-rw-r--r--x11-toolkits/py-gtk/pkg-plist122
4 files changed, 94 insertions, 135 deletions
diff --git a/x11-toolkits/py-gtk/Makefile b/x11-toolkits/py-gtk/Makefile
index b6a5476..ebe2f49 100644
--- a/x11-toolkits/py-gtk/Makefile
+++ b/x11-toolkits/py-gtk/Makefile
@@ -1,14 +1,14 @@
-# New ports collection makefile for: py-gnome
-# Version required: 1.0.1
-# Date created: 03/14/1999
+# New ports collection makefile for: py-gtk
+# Version required: 0.6.2
+# Date created: 09/14/1999
# Whom: nectar@FreeBSD.org
#
# $FreeBSD$
#
DISTNAME= gnome-python-1.0.4
-PKGNAME= py-gnome-1.0.4
-CATEGORIES= x11-toolkits python gnome
+PKGNAME= py-gtk-0.6.2
+CATEGORIES= x11-toolkits python
MASTER_SITES= ftp://ftp.daa.com.au/pub/james/python/ \
ftp://ftp.gimp.org/pub/gtk/python/ \
ftp://infosoc.uni-koeln.de/pub/ftp.gimp.org/pub/gtk/python/ \
@@ -17,74 +17,38 @@ MASTER_SITES= ftp://ftp.daa.com.au/pub/james/python/ \
MAINTAINER= nectar@FreeBSD.org
-BUILD_DEPENDS= python:${PORTSDIR}/lang/python
-LIB_DEPENDS= capplet.1:${PORTSDIR}/sysutils/gnomecontrolcenter
-RUN_DEPENDS= python:${PORTSDIR}/lang/python
-
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+BUILD_DEPENDS= python1.5:${PORTSDIR}/lang/python
+LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
+ Imlib.4:${PORTSDIR}/graphics/imlib
+RUN_DEPENDS= python1.5:${PORTSDIR}/lang/python
+GTK_CONFIG= ${X11BASE}/bin/gtk12-config
GNU_CONFIGURE= yes
USE_GMAKE= yes
-CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}"
-PLIST= ${WRKSRC}/PLIST
-
-DOCDIR= share/doc/py-gnome
-DOCFILES= README:py-gnome.README pygtk/README:py-gtk.README \
- pygtk/MAPPING:MAPPING.py-gtk
-
-EGDIR= share/examples/py-gnome
-EGSUBDIRS= gnome gtk gtk/glade gtk/ide gtk/imlib gtk/neil \
- gtk/simple gtk/testgtk
-EGGNOME= canvas.py fifteen.py html_demo.py stock_demo.py \
- ted_demo.py uiinfo_demo.py zterm.py
-EGGTK= glade/README glade/test2.glade glade/glade.py \
- glade/test.glade ide/gtkcons.py ide/gtkdb.py \
- ide/edit.py ide/browse.py ide/minibreak.xpm ide/README \
- ide/gtkprof.py ide/pyide.py ide/break.xpm \
- ide/return.xpm ide/next.xpm ide/continue.xpm \
- ide/step.xpm ide/edit.xpm ide/run.xpm ide/quit.xpm \
- imlib/view.py neil/TAppli.py neil/TAppli2.py \
- neil/TAppli3.py neil/TAppli4.py neil/TAppli5.py \
- neil/bomb.xpm neil/gtk-logo.xpm neil/question.xpm \
- neil/notebook.py neil/README simple/hello1.py \
- simple/hello2.py simple/simple1.py simple/simple2.py \
- simple/tooltip1.py simple/tooltip2.py \
- simple/scribble.py simple/dnd.py simple/dndpixmap.py \
- simple/README testgtk/testgtk.py testgtk/test.xpm \
- testgtk/testgtkrc testgtk/README
+CONFIGURE_ENV= GTK_CONFIG=${GTK_CONFIG}
+CONFIGURE_ARGS= --with-python=python1.5
+PLIST_COMPLETE= ${PKGDIR}/PLIST
-SORT?= sort
+WRKSRC= ${WRKDIR}/${DISTNAME}/pygtk
+EG_SRC_DIR= ${WRKSRC}/examples
+EG_DST_DIR= ${PREFIX}/share/examples/py-gtk
-# Examples and docs are added to the packing list on the fly.
-pre-install:
- @${CP} ${PKGDIR}/PLIST ${PLIST}
- @${CP} /dev/null ${PLIST}.dirrm
-.for d in ${EGSUBDIRS}
- @${MKDIR} ${PREFIX}/${EGDIR}/${d}
- @${ECHO} @dirrm ${EGDIR}/${d} >> ${PLIST}.dirrm
-.endfor
- @${ECHO} @dirrm ${EGDIR} >> ${PLIST}.dirrm
-.for f in ${EGGNOME}
- ${INSTALL_DATA} ${WRKSRC}/pygnome/examples/${f} \
- ${PREFIX}/${EGDIR}/gnome/${f}
- @${ECHO} ${EGDIR}/gnome/${f} >> ${PLIST}
-.endfor
-.for f in ${EGGTK}
- ${INSTALL_DATA} ${WRKSRC}/pygtk/examples/${f} \
- ${PREFIX}/${EGDIR}/gtk/${f}
- @${ECHO} ${EGDIR}/gtk/${f} >> ${PLIST}
-.endfor
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/${DOCDIR}
- @${ECHO} @dirrm ${DOCDIR} >> ${PLIST}.dirrm
- @for i in ${DOCFILES}; do \
- src=`${ECHO} $$i | ${AWK} -F: '{ print $$1 }'`; \
- dst=`${ECHO} $$i | ${AWK} -F: '{ print $$2 }'`; \
- ${INSTALL_DATA} ${WRKSRC}/$$src \
- ${PREFIX}/${DOCDIR}/$$dst && \
- ${ECHO} ${DOCDIR}/$$dst >> ${PLIST}; \
- done
+PLIST= ${PLIST_COMPLETE}
+post-install:
+ ${MKDIR} ${EG_DST_DIR}
+ ${TAR} -C ${EG_SRC_DIR} -cf - . | ${TAR} -C ${EG_DST_DIR} -xvf -
+ ${CHOWN} -R ${BINOWN}:${BINGRP} ${EG_DST_DIR}
+ find ${EG_DST_DIR} -type d -print | xargs ${CHMOD} 0555
+ find ${EG_DST_DIR} -type f -print | xargs ${CHMOD} 0444
+ ${MKDIR} ${PREFIX}/share/doc/py-gtk
+ ${INSTALL_DATA} ${WRKSRC}/MAPPING ${PREFIX}/share/doc/py-gtk
+.else
+PLIST= ${WRKDIR}/PLIST.nodocs
+pre-install:
+ ${RM} -f ${PLIST}
+ ${GREP} -E -v '^(@dirrm )?(share/examples/)|(share/doc/)' \
+ ${PLIST_COMPLETE} > ${PLIST}
.endif
- @${SORT} -r ${PLIST}.dirrm >> ${PLIST}
.include <bsd.port.mk>
diff --git a/x11-toolkits/py-gtk/pkg-comment b/x11-toolkits/py-gtk/pkg-comment
index 28f9360..bbe813f 100644
--- a/x11-toolkits/py-gtk/pkg-comment
+++ b/x11-toolkits/py-gtk/pkg-comment
@@ -1 +1 @@
-A set of Python bindings for GNOME and GTK
+A set of Python bindings for GTK
diff --git a/x11-toolkits/py-gtk/pkg-descr b/x11-toolkits/py-gtk/pkg-descr
index ea8a300..20d9d60 100644
--- a/x11-toolkits/py-gtk/pkg-descr
+++ b/x11-toolkits/py-gtk/pkg-descr
@@ -1,9 +1,4 @@
-Excerpts from the READMEs:
- PyGNOME -- Python bindings for GNOME
- ====================================
- Author: James Henstridge <james@daa.com.au>
-
- This is a set of bindings for the GNOME libraries for use with python.
+Excerpt from the README:
PyGTK
=====
diff --git a/x11-toolkits/py-gtk/pkg-plist b/x11-toolkits/py-gtk/pkg-plist
index 21ea4fc..d26b531 100644
--- a/x11-toolkits/py-gtk/pkg-plist
+++ b/x11-toolkits/py-gtk/pkg-plist
@@ -1,3 +1,5 @@
+include/pygtk/pygdkimlib.h
+include/pygtk/pygtk.h
lib/python1.5/site-packages/GDK.py
lib/python1.5/site-packages/GDK.pyc
lib/python1.5/site-packages/GDK.pyo
@@ -13,68 +15,8 @@ lib/python1.5/site-packages/GtkExtra.pyo
lib/python1.5/site-packages/Gtkinter.py
lib/python1.5/site-packages/Gtkinter.pyc
lib/python1.5/site-packages/Gtkinter.pyo
-lib/python1.5/site-packages/_appletmodule.so
-lib/python1.5/site-packages/_cappletmodule.so
lib/python1.5/site-packages/_gdkimlibmodule.so
-lib/python1.5/site-packages/_gnomemodule.so
-lib/python1.5/site-packages/_gnomeuimodule.so
lib/python1.5/site-packages/_gtkmodule.so
-lib/python1.5/site-packages/_gtkxmhtmlmodule.so
-lib/python1.5/site-packages/_zvtmodule.so
-lib/python1.5/site-packages/gettext.py
-lib/python1.5/site-packages/gettext.pyc
-lib/python1.5/site-packages/gettext.pyo
-lib/python1.5/site-packages/gnome/__init__.py
-lib/python1.5/site-packages/gnome/__init__.pyc
-lib/python1.5/site-packages/gnome/__init__.pyo
-lib/python1.5/site-packages/gnome/affine.py
-lib/python1.5/site-packages/gnome/affine.pyc
-lib/python1.5/site-packages/gnome/affine.pyo
-lib/python1.5/site-packages/gnome/applet.py
-lib/python1.5/site-packages/gnome/applet.pyc
-lib/python1.5/site-packages/gnome/applet.pyo
-lib/python1.5/site-packages/gnome/capplet.py
-lib/python1.5/site-packages/gnome/capplet.pyc
-lib/python1.5/site-packages/gnome/capplet.pyo
-lib/python1.5/site-packages/gnome/config.py
-lib/python1.5/site-packages/gnome/config.pyc
-lib/python1.5/site-packages/gnome/config.pyo
-lib/python1.5/site-packages/gnome/file.py
-lib/python1.5/site-packages/gnome/file.pyc
-lib/python1.5/site-packages/gnome/file.pyo
-lib/python1.5/site-packages/gnome/help.py
-lib/python1.5/site-packages/gnome/help.pyc
-lib/python1.5/site-packages/gnome/help.pyo
-lib/python1.5/site-packages/gnome/history.py
-lib/python1.5/site-packages/gnome/history.pyc
-lib/python1.5/site-packages/gnome/history.pyo
-lib/python1.5/site-packages/gnome/metadata.py
-lib/python1.5/site-packages/gnome/metadata.pyc
-lib/python1.5/site-packages/gnome/metadata.pyo
-lib/python1.5/site-packages/gnome/mime.py
-lib/python1.5/site-packages/gnome/mime.pyc
-lib/python1.5/site-packages/gnome/mime.pyo
-lib/python1.5/site-packages/gnome/score.py
-lib/python1.5/site-packages/gnome/score.pyc
-lib/python1.5/site-packages/gnome/score.pyo
-lib/python1.5/site-packages/gnome/triggers.py
-lib/python1.5/site-packages/gnome/triggers.pyc
-lib/python1.5/site-packages/gnome/triggers.pyo
-lib/python1.5/site-packages/gnome/ui.py
-lib/python1.5/site-packages/gnome/ui.pyc
-lib/python1.5/site-packages/gnome/ui.pyo
-lib/python1.5/site-packages/gnome/uiconsts.py
-lib/python1.5/site-packages/gnome/uiconsts.pyc
-lib/python1.5/site-packages/gnome/uiconsts.pyo
-lib/python1.5/site-packages/gnome/url.py
-lib/python1.5/site-packages/gnome/url.pyc
-lib/python1.5/site-packages/gnome/url.pyo
-lib/python1.5/site-packages/gnome/xmhtml.py
-lib/python1.5/site-packages/gnome/xmhtml.pyc
-lib/python1.5/site-packages/gnome/xmhtml.pyo
-lib/python1.5/site-packages/gnome/zvt.py
-lib/python1.5/site-packages/gnome/zvt.pyc
-lib/python1.5/site-packages/gnome/zvt.pyo
lib/python1.5/site-packages/gtk.py
lib/python1.5/site-packages/gtk.pyc
lib/python1.5/site-packages/gtk.pyo
@@ -90,5 +32,63 @@ lib/python1.5/site-packages/pyglade/style.pyo
lib/python1.5/site-packages/pyglade/xmlparse.py
lib/python1.5/site-packages/pyglade/xmlparse.pyc
lib/python1.5/site-packages/pyglade/xmlparse.pyo
-@dirrm lib/python1.5/site-packages/gnome
+share/doc/py-gtk/MAPPING
+share/examples/py-gtk/gl/README
+share/examples/py-gtk/gl/cone.py
+share/examples/py-gtk/gl/dots.py
+share/examples/py-gtk/gl/gears.py
+share/examples/py-gtk/glade/README
+share/examples/py-gtk/glade/glade.py
+share/examples/py-gtk/glade/test.glade
+share/examples/py-gtk/glade/test2.glade
+share/examples/py-gtk/ide/README
+share/examples/py-gtk/ide/break.xpm
+share/examples/py-gtk/ide/browse.py
+share/examples/py-gtk/ide/continue.xpm
+share/examples/py-gtk/ide/edit.py
+share/examples/py-gtk/ide/edit.xpm
+share/examples/py-gtk/ide/gtkcons.py
+share/examples/py-gtk/ide/gtkdb.py
+share/examples/py-gtk/ide/gtkprof.py
+share/examples/py-gtk/ide/minibreak.xpm
+share/examples/py-gtk/ide/next.xpm
+share/examples/py-gtk/ide/pyide.py
+share/examples/py-gtk/ide/quit.xpm
+share/examples/py-gtk/ide/return.xpm
+share/examples/py-gtk/ide/run.xpm
+share/examples/py-gtk/ide/step.xpm
+share/examples/py-gtk/imlib/view.py
+share/examples/py-gtk/neil/README
+share/examples/py-gtk/neil/TAppli.py
+share/examples/py-gtk/neil/TAppli2.py
+share/examples/py-gtk/neil/TAppli3.py
+share/examples/py-gtk/neil/TAppli4.py
+share/examples/py-gtk/neil/TAppli5.py
+share/examples/py-gtk/neil/bomb.xpm
+share/examples/py-gtk/neil/gtk-logo.xpm
+share/examples/py-gtk/neil/notebook.py
+share/examples/py-gtk/neil/question.xpm
+share/examples/py-gtk/simple/README
+share/examples/py-gtk/simple/dnd.py
+share/examples/py-gtk/simple/dndpixmap.py
+share/examples/py-gtk/simple/hello1.py
+share/examples/py-gtk/simple/hello2.py
+share/examples/py-gtk/simple/scribble.py
+share/examples/py-gtk/simple/simple1.py
+share/examples/py-gtk/simple/simple2.py
+share/examples/py-gtk/simple/tooltip1.py
+share/examples/py-gtk/simple/tooltip2.py
+share/examples/py-gtk/testgtk/README
+share/examples/py-gtk/testgtk/test.xpm
+share/examples/py-gtk/testgtk/testgtk.py
+share/examples/py-gtk/testgtk/testgtkrc
@dirrm lib/python1.5/site-packages/pyglade
+@dirrm share/doc/py-gtk
+@dirrm share/examples/py-gtk/gl
+@dirrm share/examples/py-gtk/glade
+@dirrm share/examples/py-gtk/ide
+@dirrm share/examples/py-gtk/imlib
+@dirrm share/examples/py-gtk/neil
+@dirrm share/examples/py-gtk/simple
+@dirrm share/examples/py-gtk/testgtk
+@dirrm share/examples/py-gtk
OpenPOWER on IntegriCloud