aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/curator
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-06-13 05:42:32 +0800
committerbapt <bapt@FreeBSD.org>2012-06-13 05:42:32 +0800
commitf5eba1acd02cb57a7650fe6c33b912240f6ab8ab (patch)
tree785d921da1883d2c1df77c5add82a844e2ae090b /graphics/curator
parenteb2a7f0a6ba691b8505dc2684f14abff26a76009 (diff)
downloadfreebsd-ports-gnome-f5eba1acd02cb57a7650fe6c33b912240f6ab8ab.tar.gz
freebsd-ports-gnome-f5eba1acd02cb57a7650fe6c33b912240f6ab8ab.tar.zst
freebsd-ports-gnome-f5eba1acd02cb57a7650fe6c33b912240f6ab8ab.zip
Conver to new options framework
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>