aboutsummaryrefslogtreecommitdiff
path: root/graphics/curator/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/curator/Makefile')
-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>