pkgsrc/graphics/py-imagingtk/Makefile
drochner b66588e939 update to 1.1.2
Changes:
+ Adapted to Python 2.1.  Among other things, all uses of the
  "regex" module has been repleased with "re".
+ Fixed attribute error when reading large PNG files (this bug
  was introduced in maintenance code released after the 1.1.1
  release)
+ Ignore non-string objects in sys.path
+ Fixed Image.transform(EXTENT) for negative xoffsets
+ Fixed loading of image plugins if PIL is installed as a package.
  (The plugin loader now always looks in the directory where the
  Image.py module itself is found, even if that directory isn't on
  the standard search path)
+ The Png plugin has been added to the list of preloaded standard
  formats
+ Fixed bitmap/text drawing in fill mode.
+ Fixed "getextrema" to work also for multiband images.
+ Added transparency support for L and P images to the PNG codec.
+ Improved support for read-only images.  The "load" method now
  sets the "readonly" attribute for memory-mapped images.  Operations
  that modifies an image in place (such as "paste" and drawing operations)
  creates an in-memory copy of the image, if necessary.  (before this
  change, any attempt to modify a memory-mapped image resulted in a
  core dump...)
+ Added special cases for lists everywhere PIL expects a sequence.
  This should speed up things like "putdata" and drawing operations.
+ The Image.offset method is deprecated.  Use the ImageChops.offset
  function instead.
+ Changed ImageChops operators to copy palette and info dictionary
  from the first image argument.
2002-02-14 11:39:46 +00:00

36 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2002/02/14 11:39:47 drochner Exp $
#
DISTNAME= Imaging-1.1.2
PKGNAME= py20-imagingtk-1.1.2
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)
PYTHON_VERSIONS_ACCEPTED= 20 # XXX for now until some things are cleaned up
BUILDLINK_DEPENDS.python20= python20>=2.0.1nb1
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
${CP} ${LOCALBASE}/${PYLIB}/config/Makefile.pre.in ${WRKSRC}
(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/py20-imaging )
.include "../../lang/python/extension.buildlink.mk"
.include "../../graphics/py-imaging/buildlink.mk"
.include "../../x11/py-Tk/buildlink.mk"
.include "../../mk/bsd.pkg.mk"