1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Convert to new option framework

This commit is contained in:
Baptiste Daroussin 2012-12-13 07:51:40 +00:00
parent afe3adc0af
commit 0297215789
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308828

View File

@ -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