aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/hugin
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-06 16:31:29 +0800
committerbapt <bapt@FreeBSD.org>2013-05-06 16:31:29 +0800
commit9ab231fac3dea278558297213676172b7fd2badf (patch)
tree933a79805e8e74784ee3f4b8399955b260e7b423 /graphics/hugin
parent0631fa015956774971c9e5ce20be0e8b74aa515d (diff)
downloadfreebsd-ports-gnome-9ab231fac3dea278558297213676172b7fd2badf.tar.gz
freebsd-ports-gnome-9ab231fac3dea278558297213676172b7fd2badf.tar.zst
freebsd-ports-gnome-9ab231fac3dea278558297213676172b7fd2badf.zip
Convert to new options framework
Diffstat (limited to 'graphics/hugin')
-rw-r--r--graphics/hugin/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/graphics/hugin/Makefile b/graphics/hugin/Makefile
index 839ed703730a..a26743387b32 100644
--- a/graphics/hugin/Makefile
+++ b/graphics/hugin/Makefile
@@ -28,8 +28,10 @@ RUN_DEPENDS= enblend>=3.1.r20080615:${PORTSDIR}/graphics/enblend \
USE_BZIP2= yes
-OPTIONS= PANOMATIC "Install graphics/panomatic" on \
- AUTOPANOSIFTC "Install graphics/autopano-sift-c" on
+OPTIONS_DEFINE= PANOMATIC AUTOPANOSIFTC
+OPTIONS_DEFAULT= PANOMATIC AUTOPANOSIFTC
+PANOMATIC_DESC= Install graphics/panomatic
+AUTOPANOSIFTC_DESC= Install graphics/autopano-sift-c
USES= cmake gettext
@@ -91,14 +93,14 @@ post-configure:
${WRKSRC}/src/hugin1/stitch_project/CMakeFiles/hugin_stitch_project.dir/flags.make \
${WRKSRC}/src/hugin1/stitch_project/CMakeFiles/hugin_stitch_project.dir/link.txt
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_PANOMATIC)
+.if ${PORT_OPTIONS:MPANOMATIC}
RUN_DEPENDS+= panomatic:${PORTSDIR}/graphics/panomatic
.endif
-.if defined(WITH_AUTOPANOSIFTC)
+.if ${PORT_OPTIONS:MAUTOPANOSIFTC}
RUN_DEPENDS+= autopano:${PORTSDIR}/graphics/autopano-sift-c
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>