diff options
author | Jacques Vidrine <nectar@FreeBSD.org> | 1999-03-16 19:44:07 +0000 |
---|---|---|
committer | Jacques Vidrine <nectar@FreeBSD.org> | 1999-03-16 19:44:07 +0000 |
commit | 1a50dacde270204c0579aa5deb9a4045bf52658a (patch) | |
tree | dd130e948f39cd96cf31957c1096a88dc49c8f38 /x11-toolkits/py-gtk | |
parent | Updated with new FXTV Homepage location (diff) |
New port py-gnome created from repository copy of py-gtk.
py-gnome-1.0.1 replaces py-gtk-0.5.12 (the latter is fully incorporated
into the former).
Notes
Notes:
svn path=/head/; revision=17255
Diffstat (limited to 'x11-toolkits/py-gtk')
-rw-r--r-- | x11-toolkits/py-gtk/Makefile | 74 | ||||
-rw-r--r-- | x11-toolkits/py-gtk/distinfo | 2 | ||||
-rw-r--r-- | x11-toolkits/py-gtk/pkg-comment | 2 | ||||
-rw-r--r-- | x11-toolkits/py-gtk/pkg-descr | 20 | ||||
-rw-r--r-- | x11-toolkits/py-gtk/pkg-plist | 53 |
5 files changed, 106 insertions, 45 deletions
diff --git a/x11-toolkits/py-gtk/Makefile b/x11-toolkits/py-gtk/Makefile index 176cf5c73246..dab8a95b12c3 100644 --- a/x11-toolkits/py-gtk/Makefile +++ b/x11-toolkits/py-gtk/Makefile @@ -1,14 +1,14 @@ -# New ports collection makefile for: py-gtk -# Version required: 0.5.12 -# Date created: 12/26/1998 +# New ports collection makefile for: py-gnome +# Version required: 1.0.1 +# Date created: 03/14/1999 # Whom: nectar@FreeBSD.ORG # -# $Id: Makefile,v 1.22 1999/03/15 03:17:09 nectar Exp $ +# $Id: Makefile,v 1.21 1999/02/28 18:48:50 nectar Exp $ # -DISTNAME= pygtk-0.5.12 -PKGNAME= py-gtk-0.5.12 -CATEGORIES= x11-toolkits python +DISTNAME= gnome-python-1.0.1 +PKGNAME= py-gnome-1.0.1 +CATEGORIES= x11-toolkits python gnome 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/ \ @@ -18,23 +18,24 @@ MASTER_SITES= ftp://ftp.daa.com.au/pub/james/python/ \ MAINTAINER= nectar@FreeBSD.ORG BUILD_DEPENDS= python:${PORTSDIR}/lang/python -LIB_DEPENDS= gdk_imlib.3:${PORTSDIR}/graphics/imlib +LIB_DEPENDS= gnome.1:${PORTSDIR}/x11/gnomelibs RUN_DEPENDS= python:${PORTSDIR}/lang/python GNU_CONFIGURE= yes USE_GMAKE= yes -CONFIGURE_ENV= GTK_CONFIG=${X11BASE}/bin/gtk12-config -MAKE_FLAGS= OPT="${CFLAGS}" +CONFIGURE_ENV= GTK_CONFIG="${X11BASE}/bin/gtk12-config" +PLIST= ${WRKSRC}/PLIST -PLIST= ${WRKDIR}/PLIST -SORT?= sort - -DOCDIR= share/doc/py-gtk -DOCFILES= README MAPPING +DOCDIR= share/doc/py-gnome +DOCFILES= README:py-gnome.README pygtk/README:py-gtk.README \ + pygtk/MAPPING:MAPPING.py-gtk -EXAMDIR= share/examples/py-gtk -EXAMSUBDIRS= glade ide imlib neil simple testgtk -EXAMFILES= glade/README glade/test2.glade glade/glade.py \ +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 \ @@ -50,30 +51,37 @@ EXAMFILES= glade/README glade/test2.glade glade/glade.py \ simple/README testgtk/testgtk.py testgtk/test.xpm \ testgtk/testgtkrc testgtk/README -# NOTE: for packaging to work properly, this port should be -# built with PREFIX set the same as when the python port -# was built. +SORT?= sort +# 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 ${EXAMSUBDIRS} - @${MKDIR} ${PREFIX}/${EXAMDIR}/${d} - @${ECHO} @dirrm ${EXAMDIR}/${d} >> ${PLIST}.dirrm +.for d in ${EGSUBDIRS} + @${MKDIR} ${PREFIX}/${EGDIR}/${d} + @${ECHO} @dirrm ${EGDIR}/${d} >> ${PLIST}.dirrm .endfor - @${ECHO} @dirrm ${EXAMDIR} >> ${PLIST}.dirrm -.for f in ${EXAMFILES} - ${INSTALL_DATA} ${WRKSRC}/examples/${f} \ - ${PREFIX}/${EXAMDIR}/${f} - @${ECHO} ${EXAMDIR}/${f} >> ${PLIST} + @${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 f in ${DOCFILES} - ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${DOCDIR}/${f} - @${ECHO} ${DOCDIR}/${f} >> ${PLIST} -.endfor + @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 .endif @${SORT} -r ${PLIST}.dirrm >> ${PLIST} diff --git a/x11-toolkits/py-gtk/distinfo b/x11-toolkits/py-gtk/distinfo index 9a158787def8..3f19c9b89609 100644 --- a/x11-toolkits/py-gtk/distinfo +++ b/x11-toolkits/py-gtk/distinfo @@ -1 +1 @@ -MD5 (pygtk-0.5.12.tar.gz) = e5d705b6d06e47a02385f859f0bc8610 +MD5 (gnome-python-1.0.1.tar.gz) = 609181de7871b254c605ac39848d7079 diff --git a/x11-toolkits/py-gtk/pkg-comment b/x11-toolkits/py-gtk/pkg-comment index 710e9b62c4dc..b79fdf9445e3 100644 --- a/x11-toolkits/py-gtk/pkg-comment +++ b/x11-toolkits/py-gtk/pkg-comment @@ -1 +1 @@ -Python wrapper for the GTK library. +A set of Python bindings for GNOME and GTK. diff --git a/x11-toolkits/py-gtk/pkg-descr b/x11-toolkits/py-gtk/pkg-descr index 02198045d118..ea8a30053778 100644 --- a/x11-toolkits/py-gtk/pkg-descr +++ b/x11-toolkits/py-gtk/pkg-descr @@ -1,15 +1,15 @@ -From the README: +Excerpts from the READMEs: + PyGNOME -- Python bindings for GNOME + ==================================== + Author: James Henstridge <james@daa.com.au> - PyGTK - ===== - Author: James Henstridge <james@daa.com.au> + This is a set of bindings for the GNOME libraries for use with python. - This archive contains modules that allow you to use gtk in Python - programs. At present, it is a fairly complete set of bindings. - Despite the low version number, this piece of software is quite - useful, and is usable to write moderately complex programs. + PyGTK + ===== + Author: James Henstridge <james@daa.com.au> -ftp://ftp.daa.com.au/pub/james/python/ Primary site. -pygtk-request@daa.com.au Mailing list request. + This archive contains modules that allow you to use gtk in Python + programs. At present, it is a fairly complete set of bindings. -- Jacques Vidrine <nectar@FreeBSD.ORG> diff --git a/x11-toolkits/py-gtk/pkg-plist b/x11-toolkits/py-gtk/pkg-plist index 5cd184bedaa7..3e34363b0a88 100644 --- a/x11-toolkits/py-gtk/pkg-plist +++ b/x11-toolkits/py-gtk/pkg-plist @@ -31,4 +31,57 @@ lib/python1.5/site-packages/GTK.pyo lib/python1.5/site-packages/GDK.pyo lib/python1.5/site-packages/GtkExtra.pyo lib/python1.5/site-packages/GdkImlib.pyo +lib/python1.5/site-packages/gnome/__init__.py +lib/python1.5/site-packages/gnome/config.py +lib/python1.5/site-packages/gnome/file.py +lib/python1.5/site-packages/gnome/help.py +lib/python1.5/site-packages/gnome/history.py +lib/python1.5/site-packages/gnome/metadata.py +lib/python1.5/site-packages/gnome/mime.py +lib/python1.5/site-packages/gnome/score.py +lib/python1.5/site-packages/gnome/triggers.py +lib/python1.5/site-packages/gnome/url.py +lib/python1.5/site-packages/gnome/ui.py +lib/python1.5/site-packages/gnome/uiconsts.py +lib/python1.5/site-packages/gnome/xmhtml.py +lib/python1.5/site-packages/gnome/zvt.py +lib/python1.5/site-packages/gnome/affine.py +lib/python1.5/site-packages/gnome/__init__.pyc +lib/python1.5/site-packages/gnome/config.pyc +lib/python1.5/site-packages/gnome/file.pyc +lib/python1.5/site-packages/gnome/help.pyc +lib/python1.5/site-packages/gnome/history.pyc +lib/python1.5/site-packages/gnome/metadata.pyc +lib/python1.5/site-packages/gnome/mime.pyc +lib/python1.5/site-packages/gnome/score.pyc +lib/python1.5/site-packages/gnome/triggers.pyc +lib/python1.5/site-packages/gnome/url.pyc +lib/python1.5/site-packages/gnome/ui.pyc +lib/python1.5/site-packages/gnome/uiconsts.pyc +lib/python1.5/site-packages/gnome/xmhtml.pyc +lib/python1.5/site-packages/gnome/zvt.pyc +lib/python1.5/site-packages/gnome/affine.pyc +lib/python1.5/site-packages/gnome/__init__.pyo +lib/python1.5/site-packages/gnome/config.pyo +lib/python1.5/site-packages/gnome/file.pyo +lib/python1.5/site-packages/gnome/help.pyo +lib/python1.5/site-packages/gnome/history.pyo +lib/python1.5/site-packages/gnome/metadata.pyo +lib/python1.5/site-packages/gnome/mime.pyo +lib/python1.5/site-packages/gnome/score.pyo +lib/python1.5/site-packages/gnome/triggers.pyo +lib/python1.5/site-packages/gnome/url.pyo +lib/python1.5/site-packages/gnome/ui.pyo +lib/python1.5/site-packages/gnome/uiconsts.pyo +lib/python1.5/site-packages/gnome/xmhtml.pyo +lib/python1.5/site-packages/gnome/zvt.pyo +lib/python1.5/site-packages/gnome/affine.pyo +@dirrm lib/python1.5/site-packages/gnome +lib/python1.5/site-packages/_gnomemodule.so +lib/python1.5/site-packages/_gnomeuimodule.so +lib/python1.5/site-packages/_zvtmodule.so +lib/python1.5/site-packages/_gtkxmhtmlmodule.so +lib/python1.5/site-packages/gettext.py +lib/python1.5/site-packages/gettext.pyc +lib/python1.5/site-packages/gettext.pyo @dirrm lib/python1.5/site-packages |