2013-09-20 20:35:44 +02:00
|
|
|
# Created by: Stefan Walter <sw@gegenunendlich.de>
|
2004-11-04 19:29:56 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= curator
|
|
|
|
PORTVERSION= 2.1
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 5
|
2004-11-04 19:29:56 +01:00
|
|
|
CATEGORIES= graphics www python
|
2009-09-02 17:01:56 +02:00
|
|
|
MASTER_SITES= SF
|
2004-11-04 19:29:56 +01:00
|
|
|
|
2008-05-05 16:12:53 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-11-04 19:29:56 +01:00
|
|
|
COMMENT= Static Image Gallery Generator for web or CD-ROM galleries
|
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS=yes
|
2014-01-21 20:40:13 +01:00
|
|
|
PYDISTUTILS_AUTOPLIST= yes
|
2004-11-04 19:29:56 +01:00
|
|
|
|
2012-06-12 23:42:32 +02:00
|
|
|
OPTIONS_DEFINE= PIL
|
|
|
|
PIL_DESC= Use Python Imaging Library instead of ImageMagick
|
2004-11-04 19:29:56 +01:00
|
|
|
|
2014-01-21 20:40:13 +01:00
|
|
|
PLIST_FILES= man/man1/curator.1.gz
|
2004-11-04 19:29:56 +01:00
|
|
|
|
2012-06-12 23:42:32 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2004-11-04 19:29:56 +01:00
|
|
|
|
2012-06-12 23:42:32 +02:00
|
|
|
.if ${PORT_OPTIONS:MPIL}
|
2014-01-21 20:40:13 +01:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}imaging>=0:${PORTSDIR}/graphics/py-imaging
|
2004-11-04 19:29:56 +01:00
|
|
|
.else
|
|
|
|
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
2014-01-21 20:40:13 +01:00
|
|
|
${INSTALL_MAN} ${FILESDIR}/curator.1 ${STAGEDIR}${PREFIX}/man/man1/curator.1
|
2004-11-04 19:29:56 +01:00
|
|
|
|
2012-06-12 23:42:32 +02:00
|
|
|
.include <bsd.port.mk>
|