From bebd89314e57ff34ea47724c5605a0f32c425dcf Mon Sep 17 00:00:00 2001 From: Jeremy Lea Date: Thu, 5 Oct 2000 06:57:56 +0000 Subject: Implement WANT_IMLIB and USE_IMLIB. --- x11-toolkits/py-gtk/Makefile | 14 ++++++-------- x11-toolkits/py-gtk/pkg-plist | 22 +++++++++++++--------- 2 files changed, 19 insertions(+), 17 deletions(-) (limited to 'x11-toolkits/py-gtk') 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 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 -- cgit v1.2.3