diff options
author | bapt <bapt@FreeBSD.org> | 2012-12-13 15:51:40 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-12-13 15:51:40 +0800 |
commit | 20b1f2ada2b5b4020bbbacea288d206a2fd5084f (patch) | |
tree | 849927931687c00b59b19c4d2d13d80a7c58f9b0 | |
parent | bc458537787b5a3ae70af24e957059d43c3050c2 (diff) | |
download | freebsd-ports-gnome-20b1f2ada2b5b4020bbbacea288d206a2fd5084f.tar.gz freebsd-ports-gnome-20b1f2ada2b5b4020bbbacea288d206a2fd5084f.tar.zst freebsd-ports-gnome-20b1f2ada2b5b4020bbbacea288d206a2fd5084f.zip |
Convert to new option framework
-rw-r--r-- | games/xcowsay/Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/games/xcowsay/Makefile b/games/xcowsay/Makefile index ea95153f3922..b3319ec005bd 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 |