diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2010-12-23 19:38:37 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2010-12-23 19:38:37 +0000 |
commit | 0affa6686ad89ecb4a0fdd5a5014d398da32935d (patch) | |
tree | 06b6082900392e601b54fee9c0835a8f9f91f5a2 /games/xcowsay | |
parent | 7a6cc0e548bd33090e7aa4c1a6c58081ea80402a (diff) |
Update to 1.3 [1]
Remove gnome from CATEGORIES, it is pure gtk2 app.
PR: ports/153401 [1]
Submitted by: Rob Farmer (maintainer)
Notes
Notes:
svn path=/head/; revision=266803
Diffstat (limited to 'games/xcowsay')
-rw-r--r-- | games/xcowsay/Makefile | 13 | ||||
-rw-r--r-- | games/xcowsay/distinfo | 5 | ||||
-rw-r--r-- | games/xcowsay/files/patch-src__xcowsay.c | 11 |
3 files changed, 18 insertions, 11 deletions
diff --git a/games/xcowsay/Makefile b/games/xcowsay/Makefile index 668a26bc7ffd..3a5506aa4dd4 100644 --- a/games/xcowsay/Makefile +++ b/games/xcowsay/Makefile @@ -6,9 +6,8 @@ # PORTNAME= xcowsay -PORTVERSION= 1.2 -PORTREVISION= 3 -CATEGORIES= games gnome +PORTVERSION= 1.3 +CATEGORIES= games MASTER_SITES= http://www.nickg.me.uk/files/ \ http://www.predatorlabs.net/dl/ @@ -29,6 +28,7 @@ PLIST_FILES= bin/xcowdream \ bin/xcowsay \ bin/xcowthink \ share/locale/pt_BR/LC_MESSAGES/xcowsay.mo \ + share/locale/ru/LC_MESSAGES/xcowsay.mo \ %%DATADIR%%/cow_large.png \ %%DATADIR%%/cow_med.png \ %%DATADIR%%/cow_small.png @@ -37,7 +37,7 @@ PLIST_DIRS= %%DATADIR%% CPPFLAGS= -I${LOCALBASE}/include LDFLAGS= -L${LOCALBASE}/lib -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> .if defined(WITH_DBUS) LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib @@ -45,7 +45,4 @@ CFLAGS+= -DWITH_DBUS CONFIGURE_ARGS+= --enable-dbus .endif -post-patch: - @${REINPLACE_CMD} -e 's|-DWITH_DBUS||g' ${WRKSRC}/configure - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/games/xcowsay/distinfo b/games/xcowsay/distinfo index dacbdd42c7fd..2cb3af4b3732 100644 --- a/games/xcowsay/distinfo +++ b/games/xcowsay/distinfo @@ -1,3 +1,2 @@ -MD5 (xcowsay-1.2.tar.gz) = a0f8e511a5c07d9e48057ad8100fa42b -SHA256 (xcowsay-1.2.tar.gz) = 27d576b541fbc0aa00be3b3013b5161596eff594ff18abf557ad81cd6b5de324 -SIZE (xcowsay-1.2.tar.gz) = 264592 +SHA256 (xcowsay-1.3.tar.gz) = e055a35d7bb8bf17f07b5336bbd081a1a53f0b02f83c250b714bb6531789ebcf +SIZE (xcowsay-1.3.tar.gz) = 269836 diff --git a/games/xcowsay/files/patch-src__xcowsay.c b/games/xcowsay/files/patch-src__xcowsay.c new file mode 100644 index 000000000000..8c80b3ebc0b7 --- /dev/null +++ b/games/xcowsay/files/patch-src__xcowsay.c @@ -0,0 +1,11 @@ +--- ./src/xcowsay.c.orig 2010-12-22 22:33:28.806155135 -0800 ++++ ./src/xcowsay.c 2010-12-22 22:34:03.718166298 -0800 +@@ -252,7 +252,7 @@ + parse_config_file(); + + int c, index = 0, failure = 0; +- const char *spec = "hvld:rt:f:"; ++ const char *spec = "hvld:r:t:f:"; + const char *dream_file = NULL; + while ((c = getopt_long(argc, argv, spec, long_options, &index)) != -1) { + switch (c) { |