aboutsummaryrefslogtreecommitdiff
path: root/graphics/curator/Makefile
blob: bfa7527832a9def58f9e6350177cc7c2fd798d89 (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
33
34
35
36
37
# New ports collection makefile for:	curator
# Date created:				03 Jul 2004
# Whom:					Stefan Walter <sw@gegenunendlich.de>
#
# $FreeBSD$
#

PORTNAME=	curator
PORTVERSION=	2.1
PORTREVISION=	2
CATEGORIES=	graphics www python
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR=	${PORTNAME}

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

USE_PYTHON=	yes
USE_PYDISTUTILS=yes

OPTIONS=	PIL "Use Python Imaging Library instead of ImageMagick" off

PLIST_FILES=	bin/curator
MAN1=		curator.1

.include <bsd.port.pre.mk>

.if defined(WITH_PIL)
RUN_DEPENDS=	${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging
.else
RUN_DEPENDS=	convert:${PORTSDIR}/graphics/ImageMagick
.endif

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

.include <bsd.port.post.mk>