summaryrefslogtreecommitdiffstats
path: root/x11/gnome-applets/Makefile
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2006-05-27 03:52:11 +0000
committerahze <ahze@FreeBSD.org>2006-05-27 03:52:11 +0000
commit12b602985eb4630587e81d457c22d25c43e60c10 (patch)
treec590b4ec45f56d518411d1e5389d4cd1771ee242 /x11/gnome-applets/Makefile
parent93d3b40ab58fe6572e492f307db18ec729620df0 (diff)
downloadFreeBSD-ports-12b602985eb4630587e81d457c22d25c43e60c10.zip
FreeBSD-ports-12b602985eb4630587e81d457c22d25c43e60c10.tar.gz
- Add WITH_MINI_COMMANDER to OPTIONS, off by default
This is the good old mini_commander_applet, good for people who don't want/need all the bells and whistles found in the new python based deskbarapplet (deskutils/deskbar-applet).
Diffstat (limited to 'x11/gnome-applets/Makefile')
-rw-r--r--x11/gnome-applets/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/x11/gnome-applets/Makefile b/x11/gnome-applets/Makefile
index 4e6cd07..cf84f04 100644
--- a/x11/gnome-applets/Makefile
+++ b/x11/gnome-applets/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
OpenPOWER on IntegriCloud