a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 20506 2006-11-03 16:00:11Z blair@macports.org $
PortSystem 1.0
PortGroup zope 1.0
zope.setup ZPhotoSlides 1.3
revision 3
categories-append graphics
maintainers nomaintainer@macports.org
description Zope web photo gallery product
long_description ZPhotoSlides is a web photo gallery for the \
dynamic web-based server Zope. ZPhotoSlides will \
help you to show to all your friends and familly \
your best photos in a nice environment, to \
thumbnailize them, modify them (Apply filters, \
rotate, resize...) within your browser and \
accessible wherever you are.
homepage http://www.zphotoslides.org/
master_sites sourceforge:zphotoslides
checksums md5 c2be3084f144ecfe1a97b4b6439fe659
platforms darwin freebsd
# Depends on these Zope products, Python modules, and external programs
depends_lib-append port:zope-localizer \
port:zope-stripogram \
port:py-pil
depends_run bin:convert:ImageMagick
patchfiles patch-__init__.py
post-patch {
reinplace "s|/usr/local|${prefix}|" \
${worksrcpath}/${zope.product}/${zope.product}.py
file rename ${worksrcpath}/${zope.product}/README \
${worksrcpath}/${zope.product}/README.txt
}
use_configure no
pre-build {
file rename -force ${worksrcpath}/${zope.product}/batch_slides.py \
${worksrcpath}/${zope.product}/batch_slides.py.txt
}
post-build {
file rename -force ${worksrcpath}/${zope.product}/batch_slides.py.txt \
${worksrcpath}/${zope.product}/batch_slides.py
}