2004-11-04 19:29:56 +01:00
|
|
|
# New ports collection makefile for: curator
|
|
|
|
# Date created: 03 Jul 2004
|
|
|
|
# Whom: Stefan Walter <sw@gegenunendlich.de>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= curator
|
|
|
|
PORTVERSION= 2.1
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 2
|
2004-11-04 19:29:56 +01:00
|
|
|
CATEGORIES= graphics www python
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2006-05-07 15:32:13 +02:00
|
|
|
MAINTAINER= stefan@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
|
|
|
|
|
|
|
|
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>
|