aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/deskbar-applet
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2013-03-19 18:34:09 +0800
committerkwm <kwm@FreeBSD.org>2013-03-19 18:34:09 +0800
commit38d22f91997e71dd03618ec2d16c51e19e000cd9 (patch)
treedeba081a919d5dd8c4960784f2e0656eb6eccd96 /deskutils/deskbar-applet
parent290936a8b29cbcca17e71ef68ae317bf57ae66ec (diff)
downloadfreebsd-ports-gnome-38d22f91997e71dd03618ec2d16c51e19e000cd9.tar.gz
freebsd-ports-gnome-38d22f91997e71dd03618ec2d16c51e19e000cd9.tar.zst
freebsd-ports-gnome-38d22f91997e71dd03618ec2d16c51e19e000cd9.zip
Convert to optionsNG, switch to USES=pathfix. Remove RUN_DEPEND for
python < 2.6, and leftover from old py-simplejson detection.
Diffstat (limited to 'deskutils/deskbar-applet')
-rw-r--r--deskutils/deskbar-applet/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/deskutils/deskbar-applet/Makefile b/deskutils/deskbar-applet/Makefile
index fa8125a3bb94..6dda72de4f57 100644
--- a/deskutils/deskbar-applet/Makefile
+++ b/deskutils/deskbar-applet/Makefile
@@ -17,7 +17,8 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus
USE_BZIP2= yes
USE_GETTEXT= yes
-USE_GNOME= gnomeprefix gnomehack pygnomedesktop intlhack
+USES= pathfix
+USE_GNOME= gnomeprefix pygnomedesktop intlhack
USE_PYTHON= yes
USE_GMAKE= yes
USE_DISPLAY= yes
@@ -29,17 +30,13 @@ LDFLAGS+= -L${LOCALBASE}/lib
GCONF_SCHEMAS= deskbar-applet.schemas
-OPTIONS= EVO "Enable evolution support" on
+OPTIONS_DEFINE= EVO
+OPTIONS_DEFAULT=EVO
+EVO_DESC= Enable evolution support
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if ${PYTHON_REL} < 260
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}simplejson>=2.0.9:${PORTSDIR}/devel/py-simplejson
-.endif
-
-_OSRELEASE!= ${UNAME} -r
-
-.if !defined(WITHOUT_EVO)
+.if ${PORT_OPTIONS:MEVO}
USE_GNOME+= evolutiondataserver
PLIST_SUB+= EVO=""
.else