summaryrefslogtreecommitdiff
path: root/graphics/curator/Makefile
blob: 2fb161234d3075dc95583571eb08c8fee78b9331 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: Stefan Walter <sw@gegenunendlich.de>
# $FreeBSD$

PORTNAME=	curator
PORTVERSION=	2.1
PORTREVISION=	5
CATEGORIES=	graphics www python
MASTER_SITES=	SF

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Static Image Gallery Generator for web or CD-ROM galleries

USES=		python
USE_PYTHON=	distutils autoplist

OPTIONS_DEFINE=	PIL
PIL_DESC=	Use Python Imaging Library instead of ImageMagick

PLIST_FILES=	man/man1/curator.1.gz

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MPIL}
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}imaging>=0:${PORTSDIR}/graphics/py-imaging
.else
RUN_DEPENDS=	convert:${PORTSDIR}/graphics/ImageMagick
.endif

post-install:
	${INSTALL_MAN} ${FILESDIR}/curator.1 ${STAGEDIR}${PREFIX}/man/man1/curator.1

.include <bsd.port.mk>