aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2000-09-18 20:55:15 +0800
committertg <tg@FreeBSD.org>2000-09-18 20:55:15 +0800
commit32a191497c69d6f1fd679d08315297f020acc97a (patch)
tree812a2611b70590ba9ff313fc9109ccbcd261206c /x11-toolkits
parent6a29026d48d846706ccd6a1283f48e71f02c753c (diff)
downloadfreebsd-ports-graphics-32a191497c69d6f1fd679d08315297f020acc97a.tar.gz
freebsd-ports-graphics-32a191497c69d6f1fd679d08315297f020acc97a.tar.zst
freebsd-ports-graphics-32a191497c69d6f1fd679d08315297f020acc97a.zip
Use bsd.python.mk.
Approved by: nectar
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/py-gtk/Makefile6
-rw-r--r--x11-toolkits/py-gtk/pkg-plist66
-rw-r--r--x11-toolkits/py-gtk2/Makefile6
-rw-r--r--x11-toolkits/py-gtk2/pkg-plist66
4 files changed, 70 insertions, 74 deletions
diff --git a/x11-toolkits/py-gtk/Makefile b/x11-toolkits/py-gtk/Makefile
index 4aa8b76312c..237a1d16a06 100644
--- a/x11-toolkits/py-gtk/Makefile
+++ b/x11-toolkits/py-gtk/Makefile
@@ -14,15 +14,13 @@ DISTNAME= gnome-python-1.0.53
MAINTAINER= nectar@FreeBSD.org
-BUILD_DEPENDS= python1.5:${PORTSDIR}/lang/python15
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
Imlib.5:${PORTSDIR}/graphics/imlib
-RUN_DEPENDS= python1.5:${PORTSDIR}/lang/python15
GTK_CONFIG= ${X11BASE}/bin/gtk12-config
USE_GMAKE= yes
-CONFIGURE_ENV= GTK_CONFIG=${GTK_CONFIG}
-CONFIGURE_ARGS= --with-python=python1.5
+USE_PYTHON= yes
+CONFIGURE_ENV= GTK_CONFIG=${GTK_CONFIG} PYTHON=${PREFIX}/bin/${PYTHON_CMD}
USE_LIBTOOL= yes
PLIST_COMPLETE= ${PKGDIR}/PLIST
diff --git a/x11-toolkits/py-gtk/pkg-plist b/x11-toolkits/py-gtk/pkg-plist
index 7e9eec6fd2e..a3b39ddc87a 100644
--- a/x11-toolkits/py-gtk/pkg-plist
+++ b/x11-toolkits/py-gtk/pkg-plist
@@ -1,37 +1,37 @@
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
-lib/python1.5/site-packages/GTK.py
-lib/python1.5/site-packages/GTK.pyc
-lib/python1.5/site-packages/GTK.pyo
-lib/python1.5/site-packages/GdkImlib.py
-lib/python1.5/site-packages/GdkImlib.pyc
-lib/python1.5/site-packages/GdkImlib.pyo
-lib/python1.5/site-packages/GtkExtra.py
-lib/python1.5/site-packages/GtkExtra.pyc
-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/_gdkimlibmodule.so
-lib/python1.5/site-packages/_gtkmodule.so
-lib/python1.5/site-packages/gtk.py
-lib/python1.5/site-packages/gtk.pyc
-lib/python1.5/site-packages/gtk.pyo
-lib/python1.5/site-packages/pyglade/__init__.py
-lib/python1.5/site-packages/pyglade/__init__.pyc
-lib/python1.5/site-packages/pyglade/__init__.pyo
-lib/python1.5/site-packages/pyglade/build.py
-lib/python1.5/site-packages/pyglade/build.pyc
-lib/python1.5/site-packages/pyglade/build.pyo
-lib/python1.5/site-packages/pyglade/style.py
-lib/python1.5/site-packages/pyglade/style.pyc
-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
+lib/%%PYTHON_VERSION%%/site-packages/GDK.py
+lib/%%PYTHON_VERSION%%/site-packages/GDK.pyc
+lib/%%PYTHON_VERSION%%/site-packages/GDK.pyo
+lib/%%PYTHON_VERSION%%/site-packages/GTK.py
+lib/%%PYTHON_VERSION%%/site-packages/GTK.pyc
+lib/%%PYTHON_VERSION%%/site-packages/GTK.pyo
+lib/%%PYTHON_VERSION%%/site-packages/GdkImlib.py
+lib/%%PYTHON_VERSION%%/site-packages/GdkImlib.pyc
+lib/%%PYTHON_VERSION%%/site-packages/GdkImlib.pyo
+lib/%%PYTHON_VERSION%%/site-packages/GtkExtra.py
+lib/%%PYTHON_VERSION%%/site-packages/GtkExtra.pyc
+lib/%%PYTHON_VERSION%%/site-packages/GtkExtra.pyo
+lib/%%PYTHON_VERSION%%/site-packages/Gtkinter.py
+lib/%%PYTHON_VERSION%%/site-packages/Gtkinter.pyc
+lib/%%PYTHON_VERSION%%/site-packages/Gtkinter.pyo
+lib/%%PYTHON_VERSION%%/site-packages/_gdkimlibmodule.so
+lib/%%PYTHON_VERSION%%/site-packages/_gtkmodule.so
+lib/%%PYTHON_VERSION%%/site-packages/gtk.py
+lib/%%PYTHON_VERSION%%/site-packages/gtk.pyc
+lib/%%PYTHON_VERSION%%/site-packages/gtk.pyo
+lib/%%PYTHON_VERSION%%/site-packages/pyglade/__init__.py
+lib/%%PYTHON_VERSION%%/site-packages/pyglade/__init__.pyc
+lib/%%PYTHON_VERSION%%/site-packages/pyglade/__init__.pyo
+lib/%%PYTHON_VERSION%%/site-packages/pyglade/build.py
+lib/%%PYTHON_VERSION%%/site-packages/pyglade/build.pyc
+lib/%%PYTHON_VERSION%%/site-packages/pyglade/build.pyo
+lib/%%PYTHON_VERSION%%/site-packages/pyglade/style.py
+lib/%%PYTHON_VERSION%%/site-packages/pyglade/style.pyc
+lib/%%PYTHON_VERSION%%/site-packages/pyglade/style.pyo
+lib/%%PYTHON_VERSION%%/site-packages/pyglade/xmlparse.py
+lib/%%PYTHON_VERSION%%/site-packages/pyglade/xmlparse.pyc
+lib/%%PYTHON_VERSION%%/site-packages/pyglade/xmlparse.pyo
share/doc/py-gtk/MAPPING
share/examples/py-gtk/gl/README
share/examples/py-gtk/gl/cone.py
@@ -83,7 +83,7 @@ share/examples/py-gtk/testgtk/test.xpm
share/examples/py-gtk/testgtk/testgtk.py
share/examples/py-gtk/testgtk/testgtkrc
@dirrm include/pygtk
-@dirrm lib/python1.5/site-packages/pyglade
+@dirrm lib/%%PYTHON_VERSION%%/site-packages/pyglade
@dirrm share/doc/py-gtk
@dirrm share/examples/py-gtk/gl
@dirrm share/examples/py-gtk/glade
diff --git a/x11-toolkits/py-gtk2/Makefile b/x11-toolkits/py-gtk2/Makefile
index 4aa8b76312c..237a1d16a06 100644
--- a/x11-toolkits/py-gtk2/Makefile
+++ b/x11-toolkits/py-gtk2/Makefile
@@ -14,15 +14,13 @@ DISTNAME= gnome-python-1.0.53
MAINTAINER= nectar@FreeBSD.org
-BUILD_DEPENDS= python1.5:${PORTSDIR}/lang/python15
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
Imlib.5:${PORTSDIR}/graphics/imlib
-RUN_DEPENDS= python1.5:${PORTSDIR}/lang/python15
GTK_CONFIG= ${X11BASE}/bin/gtk12-config
USE_GMAKE= yes
-CONFIGURE_ENV= GTK_CONFIG=${GTK_CONFIG}
-CONFIGURE_ARGS= --with-python=python1.5
+USE_PYTHON= yes
+CONFIGURE_ENV= GTK_CONFIG=${GTK_CONFIG} PYTHON=${PREFIX}/bin/${PYTHON_CMD}
USE_LIBTOOL= yes
PLIST_COMPLETE= ${PKGDIR}/PLIST
diff --git a/x11-toolkits/py-gtk2/pkg-plist b/x11-toolkits/py-gtk2/pkg-plist
index 7e9eec6fd2e..a3b39ddc87a 100644
--- a/x11-toolkits/py-gtk2/pkg-plist
+++ b/x11-toolkits/py-gtk2/pkg-plist
@@ -1,37 +1,37 @@
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
-lib/python1.5/site-packages/GTK.py
-lib/python1.5/site-packages/GTK.pyc
-lib/python1.5/site-packages/GTK.pyo
-lib/python1.5/site-packages/GdkImlib.py
-lib/python1.5/site-packages/GdkImlib.pyc
-lib/python1.5/site-packages/GdkImlib.pyo
-lib/python1.5/site-packages/GtkExtra.py
-lib/python1.5/site-packages/GtkExtra.pyc
-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/_gdkimlibmodule.so
-lib/python1.5/site-packages/_gtkmodule.so
-lib/python1.5/site-packages/gtk.py
-lib/python1.5/site-packages/gtk.pyc
-lib/python1.5/site-packages/gtk.pyo
-lib/python1.5/site-packages/pyglade/__init__.py
-lib/python1.5/site-packages/pyglade/__init__.pyc
-lib/python1.5/site-packages/pyglade/__init__.pyo
-lib/python1.5/site-packages/pyglade/build.py
-lib/python1.5/site-packages/pyglade/build.pyc
-lib/python1.5/site-packages/pyglade/build.pyo
-lib/python1.5/site-packages/pyglade/style.py
-lib/python1.5/site-packages/pyglade/style.pyc
-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
+lib/%%PYTHON_VERSION%%/site-packages/GDK.py
+lib/%%PYTHON_VERSION%%/site-packages/GDK.pyc
+lib/%%PYTHON_VERSION%%/site-packages/GDK.pyo
+lib/%%PYTHON_VERSION%%/site-packages/GTK.py
+lib/%%PYTHON_VERSION%%/site-packages/GTK.pyc
+lib/%%PYTHON_VERSION%%/site-packages/GTK.pyo
+lib/%%PYTHON_VERSION%%/site-packages/GdkImlib.py
+lib/%%PYTHON_VERSION%%/site-packages/GdkImlib.pyc
+lib/%%PYTHON_VERSION%%/site-packages/GdkImlib.pyo
+lib/%%PYTHON_VERSION%%/site-packages/GtkExtra.py
+lib/%%PYTHON_VERSION%%/site-packages/GtkExtra.pyc
+lib/%%PYTHON_VERSION%%/site-packages/GtkExtra.pyo
+lib/%%PYTHON_VERSION%%/site-packages/Gtkinter.py
+lib/%%PYTHON_VERSION%%/site-packages/Gtkinter.pyc
+lib/%%PYTHON_VERSION%%/site-packages/Gtkinter.pyo
+lib/%%PYTHON_VERSION%%/site-packages/_gdkimlibmodule.so
+lib/%%PYTHON_VERSION%%/site-packages/_gtkmodule.so
+lib/%%PYTHON_VERSION%%/site-packages/gtk.py
+lib/%%PYTHON_VERSION%%/site-packages/gtk.pyc
+lib/%%PYTHON_VERSION%%/site-packages/gtk.pyo
+lib/%%PYTHON_VERSION%%/site-packages/pyglade/__init__.py
+lib/%%PYTHON_VERSION%%/site-packages/pyglade/__init__.pyc
+lib/%%PYTHON_VERSION%%/site-packages/pyglade/__init__.pyo
+lib/%%PYTHON_VERSION%%/site-packages/pyglade/build.py
+lib/%%PYTHON_VERSION%%/site-packages/pyglade/build.pyc
+lib/%%PYTHON_VERSION%%/site-packages/pyglade/build.pyo
+lib/%%PYTHON_VERSION%%/site-packages/pyglade/style.py
+lib/%%PYTHON_VERSION%%/site-packages/pyglade/style.pyc
+lib/%%PYTHON_VERSION%%/site-packages/pyglade/style.pyo
+lib/%%PYTHON_VERSION%%/site-packages/pyglade/xmlparse.py
+lib/%%PYTHON_VERSION%%/site-packages/pyglade/xmlparse.pyc
+lib/%%PYTHON_VERSION%%/site-packages/pyglade/xmlparse.pyo
share/doc/py-gtk/MAPPING
share/examples/py-gtk/gl/README
share/examples/py-gtk/gl/cone.py
@@ -83,7 +83,7 @@ share/examples/py-gtk/testgtk/test.xpm
share/examples/py-gtk/testgtk/testgtk.py
share/examples/py-gtk/testgtk/testgtkrc
@dirrm include/pygtk
-@dirrm lib/python1.5/site-packages/pyglade
+@dirrm lib/%%PYTHON_VERSION%%/site-packages/pyglade
@dirrm share/doc/py-gtk
@dirrm share/examples/py-gtk/gl
@dirrm share/examples/py-gtk/glade