aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-08-15 19:37:57 +0800
committerwg <wg@FreeBSD.org>2013-08-15 19:37:57 +0800
commit1db31280933733c90e168d6fd7304f5d58390a36 (patch)
tree963651326f8b0b743902ac84ebef383f44bfbb11
parent99253fa6d4eae4e358457c7b034a43ee9eba480f (diff)
downloadfreebsd-ports-gnome-1db31280933733c90e168d6fd7304f5d58390a36.tar.gz
freebsd-ports-gnome-1db31280933733c90e168d6fd7304f5d58390a36.tar.zst
freebsd-ports-gnome-1db31280933733c90e168d6fd7304f5d58390a36.zip
games/freedink-engine: update to 20121209
- Update to 20121209 [1] - USES gmake - Add WWW to pkg-descr Changes: http://git.savannah.gnu.org/cgit/freedink.git/tree/ChangeLog PR: ports/181316 [1] Submitted by: Stephen Hurd <shurd sasktel.net> (maintainer)
-rw-r--r--games/freedink-engine/Makefile14
-rw-r--r--games/freedink-engine/distinfo4
-rw-r--r--games/freedink-engine/files/patch-meminfo.c11
-rw-r--r--games/freedink-engine/pkg-descr2
-rw-r--r--games/freedink-engine/pkg-plist63
5 files changed, 86 insertions, 8 deletions
diff --git a/games/freedink-engine/Makefile b/games/freedink-engine/Makefile
index 8361250bb5b8..07cba95cbdd2 100644
--- a/games/freedink-engine/Makefile
+++ b/games/freedink-engine/Makefile
@@ -1,9 +1,8 @@
-# Created by: shurd
+# Created by: Stephen Hurd <shurd@sasktel.net>
# $FreeBSD$
PORTNAME= freedink
PORTVERSION= 1.08.${PORTVER}
-PORTREVISION= 9
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= freedink
@@ -12,12 +11,12 @@ PKGNAMESUFFIX= -engine
MAINTAINER= shurd@sasktel.net
COMMENT= Dink Smallwood RPG and RPG Construction Set
-LIB_DEPENDS= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \
+LIB_DEPENDS= fontconfig:${PORTSDIR}/x11-fonts/fontconfig
-USE_GMAKE= yes
+USES= gettext gmake
USE_SDL= sdl gfx ttf image mixer
GNU_CONFIGURE= yes
-PORTVER= 20080920
+PORTVER= 20121209
CONFIGURE_ARGS= --disable-static --disable-upx
MAN6= freedink.6 freedinkedit.6 dink.6 dinkedit.6
@@ -27,12 +26,15 @@ EMBEDDED_DESC= Embedded Resources
OPTIONS_DEFAULT= EMBEDDED
+post-patch:
+ @${CHMOD} 0755 ${WRKSRC}/autotools/install-reloc
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEMBEDDED}
CONFIGURE_ARGS+= --enable-embedded-resources
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
-LIB_DEPENDS+= zip.3:${PORTSDIR}/archivers/libzip
+LIB_DEPENDS+= zip:${PORTSDIR}/archivers/libzip
RUN_DEPENDS+= zip:${PORTSDIR}/archivers/zip
.else
CONFIGURE_ARGS+= --disable-embedded-resources
diff --git a/games/freedink-engine/distinfo b/games/freedink-engine/distinfo
index d4a978816ba3..91ddd1d6543a 100644
--- a/games/freedink-engine/distinfo
+++ b/games/freedink-engine/distinfo
@@ -1,2 +1,2 @@
-SHA256 (freedink-1.08.20080920.tar.gz) = deda4e5b992c514b6ccde3bfbff98880c28c6d91dfc67ca50ee0d0fa77d8bea8
-SIZE (freedink-1.08.20080920.tar.gz) = 785661
+SHA256 (freedink-1.08.20121209.tar.gz) = 196bfcc7b874c2fb9ac94d663f14fb759e644cc2400f77f734a098ca568dbda7
+SIZE (freedink-1.08.20121209.tar.gz) = 1853822
diff --git a/games/freedink-engine/files/patch-meminfo.c b/games/freedink-engine/files/patch-meminfo.c
new file mode 100644
index 000000000000..7c8ce0d61da9
--- /dev/null
+++ b/games/freedink-engine/files/patch-meminfo.c
@@ -0,0 +1,11 @@
+--- src/meminfo.c.orig 2013-08-14 02:51:44.000000000 -0700
++++ src/meminfo.c 2013-08-14 02:51:55.000000000 -0700
+@@ -24,7 +24,7 @@
+ #include <config.h>
+ #endif
+
+-#include <malloc.h>
++#include <stdlib.h>
+
+ #include "log.h"
+
diff --git a/games/freedink-engine/pkg-descr b/games/freedink-engine/pkg-descr
index e3b8488b737b..c2f8223f39da 100644
--- a/games/freedink-engine/pkg-descr
+++ b/games/freedink-engine/pkg-descr
@@ -8,3 +8,5 @@ runs the original game as well as its D-Mods, with close
compatibility, under multiple platforms.
This package contains the game engine alone.
+
+WWW: http://www.gnu.org/software/freedink/
diff --git a/games/freedink-engine/pkg-plist b/games/freedink-engine/pkg-plist
index 27a112eae0b1..263c4d4d9fe9 100644
--- a/games/freedink-engine/pkg-plist
+++ b/games/freedink-engine/pkg-plist
@@ -8,5 +8,68 @@ share/applications/freedinkedit.desktop
%%DATADIR%%/jump.wav
%%DATADIR%%/stop.wav
share/pixmaps/freedink.png
+share/locale/af/LC_MESSAGES/freedink-gnulib.mo
+share/locale/be/LC_MESSAGES/freedink-gnulib.mo
+share/locale/bg/LC_MESSAGES/freedink-gnulib.mo
+share/locale/ca/LC_MESSAGES/freedink-gnulib.mo
+share/locale/ca/LC_MESSAGES/freedink.mo
+share/locale/cs/LC_MESSAGES/freedink-gnulib.mo
+share/locale/cs/LC_MESSAGES/freedink.mo
+share/locale/da/LC_MESSAGES/freedink-gnulib.mo
+share/locale/da/LC_MESSAGES/freedink.mo
+share/locale/de/LC_MESSAGES/freedink-gnulib.mo
+share/locale/de/LC_MESSAGES/freedink.mo
+share/locale/el/LC_MESSAGES/freedink-gnulib.mo
+share/locale/el/LC_MESSAGES/freedink.mo
+share/locale/en@boldquot/LC_MESSAGES/freedink.mo
+share/locale/en@quot/LC_MESSAGES/freedink.mo
+share/locale/eo/LC_MESSAGES/freedink.mo
+share/locale/es/LC_MESSAGES/freedink-gnulib.mo
+share/locale/es/LC_MESSAGES/freedink.mo
+share/locale/et/LC_MESSAGES/freedink-gnulib.mo
+share/locale/eu/LC_MESSAGES/freedink-gnulib.mo
+share/locale/eu/LC_MESSAGES/freedink.mo
+share/locale/fi/LC_MESSAGES/freedink-gnulib.mo
+share/locale/fi/LC_MESSAGES/freedink.mo
+share/locale/fr/LC_MESSAGES/freedink-gnulib.mo
+share/locale/fr/LC_MESSAGES/freedink.mo
+share/locale/ga/LC_MESSAGES/freedink-gnulib.mo
+share/locale/gl/LC_MESSAGES/freedink-gnulib.mo
+share/locale/hr/LC_MESSAGES/freedink.mo
+share/locale/hu/LC_MESSAGES/freedink-gnulib.mo
+share/locale/id/LC_MESSAGES/freedink.mo
+share/locale/it/LC_MESSAGES/freedink-gnulib.mo
+share/locale/it/LC_MESSAGES/freedink.mo
+share/locale/ja/LC_MESSAGES/freedink-gnulib.mo
+share/locale/ko/LC_MESSAGES/freedink-gnulib.mo
+share/locale/ms/LC_MESSAGES/freedink-gnulib.mo
+share/locale/nb/LC_MESSAGES/freedink-gnulib.mo
+share/locale/nb/LC_MESSAGES/freedink.mo
+share/locale/nl/LC_MESSAGES/freedink-gnulib.mo
+share/locale/nl/LC_MESSAGES/freedink.mo
+share/locale/pl/LC_MESSAGES/freedink-gnulib.mo
+share/locale/pl/LC_MESSAGES/freedink.mo
+share/locale/pt/LC_MESSAGES/freedink-gnulib.mo
+share/locale/pt_BR/LC_MESSAGES/freedink-gnulib.mo
+share/locale/ro/LC_MESSAGES/freedink-gnulib.mo
+share/locale/ru/LC_MESSAGES/freedink-gnulib.mo
+share/locale/rw/LC_MESSAGES/freedink-gnulib.mo
+share/locale/sk/LC_MESSAGES/freedink-gnulib.mo
+share/locale/sl/LC_MESSAGES/freedink-gnulib.mo
+share/locale/sl/LC_MESSAGES/freedink.mo
+share/locale/sr/LC_MESSAGES/freedink.mo
+share/locale/sv/LC_MESSAGES/freedink-gnulib.mo
+share/locale/tr/LC_MESSAGES/freedink-gnulib.mo
+share/locale/uk/LC_MESSAGES/freedink-gnulib.mo
+share/locale/vi/LC_MESSAGES/freedink-gnulib.mo
+share/locale/vi/LC_MESSAGES/freedink.mo
+share/locale/zh_CN/LC_MESSAGES/freedink-gnulib.mo
+share/locale/zh_TW/LC_MESSAGES/freedink-gnulib.mo
+@dirrm share/locale/en@boldquot/LC_MESSAGES
+@dirrmtry share/locale/en@boldquot
+@dirrm share/locale/en@quot/LC_MESSAGES
+@dirrmtry share/locale/en@quot
+@dirrm share/locale/rw/LC_MESSAGES
+@dirrmtry share/locale/rw
@dirrmtry %%DATADIR%%
@dirrmtry share/applications