aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/evas-loader-generic
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-06-06 23:59:25 +0800
committerbapt <bapt@FreeBSD.org>2013-06-06 23:59:25 +0800
commitf7ca1ab0dc59d2c9844430bf67fb99caab4a16ae (patch)
treedfc5a0e207572d27fd88dcdd3eb72e40e0beec57 /graphics/evas-loader-generic
parent020ef88859922b290ce6b39c98822ab82a78f76c (diff)
downloadfreebsd-ports-gnome-f7ca1ab0dc59d2c9844430bf67fb99caab4a16ae.tar.gz
freebsd-ports-gnome-f7ca1ab0dc59d2c9844430bf67fb99caab4a16ae.tar.zst
freebsd-ports-gnome-f7ca1ab0dc59d2c9844430bf67fb99caab4a16ae.zip
Convert to new options framework
Diffstat (limited to 'graphics/evas-loader-generic')
-rw-r--r--graphics/evas-loader-generic/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/graphics/evas-loader-generic/Makefile b/graphics/evas-loader-generic/Makefile
index 69944393a6d5..56639151a81e 100644
--- a/graphics/evas-loader-generic/Makefile
+++ b/graphics/evas-loader-generic/Makefile
@@ -16,8 +16,13 @@ LICENSE= BSD
EVAS_GENERIC_LOADERS= gst pdf ps raw svg xcf
+#bmake compatibility
+.MAKE.FreeBSD_UL= yes
+
.for NODE in ${EVAS_GENERIC_LOADERS}
-OPTIONS+= ${NODE:U} "Install ${NODE} evas generic loader" on
+OPTIONS_DEFINE+= ${NODE:U}
+OPTIONS_DEFAULT+= ${NODE:U}
+${NODE:U}_DESC= Install ${NODE} evas generic loader
.endfor
DIST_SUBDIR= e17
@@ -36,7 +41,7 @@ CONFIGURE_ARGS+= --enable-image-loader-generic
.include <bsd.port.options.mk>
.for NODE in ${EVAS_GENERIC_LOADERS}
-. if !defined(WITHOUT_${NODE:U})
+. if ${PORT_OPTIONS:M${NODE:U}}
RUN_DEPENDS+= ${LOCALBASE}/lib/evas/utils/evas_image_loader.${NODE}:${PORTSDIR}/graphics/evas_generic_loaders-${NODE}
. endif
.endfor