diff options
author | bapt <bapt@FreeBSD.org> | 2012-05-31 22:49:26 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-05-31 22:49:26 +0800 |
commit | 66780caf231381add129f8ab44ca54133051a1c5 (patch) | |
tree | 986ee858a70982e7ead92499315df9c0231da04d /x11-wm/compiz-fusion | |
parent | 4297676582426ca3d54e1c10bdf5464fe141fb96 (diff) | |
download | freebsd-ports-gnome-66780caf231381add129f8ab44ca54133051a1c5.tar.gz freebsd-ports-gnome-66780caf231381add129f8ab44ca54133051a1c5.tar.zst freebsd-ports-gnome-66780caf231381add129f8ab44ca54133051a1c5.zip |
Convert to new options framework
Diffstat (limited to 'x11-wm/compiz-fusion')
-rw-r--r-- | x11-wm/compiz-fusion/Makefile | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/x11-wm/compiz-fusion/Makefile b/x11-wm/compiz-fusion/Makefile index 24e8c483e321..4db98686307c 100644 --- a/x11-wm/compiz-fusion/Makefile +++ b/x11-wm/compiz-fusion/Makefile @@ -23,36 +23,32 @@ RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/compiz.pc:${PORTSDIR}/x11-wm/compiz NO_BUILD= yes -OPTIONS= EXTRA "Enable extra plugins" on \ - UNSUP "Enable unsupported plugins" off \ - EMERALD "Enable emerald window decorator" on \ - GCONF "Enable the gconf backend" on -# Hold off on this until I can get a clean tb run... -# KCONFIG "Enable kconfig backend" off +OPTIONS_DEFINE= EXTRA UNSUP EMERALD GCONF +OPTIONS_DEFAULT= GCONF EXTRA EMERALD + +EXTRA_DESC= Enable extra plugins +UNSUP_DESC= Enable unsupported plugins +EMERALD_DESC= Enable emerald window decorator do-install: # empty -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if !defined(WITHOUT_EXTRA) +.if ${PORT_OPTIONS:MEXTRA} RUN_DEPENDS+= ${LOCALBASE}/lib/compiz/libaddhelper.so:${PORTSDIR}/x11-wm/compiz-plugins-extra .endif -.if defined(WITH_UNSUP) +.if ${PORT_OPTIONS:MUNSUP} RUN_DEPENDS+= ${LOCALBASE}/lib/compiz/libfakeargb.so:${PORTSDIR}/x11-wm/compiz-plugins-unsupported .endif -.if !defined(WITHOUT_EMERALD) +.if ${PORT_OPTIONS:MEMERALD} RUN_DEPENDS+= ${LOCALBASE}/bin/emerald:${PORTSDIR}/x11-wm/emerald \ ${LOCALBASE}/share/emerald/themes/Adonis_Mod/theme.ini:${PORTSDIR}/x11-themes/emerald-themes .endif -.if !defined(WITHOUT_GCONF) +.if ${PORT_OPTIONS:MGCONF} RUN_DEPENDS+= ${LOCALBASE}/lib/compizconfig/backends/libgconf.so:${PORTSDIR}/x11-wm/compizconfig-backend-gconf .endif -#.if defined(WITH_KCONFIG) -#RUN_DEPENDS+= ${LOCALBASE}/lib/compizconfig/backends/libkconfig.so:${PORTSDIR}/x11-wm/compizconfig-backend-kconfig -#.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> |