summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-12-13 07:51:40 +0000
committerbapt <bapt@FreeBSD.org>2012-12-13 07:51:40 +0000
commit20b1f2ada2b5b4020bbbacea288d206a2fd5084f (patch)
tree849927931687c00b59b19c4d2d13d80a7c58f9b0
parentbc458537787b5a3ae70af24e957059d43c3050c2 (diff)
downloadFreeBSD-ports-20b1f2ada2b5b4020bbbacea288d206a2fd5084f.zip
FreeBSD-ports-20b1f2ada2b5b4020bbbacea288d206a2fd5084f.tar.gz
Convert to new option framework
-rw-r--r--games/xcowsay/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/games/xcowsay/Makefile b/games/xcowsay/Makefile
index ea95153..b3319ec 100644
--- a/games/xcowsay/Makefile
+++ b/games/xcowsay/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: xcowsay
-# Date created: 2008/09/07
-# Whom: chinsan
-#
+# Created by: chinsan
# $FreeBSD$
-#
PORTNAME= xcowsay
PORTVERSION= 1.3
@@ -15,7 +11,7 @@ MASTER_SITES= http://www.nickg.me.uk/files/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= A graphical configurable talking cow
-OPTIONS= DBUS "Enable DBus support" off
+OPTIONS_DEFINE= DBUS
USE_GNOME= gtk20
USE_GETTEXT= yes
@@ -39,7 +35,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.options.mk>
-.if defined(WITH_DBUS)
+.if ${PORT_OPTIONS:MDBUS}
LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
CFLAGS+= -DWITH_DBUS
CONFIGURE_ARGS+= --enable-dbus
OpenPOWER on IntegriCloud