diff options
author | wiz <wiz@pkgsrc.org> | 2001-03-20 16:47:09 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-03-20 16:47:09 +0000 |
commit | c7bcc3505aff539b5d44992a1199746f33f2f3ba (patch) | |
tree | 396e84b72d6014ab824ca099fa2a6743b3a65bdd /graphics/py-imagingtk/Makefile | |
parent | 30a8c9a0ea54dd2997a105fbd377ed3819b01cdc (diff) | |
download | pkgsrc-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/Makefile')
-rw-r--r-- | graphics/py-imagingtk/Makefile | 32 |
1 files changed, 32 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" |