diff options
Diffstat (limited to 'x11/gnomeapplets2/Makefile')
-rw-r--r-- | x11/gnomeapplets2/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/x11/gnomeapplets2/Makefile b/x11/gnomeapplets2/Makefile index 4e6cd07..cf84f04 100644 --- a/x11/gnomeapplets2/Makefile +++ b/x11/gnomeapplets2/Makefile @@ -45,6 +45,8 @@ GCONF_SCHEMAS= charpick.schemas drivemount.schemas geyes.schemas \ mixer.schemas multiload.schemas \ stickynotes.schemas +OPTIONS= MINI_COMMANDER "Enable mini-commander applet" off + FREEBSD_SYS?= /usr/src/sys .include <bsd.port.pre.mk> @@ -69,6 +71,14 @@ PLIST_SUB+= CPUFREQ="" GCONF_SCHEMAS+= cpufreq-applet.schemas .endif +.if defined(WITH_MINI_COMMANDER) +CONFIGURE_ARGS+= --enable-mini-commander +GCONF_SCHEMAS+= mini-commander-global.schemas mini-commander.schemas +PLIST_SUB+= COMMANDER="" +.else +PLIST_SUB+= COMMANDER="@comment " +.endif + post-patch: @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' \ ${WRKSRC}/libgweather/weather-met.c |