svn commit: r308828 - head/games/xcowsay
Baptiste Daroussin
bapt at FreeBSD.org
Thu Dec 13 07:51:40 UTC 2012
Author: bapt
Date: Thu Dec 13 07:51:40 2012
New Revision: 308828
URL: http://svnweb.freebsd.org/changeset/ports/308828
Log:
Convert to new option framework
Modified:
head/games/xcowsay/Makefile
Modified: head/games/xcowsay/Makefile
==============================================================================
--- head/games/xcowsay/Makefile Thu Dec 13 07:50:28 2012 (r308827)
+++ head/games/xcowsay/Makefile Thu Dec 13 07:51:40 2012 (r308828)
@@ -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/fil
MAINTAINER= ports at 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
More information about the svn-ports-all
mailing list