aboutsummaryrefslogtreecommitdiff
path: root/graphics/curator
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-06-12 21:42:32 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-06-12 21:42:32 +0000
commit9010280b855a8f663dc0899ba61ab950e6b515da (patch)
treeade0e2be591e771231576c7a69bfc8a5cf0bc252 /graphics/curator
parent06a3e062ca8655d412fd71bf237d2cbcb5d17726 (diff)
downloadports-9010280b855a8f663dc0899ba61ab950e6b515da.tar.gz
ports-9010280b855a8f663dc0899ba61ab950e6b515da.zip
Notes
Diffstat (limited to 'graphics/curator')
-rw-r--r--graphics/curator/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/graphics/curator/Makefile b/graphics/curator/Makefile
index 72d8126b7dcf..abee44163953 100644
--- a/graphics/curator/Makefile
+++ b/graphics/curator/Makefile
@@ -17,14 +17,15 @@ 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
+OPTIONS_DEFINE= PIL
+PIL_DESC= Use Python Imaging Library instead of ImageMagick
PLIST_FILES= bin/curator
MAN1= curator.1
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_PIL)
+.if ${PORT_OPTIONS:MPIL}
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging
.else
RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick
@@ -33,4 +34,4 @@ RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick
post-install:
${INSTALL_MAN} ${FILESDIR}/curator.1 ${PREFIX}/man/man1/curator.1
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>