aboutsummaryrefslogtreecommitdiffstats
path: root/games/xcowsay
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2013-11-13 10:20:24 +0800
committerdanilo <danilo@FreeBSD.org>2013-11-13 10:20:24 +0800
commit552a893b76678069d29dc93294bdef734cb20c37 (patch)
tree7a3498a7030f60aba1e3b895ade065a2ab8b381f /games/xcowsay
parent9b74574935eea1c9cf97633d9e5a058ca9fbb20f (diff)
downloadfreebsd-ports-gnome-552a893b76678069d29dc93294bdef734cb20c37.tar.gz
freebsd-ports-gnome-552a893b76678069d29dc93294bdef734cb20c37.tar.zst
freebsd-ports-gnome-552a893b76678069d29dc93294bdef734cb20c37.zip
- Remove the indefinite article from COMMENT
- Use options helpers - Add stage support
Diffstat (limited to 'games/xcowsay')
-rw-r--r--games/xcowsay/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/games/xcowsay/Makefile b/games/xcowsay/Makefile
index d59c9be5c724..e1e4d21e8ef6 100644
--- a/games/xcowsay/Makefile
+++ b/games/xcowsay/Makefile
@@ -9,7 +9,7 @@ MASTER_SITES= http://www.nickg.me.uk/files/ \
http://www.predatorlabs.net/dl/
MAINTAINER= ports@FreeBSD.org
-COMMENT= A graphical configurable talking cow
+COMMENT= Graphical configurable talking cow
OPTIONS_DEFINE= DBUS
@@ -17,13 +17,13 @@ USE_GNOME= gtk20
USES= gettext gmake pkgconfig
GNU_CONFIGURE= yes
-MAN6= xcowsay.6
PLIST_FILES= bin/xcowdream \
bin/xcowfortune \
bin/xcowsay \
bin/xcowthink \
share/locale/pt_BR/LC_MESSAGES/xcowsay.mo \
share/locale/ru/LC_MESSAGES/xcowsay.mo \
+ man/man6/xcowsay.6.gz \
%%DATADIR%%/cow_large.png \
%%DATADIR%%/cow_med.png \
%%DATADIR%%/cow_small.png
@@ -32,13 +32,8 @@ PLIST_DIRS= %%DATADIR%%
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDBUS}
-LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
-CFLAGS+= -DWITH_DBUS
-CONFIGURE_ARGS+= --enable-dbus
-.endif
+DBUS_LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
+DBUS_CFLAGS= -DWITH_DBUS
+DBUS_CONFIGURE_ENABLE= dbus
.include <bsd.port.mk>