Initial import of py-Imaging 1.1.2
Port submitted by Sebastian Stark <seb@todesplanet.de> --- The Python Imaging Library (PIL) adds image processing capabilities to your Python interpreter. This library supports many file formats, and provides powerful image processing and graphics capabilities.
This commit is contained in:
parent
17518d6c85
commit
136747e688
58
graphics/py-Imaging/Makefile
Normal file
58
graphics/py-Imaging/Makefile
Normal file
@ -0,0 +1,58 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2001/05/25 19:50:31 shell Exp $
|
||||
|
||||
COMMENT= "python imaging library"
|
||||
|
||||
DISTNAME= Imaging-1.1.2
|
||||
PKGNAME= py-${DISTNAME}
|
||||
|
||||
CATEGORIES= graphics
|
||||
NEED_VERSION= 1.413
|
||||
|
||||
HOMEPAGE= http://www.pythonware.com/products/pil/
|
||||
|
||||
MAINTAINER= Sebastian Stark <seb@todesplanet.de>
|
||||
|
||||
# PIL Software License
|
||||
# Permission to use, copy, modify and distribute freely.
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://www.pythonware.com/downloads/
|
||||
|
||||
# will be flavored in future
|
||||
BUILD_DEPENDS= python2.0::lang/python,tk
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
LIB_DEPENDS= jpeg.6::graphics/jpeg
|
||||
|
||||
ALL_TARGET=
|
||||
|
||||
LIB_IMAGING= ${WRKSRC}/libImaging
|
||||
PYTHON_VER= python2.0
|
||||
SITE_PACKAGES= ${PREFIX}/lib/${PYTHON_VER}/site-packages
|
||||
PYTHON_INCLUDE_DIR= ${PREFIX}/include/${PYTHON_VER}
|
||||
PIL_INCLUDES= ImConfig.h ImPlatform.h Imaging.h
|
||||
|
||||
post-extract:
|
||||
cp ${FILESDIR}/Setup ${WRKSRC}
|
||||
|
||||
do-configure:
|
||||
cd ${LIB_IMAGING} && ./configure && make
|
||||
cd ${WRKSRC} && ${MAKE} -f Makefile.pre.in boot
|
||||
cd ${WRKSRC} && perl -pi -e 's/(^LDSHARED=.*)/$$1 -Bstatic/' Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${SITE_PACKAGES}/PIL
|
||||
for a in ${WRKSRC}/*.so ${WRKSRC}/PIL/*; do \
|
||||
${INSTALL_DATA} $$a ${SITE_PACKAGES}/PIL; done
|
||||
${INSTALL_DATA} ${WRKSRC}/PIL.pth ${SITE_PACKAGES}/PIL.pth
|
||||
${INSTALL_DATA_DIR} ${PYTHON_INCLUDE_DIR}
|
||||
.for a in ${PIL_INCLUDES}
|
||||
${INSTALL_DATA} ${LIB_IMAGING}/$a ${PYTHON_INCLUDE_DIR}
|
||||
.endfor
|
||||
${INSTALL_SCRIPT_DIR} ${PREFIX}/share/examples/py-Imaging
|
||||
for a in ${WRKSRC}/Scripts/*; do \
|
||||
${INSTALL_SCRIPT} $$a ${PREFIX}/share/examples/py-Imaging; done
|
||||
|
||||
.include <bsd.port.mk>
|
3
graphics/py-Imaging/files/md5
Normal file
3
graphics/py-Imaging/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (Imaging-1.1.2.tar.gz) = a17e1a769c7cfbd0ca0b358aa96ecd05
|
||||
RMD160 (Imaging-1.1.2.tar.gz) = 567366ab66126c98021e88284da8bcb8f7d84afd
|
||||
SHA1 (Imaging-1.1.2.tar.gz) = 506e714bbac14a9f531ec529b8010ffc3a7f85f8
|
6
graphics/py-Imaging/pkg/DESCR
Normal file
6
graphics/py-Imaging/pkg/DESCR
Normal file
@ -0,0 +1,6 @@
|
||||
The Python Imaging Library (PIL) adds image processing
|
||||
capabilities to your Python interpreter. This library
|
||||
supports many file formats, and provides powerful image
|
||||
processing and graphics capabilities.
|
||||
|
||||
${HOMEPAGE}
|
83
graphics/py-Imaging/pkg/PLIST
Normal file
83
graphics/py-Imaging/pkg/PLIST
Normal file
@ -0,0 +1,83 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/05/25 19:50:31 shell Exp $
|
||||
lib/python2.0/site-packages/PIL.pth
|
||||
lib/python2.0/site-packages/PIL/ArgImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/BdfFontFile.py
|
||||
lib/python2.0/site-packages/PIL/BmpImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/ContainerIO.py
|
||||
lib/python2.0/site-packages/PIL/CurImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/DcxImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/EpsImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/FliImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/FontFile.py
|
||||
lib/python2.0/site-packages/PIL/FpxImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/GbrImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/GdImageFile.py
|
||||
lib/python2.0/site-packages/PIL/GifImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/GimpGradientFile.py
|
||||
lib/python2.0/site-packages/PIL/GimpPaletteFile.py
|
||||
lib/python2.0/site-packages/PIL/IcoImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/ImImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/Image.py
|
||||
lib/python2.0/site-packages/PIL/ImageChops.py
|
||||
lib/python2.0/site-packages/PIL/ImageDraw.py
|
||||
lib/python2.0/site-packages/PIL/ImageEnhance.py
|
||||
lib/python2.0/site-packages/PIL/ImageFile.py
|
||||
lib/python2.0/site-packages/PIL/ImageFileIO.py
|
||||
lib/python2.0/site-packages/PIL/ImageFilter.py
|
||||
lib/python2.0/site-packages/PIL/ImageFont.py
|
||||
lib/python2.0/site-packages/PIL/ImagePalette.py
|
||||
lib/python2.0/site-packages/PIL/ImagePath.py
|
||||
lib/python2.0/site-packages/PIL/ImageSequence.py
|
||||
lib/python2.0/site-packages/PIL/ImageStat.py
|
||||
lib/python2.0/site-packages/PIL/ImageTk.py
|
||||
lib/python2.0/site-packages/PIL/ImageWin.py
|
||||
lib/python2.0/site-packages/PIL/ImtImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/IptcImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/JpegImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/McIdasImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/MicImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/MpegImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/MspImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/OleFileIO.py
|
||||
lib/python2.0/site-packages/PIL/PSDraw.py
|
||||
lib/python2.0/site-packages/PIL/PaletteFile.py
|
||||
lib/python2.0/site-packages/PIL/PcdImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/PcfFontFile.py
|
||||
lib/python2.0/site-packages/PIL/PcxImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/PdfImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/PixarImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/PngImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/PpmImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/PsdImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/SgiImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/SunImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/TarIO.py
|
||||
lib/python2.0/site-packages/PIL/TgaImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/TiffImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/TiffTags.py
|
||||
lib/python2.0/site-packages/PIL/WmfImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/XVThumbImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/XbmImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/XpmImagePlugin.py
|
||||
lib/python2.0/site-packages/PIL/__init__.py
|
||||
lib/python2.0/site-packages/PIL/_imaging.so
|
||||
lib/python2.0/site-packages/PIL/_imagingtk.so
|
||||
include/python2.0/ImConfig.h
|
||||
include/python2.0/ImPlatform.h
|
||||
include/python2.0/Imaging.h
|
||||
share/examples/py-Imaging/README
|
||||
share/examples/py-Imaging/bdf2pil.py
|
||||
share/examples/py-Imaging/enhancer.py
|
||||
share/examples/py-Imaging/explode.py
|
||||
share/examples/py-Imaging/gifmaker.py
|
||||
share/examples/py-Imaging/image2py.py
|
||||
share/examples/py-Imaging/painter.py
|
||||
share/examples/py-Imaging/pilconvert.py
|
||||
share/examples/py-Imaging/pildriver.py
|
||||
share/examples/py-Imaging/pilfile.py
|
||||
share/examples/py-Imaging/pilfont.py
|
||||
share/examples/py-Imaging/pilprint.py
|
||||
share/examples/py-Imaging/player.py
|
||||
share/examples/py-Imaging/thresholder.py
|
||||
share/examples/py-Imaging/viewer.py
|
||||
@dirrm share/examples/py-Imaging
|
Loading…
Reference in New Issue
Block a user