summaryrefslogtreecommitdiff
path: root/graphics/py-imagingtk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-03-20 16:47:09 +0000
committerwiz <wiz@pkgsrc.org>2001-03-20 16:47:09 +0000
commitc7bcc3505aff539b5d44992a1199746f33f2f3ba (patch)
tree396e84b72d6014ab824ca099fa2a6743b3a65bdd /graphics/py-imagingtk
parent30a8c9a0ea54dd2997a105fbd377ed3819b01cdc (diff)
downloadpkgsrc-c7bcc3505aff539b5d44992a1199746f33f2f3ba.tar.gz
py-imagingtk-1.1.1 -- the tk interface to py-imaging.
Based on the package supplied by Jarkko Torppa in pkg/10808, but updated to the latest version.
Diffstat (limited to 'graphics/py-imagingtk')
-rw-r--r--graphics/py-imagingtk/Makefile32
-rw-r--r--graphics/py-imagingtk/files/Setup.in15
-rw-r--r--graphics/py-imagingtk/files/md53
-rw-r--r--graphics/py-imagingtk/pkg/DESCR2
-rw-r--r--graphics/py-imagingtk/pkg/PLIST9
5 files changed, 61 insertions, 0 deletions
diff --git a/graphics/py-imagingtk/Makefile b/graphics/py-imagingtk/Makefile
new file mode 100644
index 00000000000..85cb7454dac
--- /dev/null
+++ b/graphics/py-imagingtk/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/03/20 16:47:09 wiz Exp $
+#
+
+DISTNAME= Imaging-1.1.1
+PKGNAME= py-imagingtk-1.1.1
+CATEGORIES= graphics
+MASTER_SITES= http://www.pythonware.com/downloads/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.pythonware.com/products/pil/
+COMMENT= Tk support for the Python Imaging Library (PIL)
+
+DEPENDS+= py-imaging>=1.1.1:../../graphics/py-imaging
+DEPENDS+= py-Tk>=2.0:../../x11/py-Tk
+
+DIST_SUBDIR= python
+ALL_TARGET= sharedmods
+
+do-configure:
+ (cd ${WRKSRC}/libImaging; CC="cc -fPIC" LIBS="${LDFLAGS}" ./configure)
+ ${SED} -e 's,@PREFIX@,${PREFIX},g' -e 's,@X11BASE@,${X11BASE},g' \
+ ${FILESDIR}/Setup.in >${WRKSRC}/Setup.in
+ (cd ${WRKSRC}; ${MAKE} -f Makefile.pre.in boot)
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/_imagingtk.so \
+ ${PREFIX}/lib/python2.0/site-packages/PIL
+ (cd ${WRKSRC}/Scripts; \
+ ${INSTALL_DATA} enhancer.py painter.py player.py \
+ thresholder.py viewer.py ${PREFIX}/share/examples/py-imaging )
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/py-imagingtk/files/Setup.in b/graphics/py-imagingtk/files/Setup.in
new file mode 100644
index 00000000000..95561d533d6
--- /dev/null
+++ b/graphics/py-imagingtk/files/Setup.in
@@ -0,0 +1,15 @@
+# $NetBSD: Setup.in,v 1.1.1.1 2001/03/20 16:47:09 wiz Exp $
+#
+
+*shared*
+
+# --------------------------------------------------------------------
+# Tkinter bindings. Comment away if you don't need ImageTk, or if
+# you're using a custom _tkinter instead (like in earlier versions of
+# PIL). Edit the library specifications to match your configuration.
+
+_imagingtk _imagingtk.c \
+ -IlibImaging Tk/tkImaging.c \
+ -I@PREFIX@/include \
+ -L@PREFIX@/lib -R@PREFIX@/lib -ltcl83 -ltk83 \
+ -I@X11BASE@/include -L@X11BASE@/lib -lX11
diff --git a/graphics/py-imagingtk/files/md5 b/graphics/py-imagingtk/files/md5
new file mode 100644
index 00000000000..18f9a5056b1
--- /dev/null
+++ b/graphics/py-imagingtk/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/03/20 16:47:09 wiz Exp $
+
+SHA1 (python/Imaging-1.1.1.tar.gz) = 5262a4388ab0723dc0c5fd3c04c222aff616b7a9
diff --git a/graphics/py-imagingtk/pkg/DESCR b/graphics/py-imagingtk/pkg/DESCR
new file mode 100644
index 00000000000..199f82033c9
--- /dev/null
+++ b/graphics/py-imagingtk/pkg/DESCR
@@ -0,0 +1,2 @@
+The Python Imaging Librarys Tkinter support adds support to PIL for
+creating and modifying Tkinter BitmapImage and PhotoImage objects.
diff --git a/graphics/py-imagingtk/pkg/PLIST b/graphics/py-imagingtk/pkg/PLIST
new file mode 100644
index 00000000000..672ff55ff23
--- /dev/null
+++ b/graphics/py-imagingtk/pkg/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/20 16:47:09 wiz Exp $
+lib/python2.0/site-packages/PIL/_imagingtk.so
+share/examples/py-imaging/enhancer.py
+share/examples/py-imaging/painter.py
+share/examples/py-imaging/player.py
+share/examples/py-imaging/thresholder.py
+share/examples/py-imaging/viewer.py
+@comment share/examples/py-imaging and lib/python2.0/site-packages/PIL
+@comment belong to py-imaging, do not remove them here.