summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlukem <lukem>2001-02-16 20:26:27 +0000
committerlukem <lukem>2001-02-16 20:26:27 +0000
commitd207fb15e6c837b9e5440f31c8600c8f0acea64e (patch)
tree6cc27e338bfdd22557a5f06e30597168a57e085b
parent81e2f4b8d29da862bb719249b5530670bfd63736 (diff)
downloadpkgsrc-d207fb15e6c837b9e5440f31c8600c8f0acea64e.tar.gz
Pmw - python meta widgets
-rw-r--r--x11/py-Pmw/Makefile32
-rw-r--r--x11/py-Pmw/pkg/DESCR7
2 files changed, 39 insertions, 0 deletions
diff --git a/x11/py-Pmw/Makefile b/x11/py-Pmw/Makefile
new file mode 100644
index 00000000000..16a4f700faf
--- /dev/null
+++ b/x11/py-Pmw/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/02/16 20:35:55 lukem Exp $
+#
+
+DISTNAME= Pmw.0.8.5
+PKGNAME= py-Pmw-0.8.5
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pmw/}
+
+MAINTAINER= lukem@netbsd.org
+HOMEPAGE= http://pmw.sourceforge.net/
+COMMENT= python meta widgets
+
+DEPENDS+= py-Tk>=2.0:../py-Tk
+
+PLIST_SRC= ${WRKDIR}/.PLIST_SRC
+SITE_PKG= lib/python2.0/site-packages
+PYTHON_LIBDIR= ${LOCALBASE}/${SITE_PKG}
+
+do-build:
+
+do-install:
+ (cd ${WRKDIR}; ${FIND} Pmw -type d | \
+ sed -e 's,^,${PREFIX}/${SITE_PKG}/,' | xargs ${INSTALL_DATA_DIR})
+ (cd ${WRKDIR}; for f in `${FIND} Pmw -type f`; do \
+ ${INSTALL_DATA} $$f ${PREFIX}/${SITE_PKG}/$$f; done)
+ ${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
+ (cd ${PREFIX}; ${FIND} ${SITE_PKG}/Pmw \
+ -type f -print >>${PLIST_SRC})
+ (cd ${PREFIX}; ${FIND} -d ${SITE_PKG}/Pmw \
+ -type d -print | ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC})
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/py-Pmw/pkg/DESCR b/x11/py-Pmw/pkg/DESCR
new file mode 100644
index 00000000000..c2ec37dd433
--- /dev/null
+++ b/x11/py-Pmw/pkg/DESCR
@@ -0,0 +1,7 @@
+Pmw is a toolkit for building high-level compound widgets in Python
+using the Tkinter module.
+
+It consists of a set of base classes and a library of flexible and
+extensible megawidgets built on this foundation. These megawidgets
+include notebooks, comboboxes, selection widgets, paned widgets,
+scrolled widgets and dialog windows.