aboutsummaryrefslogtreecommitdiffstats
path: root/games/xcowsay
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-11-02 18:54:06 +0800
committermiwi <miwi@FreeBSD.org>2009-11-02 18:54:06 +0800
commit17e67412c59cc533cb4f430d0741313006a711c3 (patch)
tree545e2bf5c79e04ec2e1bfdf5af54abf053779d65 /games/xcowsay
parentc852d00132cd810c2ed1b10056e2948ccda58d87 (diff)
downloadfreebsd-ports-gnome-17e67412c59cc533cb4f430d0741313006a711c3.tar.gz
freebsd-ports-gnome-17e67412c59cc533cb4f430d0741313006a711c3.tar.zst
freebsd-ports-gnome-17e67412c59cc533cb4f430d0741313006a711c3.zip
- Update to 1.1.1
PR: 140118 Submitted by: Ports Fury
Diffstat (limited to 'games/xcowsay')
-rw-r--r--games/xcowsay/Makefile47
-rw-r--r--games/xcowsay/distinfo6
-rw-r--r--games/xcowsay/pkg-plist9
3 files changed, 32 insertions, 30 deletions
diff --git a/games/xcowsay/Makefile b/games/xcowsay/Makefile
index 9b11e0cf58dd..b08db3072f4a 100644
--- a/games/xcowsay/Makefile
+++ b/games/xcowsay/Makefile
@@ -6,33 +6,44 @@
#
PORTNAME= xcowsay
-PORTVERSION= 1.1
-PORTREVISION= 1
+PORTVERSION= 1.1.1
CATEGORIES= games gnome
-MASTER_SITES= http://www.nickg.me.uk/files/ LOCAL/chinsan/games
+MASTER_SITES= http://www.nickg.me.uk/files/
MAINTAINER= ports@FreeBSD.org
COMMENT= A graphical configurable talking cow
-GNU_CONFIGURE= yes
-USE_GNOME= gtk20 gdkpixbuf intlhack
+OPTIONS= DBUS "Enable DBus support" off
+
+USE_GNOME= gtk20
+USE_GETTEXT= yes
USE_GMAKE= yes
-USE_ICONV= yes
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD}
+GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN6= xcowsay.6
+PLIST_FILES= bin/xcowdream \
+ bin/xcowfortune \
+ bin/xcowsay \
+ bin/xcowthink \
+ share/locale/pt_BR/LC_MESSAGES/xcowsay.mo \
+ %%DATADIR%%/cow_large.png \
+ %%DATADIR%%/cow_med.png \
+ %%DATADIR%%/cow_small.png
+PLIST_DIRS= %%DATADIR%%
-.if !defined(WITHOUT_NLS)
-USE_GETTEXT= yes
-PLIST_SUB+= NLS=""
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_DBUS)
+LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
+CFLAGS+= -DWITH_DBUS
+CONFIGURE_ARGS+= --enable-dbus
.endif
-.include <bsd.port.mk>
+post-patch:
+ @${REINPLACE_CMD} -e 's|-DWITH_DBUS||g' ${WRKSRC}/configure
+
+.include <bsd.port.post.mk>
diff --git a/games/xcowsay/distinfo b/games/xcowsay/distinfo
index e986b09f9bfd..1db88727fa56 100644
--- a/games/xcowsay/distinfo
+++ b/games/xcowsay/distinfo
@@ -1,3 +1,3 @@
-MD5 (xcowsay-1.1.tar.gz) = cf08b324b67d5761158344adcea89402
-SHA256 (xcowsay-1.1.tar.gz) = e0dd4b753690c650c6bfbb5af9d190fa6bb3d889a491c8553a34ba397ede8bbc
-SIZE (xcowsay-1.1.tar.gz) = 258978
+MD5 (xcowsay-1.1.1.tar.gz) = b6ba1b3726fc6d365311693e583d3c14
+SHA256 (xcowsay-1.1.1.tar.gz) = 121ad38463808217ef0b56a192848cb07add74937a0190c89b881e062f374719
+SIZE (xcowsay-1.1.1.tar.gz) = 258392
diff --git a/games/xcowsay/pkg-plist b/games/xcowsay/pkg-plist
deleted file mode 100644
index e9e3e459cbfb..000000000000
--- a/games/xcowsay/pkg-plist
+++ /dev/null
@@ -1,9 +0,0 @@
-bin/xcowsay
-bin/xcowfortune
-bin/xcowdream
-bin/xcowthink
-%%NLS%%share/locale/pt_BR/LC_MESSAGES/xcowsay.mo
-%%DATADIR%%/cow_small.png
-%%DATADIR%%/cow_med.png
-%%DATADIR%%/cow_large.png
-@dirrm %%DATADIR%%