- update to freedroidrpg-0.11
- needs gcc4
This commit is contained in:
parent
c5f151a44c
commit
58d54e85c2
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2008/06/12 22:10:38 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2008/10/03 14:33:53 ajacoutot Exp $
|
||||
|
||||
COMMENT= isometric RPG game
|
||||
|
||||
DISTNAME= freedroidrpg-0.10.3
|
||||
DISTNAME= freedroidrpg-0.11
|
||||
CATEGORIES= games x11
|
||||
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
@ -19,21 +19,24 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freedroid/}
|
||||
|
||||
WANTLIB= GL SDL X11 Xext Xi c glib gmodule jpeg m ogg png \
|
||||
pthread vorbis z
|
||||
WANTLIB= GL SDL X11 c jpeg m ogg png pthread vorbis z
|
||||
|
||||
MODULES= devel/gettext
|
||||
USE_X11= Yes
|
||||
|
||||
LIB_DEPENDS= gdk.>=3,gtk.>=3::x11/gtk+ \
|
||||
SDL_image.>=2::devel/sdl-image \
|
||||
SDL_mixer.>=3::devel/sdl-mixer \
|
||||
SDL_net.>=1::devel/sdl-net
|
||||
LIB_DEPENDS= SDL_image.>=2::devel/sdl-image \
|
||||
SDL_mixer.>=3::devel/sdl-mixer
|
||||
|
||||
.if ${MACHINE_ARCH} == "sparc64"
|
||||
BROKEN= SIGBUS on startup under sparc64
|
||||
.endif
|
||||
|
||||
# needed to avoid a SIGSEGV
|
||||
# (int i corruption in enemy.c line 2056:
|
||||
# should be "0" or "1" instead of a nonsense negative value)
|
||||
MODULES+= gcc4
|
||||
MODGCC4_ARCHES= *
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
|
||||
-I${LOCALBASE}/include/libpng" \
|
||||
@ -42,7 +45,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
|
||||
CONFIGURE_ARGS= --with-x \
|
||||
--enable-opengl \
|
||||
--enable-editors \
|
||||
--disable-backtrace
|
||||
--disable-backtrace # needs libexecinfo
|
||||
|
||||
post-install:
|
||||
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/freedroidrpg
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (freedroidrpg-0.10.3.tar.bz2) = RFXIL/Zfj/fViFPYr/dtWw==
|
||||
RMD160 (freedroidrpg-0.10.3.tar.bz2) = BwAddM1vf667zN4eoxXvx6WI50c=
|
||||
SHA1 (freedroidrpg-0.10.3.tar.bz2) = w2WIAj+F05wCtiXekIWV4SLVXfo=
|
||||
SHA256 (freedroidrpg-0.10.3.tar.bz2) = faUFCZQAiU3p1GWIO2STc5LQ+QgtS/M0z1ildBlsiwM=
|
||||
SIZE (freedroidrpg-0.10.3.tar.bz2) = 78712629
|
||||
MD5 (freedroidrpg-0.11.tar.bz2) = lgixqSb8+ZhD4NWUPhrgUA==
|
||||
RMD160 (freedroidrpg-0.11.tar.bz2) = Oepg60aYgY0ZaogGkf74yge+gq8=
|
||||
SHA1 (freedroidrpg-0.11.tar.bz2) = XHd14fKWfVIyzBKziU8wsSt58mc=
|
||||
SHA256 (freedroidrpg-0.11.tar.bz2) = h/rNFII5lliBbRDBhL6seoFLTLRC+/QDrAdoDT2cHyQ=
|
||||
SIZE (freedroidrpg-0.11.tar.bz2) = 126967826
|
||||
|
23
games/freedroidrpg/patches/patch-po_Makefile_in
Normal file
23
games/freedroidrpg/patches/patch-po_Makefile_in
Normal file
@ -0,0 +1,23 @@
|
||||
$OpenBSD: patch-po_Makefile_in,v 1.1 2008/10/03 14:33:53 ajacoutot Exp $
|
||||
--- po/Makefile.in.orig Sun Sep 14 15:07:26 2008
|
||||
+++ po/Makefile.in Mon Sep 15 22:03:08 2008
|
||||
@@ -250,7 +250,7 @@ SRCFILES = ../src/BFont.c \
|
||||
|
||||
COPYRIGHT_HOLDER = Freedroid RPG Development Team
|
||||
MSGID_BUGS_ADDRESS = freedroid-discussion@lists.sourceforge.net
|
||||
-LOCALEDIR = $(DESTDIR)/$(pkgdatadir)/locale
|
||||
+LOCALEDIR = $(DESTDIR)/$(datadir)/locale
|
||||
EXTRA_DIST = freedroidrpg.pot freedroidrpg_data.pot freedroidrpg_dialogs.pot $(POFILES_SRC) $(POFILES_DAT) $(POFILES_DIA) CMakeLists.txt
|
||||
MSGMERGE_OPTIONS = --quiet --update
|
||||
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --force-po
|
||||
@@ -444,7 +444,9 @@ install-data-local: install-data-local-@USE_NLS@
|
||||
install-data-local-no: all-local
|
||||
install-data-local-yes: all-local
|
||||
for file in $(MOFILES_SRC) $(MOFILES_DAT) $(MOFILES_DIA); do \
|
||||
- $(INSTALL_DATA) -D $$file $(LOCALEDIR)/$$file; \
|
||||
+ ilang=`echo $$file | sed -e 's,\/.*$$,,g'`; \
|
||||
+ mkdir -p -- $(DESTDIR)$(localedir)/$$ilang/LC_MESSAGES; \
|
||||
+ $(INSTALL_DATA) $$file $(DESTDIR)$(localedir)/$$ilang/LC_MESSAGES; \
|
||||
done;
|
||||
|
||||
uninstall-local: uninstall-local-@USE_NLS@
|
12
games/freedroidrpg/patches/patch-src_Makefile_in
Normal file
12
games/freedroidrpg/patches/patch-src_Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_Makefile_in,v 1.1 2008/10/03 14:33:53 ajacoutot Exp $
|
||||
--- src/Makefile.in.orig Mon Sep 15 17:42:18 2008
|
||||
+++ src/Makefile.in Mon Sep 15 17:42:29 2008
|
||||
@@ -275,7 +275,7 @@ clean-binPROGRAMS:
|
||||
-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
||||
freedroidRPG$(EXEEXT): $(freedroidRPG_OBJECTS) $(freedroidRPG_DEPENDENCIES)
|
||||
@rm -f freedroidRPG$(EXEEXT)
|
||||
- $(LINK) $(freedroidRPG_LDFLAGS) $(freedroidRPG_OBJECTS) $(freedroidRPG_LDADD) $(LIBS)
|
||||
+ $(LINK) $(freedroidRPG_LDFLAGS) $(freedroidRPG_OBJECTS) $(freedroidRPG_LDADD) $(LIBS) $(INTLLIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT)
|
@ -1,12 +1,12 @@
|
||||
$OpenBSD: patch-src_init_c,v 1.2 2007/12/04 17:21:29 ajacoutot Exp $
|
||||
--- src/init.c.orig Tue Dec 4 17:52:41 2007
|
||||
+++ src/init.c Tue Dec 4 17:53:22 2007
|
||||
@@ -2152,8 +2152,6 @@ I will not be able to load or save games or configurat
|
||||
$OpenBSD: patch-src_init_c,v 1.3 2008/10/03 14:33:53 ajacoutot Exp $
|
||||
--- src/init.c.orig Mon Sep 15 17:23:49 2008
|
||||
+++ src/init.c Mon Sep 15 17:24:06 2008
|
||||
@@ -2323,8 +2323,6 @@ I will not be able to load or save games or configurat
|
||||
|
||||
ShowStartupPercentage ( 100 ) ;
|
||||
|
||||
- if(GameConfig . screen_width == 640)
|
||||
- GiveMouseAlertWindow ( "\nYou are playing in 640x480.\n\nWhile this resolution works correctly and will\ngive you a great gaming experience, its support is\nin the process of being dropped, therefore you will\nwant to consider using 800x600 or 1024x768.\n\nThank you.\n");
|
||||
- GiveMouseAlertWindow ( _("\nYou are playing in 640x480.\n\nWhile this resolution works correctly and will\ngive you a great gaming experience, its support is\nin the process of being dropped, therefore you will\nwant to consider using 800x600 or 1024x768.\n\nThank you.\n"));
|
||||
if ( strstr( VERSION, "rc" ) )
|
||||
GiveMouseAlertWindow ( "\nYou are playing a release candidate version.\nMany strange bugs might still be present in the game.\nPlease report anything you may find to #freedroid at irc.freenode.net, or\n by mail to freedroid-discussion at lists.sourceforge.net\nThank you for helping us test the game.\nGood luck!\n");
|
||||
GiveMouseAlertWindow ( _("\nYou are playing a candidate release.\nMany strange bugs might still be present in the game.\nPlease report anything you may find to #freedroid at irc.freenode.net, or\n by mail to freedroid-discussion at lists.sourceforge.net\nThank you for helping us test the game.\nGood luck!\n"));
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user