aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/py-gtk
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-05 06:57:56 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-05 06:57:56 +0000
commitbebd89314e57ff34ea47724c5605a0f32c425dcf (patch)
treed991da3f3e4ccc0cc8f9eab35d1891ca59b0fd9a /x11-toolkits/py-gtk
parent3707e5b7408ecadb0bda141dd82ec9bbca5d0267 (diff)
downloadports-bebd89314e57ff34ea47724c5605a0f32c425dcf.tar.gz
ports-bebd89314e57ff34ea47724c5605a0f32c425dcf.zip
Implement WANT_IMLIB and USE_IMLIB.
Notes
Notes: svn path=/head/; revision=33427
Diffstat (limited to 'x11-toolkits/py-gtk')
-rw-r--r--x11-toolkits/py-gtk/Makefile14
-rw-r--r--x11-toolkits/py-gtk/pkg-plist22
2 files changed, 19 insertions, 17 deletions
diff --git a/x11-toolkits/py-gtk/Makefile b/x11-toolkits/py-gtk/Makefile
index 90fae7927061..82b31e8aaba7 100644
--- a/x11-toolkits/py-gtk/Makefile
+++ b/x11-toolkits/py-gtk/Makefile
@@ -14,22 +14,20 @@ DISTNAME= gnome-python-1.0.53
MAINTAINER= nectar@FreeBSD.org
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
- Imlib.5:${PORTSDIR}/graphics/imlib
+LIB_DEPENDS= glade.4:${PORTSDIR}/devel/libglade
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/pygtk
-GTK_CONFIG= ${X11BASE}/bin/gtk12-config
USE_GMAKE= yes
+USE_IMLIB= yes
USE_PYTHON= yes
-CONFIGURE_ENV= GTK_CONFIG=${GTK_CONFIG} PYTHON=${PYTHON_CMD}
USE_LIBTOOL= yes
-PLIST_COMPLETE= ${PKGDIR}/PLIST
+CONFIGURE_ENV= PYTHON=${PYTHON_CMD}
-WRKSRC= ${WRKDIR}/${DISTNAME}/pygtk
EG_SRC_DIR= ${WRKSRC}/examples
EG_DST_DIR= ${PREFIX}/share/examples/py-gtk
.if !defined(NOPORTDOCS)
-PLIST= ${PLIST_COMPLETE}
post-install:
${MKDIR} ${EG_DST_DIR}
${TAR} -C ${EG_SRC_DIR} -cf - . | ${TAR} -C ${EG_DST_DIR} -xvf -
@@ -43,7 +41,7 @@ PLIST= ${WRKDIR}/PLIST.nodocs
pre-install:
${RM} -f ${PLIST}
${GREP} -E -v '^(@dirrm )?(share/examples/)|(share/doc/)' \
- ${PLIST_COMPLETE} > ${PLIST}
+ ${PKGDIR}/PLIST > ${PLIST}
.endif
.include <bsd.port.mk>
diff --git a/x11-toolkits/py-gtk/pkg-plist b/x11-toolkits/py-gtk/pkg-plist
index a3b39ddc87a6..0d4f663222cd 100644
--- a/x11-toolkits/py-gtk/pkg-plist
+++ b/x11-toolkits/py-gtk/pkg-plist
@@ -17,9 +17,13 @@ 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/_libglademodule.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/libglade.py
+lib/%%PYTHON_VERSION%%/site-packages/libglade.pyc
+lib/%%PYTHON_VERSION%%/site-packages/libglade.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
@@ -82,14 +86,14 @@ 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 include/pygtk
-@dirrm lib/%%PYTHON_VERSION%%/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/simple
+@dirrm share/examples/py-gtk/neil
+@dirrm share/examples/py-gtk/imlib
+@dirrm share/examples/py-gtk/ide
+@dirrm share/examples/py-gtk/glade
+@dirrm share/examples/py-gtk/gl
@dirrm share/examples/py-gtk
+@dirrm share/doc/py-gtk
+@dirrm lib/%%PYTHON_VERSION%%/site-packages/pyglade
+@dirrm include/pygtk