Tweak graphics/curator version 2.1_5
[dports.git] / graphics / curator / Makefile
1 # Created by: Stefan Walter <sw@gegenunendlich.de>
2 # $FreeBSD: graphics/curator/Makefile 327733 2013-09-20 18:35:44Z bapt $
3
4 PORTNAME=       curator
5 PORTVERSION=    2.1
6 PORTREVISION=   5
7 CATEGORIES=     graphics www python
8 MASTER_SITES=   SF
9
10 MAINTAINER=     ports@FreeBSD.org
11 COMMENT=        Static Image Gallery Generator for web or CD-ROM galleries
12
13 USE_PYTHON=     yes
14 USE_PYDISTUTILS=yes
15
16 OPTIONS_DEFINE= PIL
17 PIL_DESC=       Use Python Imaging Library instead of ImageMagick
18
19 PLIST_FILES=    bin/curator
20 MAN1=           curator.1
21
22 NO_STAGE=       yes
23 .include <bsd.port.options.mk>
24
25 .if ${PORT_OPTIONS:MPIL}
26 RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging
27 .else
28 RUN_DEPENDS=    convert:${PORTSDIR}/graphics/ImageMagick
29 .endif
30
31 post-install:
32         ${INSTALL_MAN} ${FILESDIR}/curator.1 ${PREFIX}/man/man1/curator.1
33
34 .include <bsd.port.mk>