mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Update to 1.0!
Release Note: http://www.wesnoth.org/start/1.0/ ChangeLog: http://changelog.wesnoth.org/ - Fix the build for FreeBSD 4.x, mark it as un-broke. [1] Submitted by: vs [1]
This commit is contained in:
parent
21f2a64d49
commit
764d835f3f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=144104
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= wesnoth
|
||||
DISTVERSION= 1.0rc1
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
||||
http://www.wesnoth.org/files/
|
||||
@ -74,9 +74,9 @@ PLIST_SUB+= TOOLS:="@comment "
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
IGNORE=does not compile on FreeBSD 4.x, due to lack of towupper() and wide character in libc
|
||||
.endif
|
||||
#.if ${OSVERSION} < 500000
|
||||
#IGNORE=does not compile on FreeBSD 4.x, due to lack of towupper() and wide character in libc
|
||||
#.endif
|
||||
|
||||
.if ${HAVE_GNOME:Mgnomehier}!=""
|
||||
CONFIGURE_ARGS+= --with-gnome
|
||||
@ -117,6 +117,5 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e 's|[$$][(]datadir[)]/applications|${X11BASE}/share/gnome/applications|g ; \
|
||||
s|[$$][(]datadir[)]/icons|${X11BASE}/share/gnome/pixmaps|g' \
|
||||
${WRKSRC}/icons/Makefile.in
|
||||
# @${FIND} ${WRKSRC} -name stamp-po -delete
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (wesnoth-1.0rc1.tar.gz) = 9a12505fbbb81d91a2975f73b0788174
|
||||
SIZE (wesnoth-1.0rc1.tar.gz) = 37156399
|
||||
MD5 (wesnoth-1.0.tar.gz) = ce9fa39f6a5b01f55eceb6c13de2b62d
|
||||
SIZE (wesnoth-1.0.tar.gz) = 37375056
|
||||
|
29
games/wesnoth-devel/files/patch-fix_freebsd4_build_towupper
Normal file
29
games/wesnoth-devel/files/patch-fix_freebsd4_build_towupper
Normal file
@ -0,0 +1,29 @@
|
||||
--- src/serialization/string_utils.cpp.orig Mon Oct 3 14:41:14 2005
|
||||
+++ src/serialization/string_utils.cpp Mon Oct 3 14:42:37 2005
|
||||
@@ -565,7 +565,7 @@
|
||||
{
|
||||
if(s.size() > 0) {
|
||||
utf8_iterator itor(s);
|
||||
-#ifdef __APPLE__
|
||||
+#if __FreeBSD__ < 5
|
||||
// FIXME: Should we support towupper on recent OSX platforms?
|
||||
wchar_t uchar = *itor;
|
||||
if(uchar >= 0 && uchar < 0x100)
|
||||
@@ -587,7 +587,7 @@
|
||||
std::string res;
|
||||
|
||||
for(;itor != utf8_iterator::end(s); ++itor) {
|
||||
-#ifdef __APPLE__
|
||||
+#if __FreeBSD__ < 5
|
||||
// FIXME: Should we support towupper on recent OSX platforms?
|
||||
wchar_t uchar = *itor;
|
||||
if(uchar >= 0 && uchar < 0x100)
|
||||
@@ -610,7 +610,7 @@
|
||||
std::string res;
|
||||
|
||||
for(;itor != utf8_iterator::end(s); ++itor) {
|
||||
-#if defined(__APPLE__) || defined(__OpenBSD__)
|
||||
+#if defined(__APPLE__) || defined(__OpenBSD__) || __FreeBSD__ < 5
|
||||
// FIXME: Should we support towupper on recent OSX platforms?
|
||||
wchar_t uchar = *itor;
|
||||
if(uchar >= 0 && uchar < 0x100)
|
@ -5,6 +5,12 @@ bin/wesnoth
|
||||
%%EDITOR:%%bin/wesnoth_editor
|
||||
%%SERVER:%%bin/wesnothd
|
||||
bin/wmlxgettext
|
||||
share/locale/af/LC_MESSAGES/wesnoth-editor.mo
|
||||
share/locale/af/LC_MESSAGES/wesnoth-ei.mo
|
||||
share/locale/af/LC_MESSAGES/wesnoth-httt.mo
|
||||
share/locale/af/LC_MESSAGES/wesnoth-lib.mo
|
||||
share/locale/af/LC_MESSAGES/wesnoth-sotbe.mo
|
||||
share/locale/af/LC_MESSAGES/wesnoth.mo
|
||||
share/locale/ca/LC_MESSAGES/wesnoth-editor.mo
|
||||
share/locale/ca/LC_MESSAGES/wesnoth-ei.mo
|
||||
share/locale/ca/LC_MESSAGES/wesnoth-httt.mo
|
||||
@ -37,6 +43,7 @@ share/locale/es/LC_MESSAGES/wesnoth-editor.mo
|
||||
share/locale/es/LC_MESSAGES/wesnoth-httt.mo
|
||||
share/locale/es/LC_MESSAGES/wesnoth-lib.mo
|
||||
share/locale/es/LC_MESSAGES/wesnoth-sotbe.mo
|
||||
share/locale/es/LC_MESSAGES/wesnoth-trow.mo
|
||||
share/locale/es/LC_MESSAGES/wesnoth.mo
|
||||
share/locale/fi/LC_MESSAGES/wesnoth-editor.mo
|
||||
share/locale/fi/LC_MESSAGES/wesnoth-ei.mo
|
||||
@ -89,6 +96,7 @@ share/locale/ru/LC_MESSAGES/wesnoth-sotbe.mo
|
||||
share/locale/ru/LC_MESSAGES/wesnoth-trow.mo
|
||||
share/locale/ru/LC_MESSAGES/wesnoth.mo
|
||||
share/locale/sk/LC_MESSAGES/wesnoth-editor.mo
|
||||
share/locale/sk/LC_MESSAGES/wesnoth-ei.mo
|
||||
share/locale/sk/LC_MESSAGES/wesnoth-httt.mo
|
||||
share/locale/sk/LC_MESSAGES/wesnoth-lib.mo
|
||||
share/locale/sk/LC_MESSAGES/wesnoth-sotbe.mo
|
||||
@ -633,6 +641,7 @@ share/locale/tr/LC_MESSAGES/wesnoth.mo
|
||||
%%DATADIR%%/data/units/Young_Ogre.cfg
|
||||
%%DATADIR%%/data/units/Youth.cfg
|
||||
%%DATADIR%%/data/utils.cfg
|
||||
%%DATADIR%%/fonts/COPYING
|
||||
%%DATADIR%%/fonts/DejaVuSans.ttf
|
||||
%%DATADIR%%/images/arch-mage+female-defend.png
|
||||
%%DATADIR%%/images/arch-mage+female-die-1.png
|
||||
@ -884,6 +893,10 @@ share/locale/tr/LC_MESSAGES/wesnoth.mo
|
||||
%%DATADIR%%/images/drake-clasher-die-2.png
|
||||
%%DATADIR%%/images/drake-clasher-flying.png
|
||||
%%DATADIR%%/images/drake-clasher.png
|
||||
%%DATADIR%%/images/drake-enforcer-attack-mace.png
|
||||
%%DATADIR%%/images/drake-enforcer-attack-spear.png
|
||||
%%DATADIR%%/images/drake-enforcer-attack-sword.png
|
||||
%%DATADIR%%/images/drake-enforcer-defend.png
|
||||
%%DATADIR%%/images/drake-enforcer.png
|
||||
%%DATADIR%%/images/drake-fighter-attack-close1.png
|
||||
%%DATADIR%%/images/drake-fighter-attack-close2.png
|
||||
@ -3540,6 +3553,9 @@ share/locale/tr/LC_MESSAGES/wesnoth.mo
|
||||
%%DATADIR%%/images/undead-initiate-attack1.png
|
||||
%%DATADIR%%/images/undead-initiate-attack2.png
|
||||
%%DATADIR%%/images/undead-initiate-defend.png
|
||||
%%DATADIR%%/images/undead-initiate-die1.png
|
||||
%%DATADIR%%/images/undead-initiate-die2.png
|
||||
%%DATADIR%%/images/undead-initiate-die3.png
|
||||
%%DATADIR%%/images/undead-initiate.png
|
||||
%%DATADIR%%/images/undead-lich-defend.png
|
||||
%%DATADIR%%/images/undead-lich-melee.png
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= wesnoth
|
||||
DISTVERSION= 1.0rc1
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
|
||||
http://www.wesnoth.org/files/
|
||||
@ -74,9 +74,9 @@ PLIST_SUB+= TOOLS:="@comment "
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
IGNORE=does not compile on FreeBSD 4.x, due to lack of towupper() and wide character in libc
|
||||
.endif
|
||||
#.if ${OSVERSION} < 500000
|
||||
#IGNORE=does not compile on FreeBSD 4.x, due to lack of towupper() and wide character in libc
|
||||
#.endif
|
||||
|
||||
.if ${HAVE_GNOME:Mgnomehier}!=""
|
||||
CONFIGURE_ARGS+= --with-gnome
|
||||
@ -117,6 +117,5 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e 's|[$$][(]datadir[)]/applications|${X11BASE}/share/gnome/applications|g ; \
|
||||
s|[$$][(]datadir[)]/icons|${X11BASE}/share/gnome/pixmaps|g' \
|
||||
${WRKSRC}/icons/Makefile.in
|
||||
# @${FIND} ${WRKSRC} -name stamp-po -delete
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (wesnoth-1.0rc1.tar.gz) = 9a12505fbbb81d91a2975f73b0788174
|
||||
SIZE (wesnoth-1.0rc1.tar.gz) = 37156399
|
||||
MD5 (wesnoth-1.0.tar.gz) = ce9fa39f6a5b01f55eceb6c13de2b62d
|
||||
SIZE (wesnoth-1.0.tar.gz) = 37375056
|
||||
|
29
games/wesnoth/files/patch-fix_freebsd4_build_towupper
Normal file
29
games/wesnoth/files/patch-fix_freebsd4_build_towupper
Normal file
@ -0,0 +1,29 @@
|
||||
--- src/serialization/string_utils.cpp.orig Mon Oct 3 14:41:14 2005
|
||||
+++ src/serialization/string_utils.cpp Mon Oct 3 14:42:37 2005
|
||||
@@ -565,7 +565,7 @@
|
||||
{
|
||||
if(s.size() > 0) {
|
||||
utf8_iterator itor(s);
|
||||
-#ifdef __APPLE__
|
||||
+#if __FreeBSD__ < 5
|
||||
// FIXME: Should we support towupper on recent OSX platforms?
|
||||
wchar_t uchar = *itor;
|
||||
if(uchar >= 0 && uchar < 0x100)
|
||||
@@ -587,7 +587,7 @@
|
||||
std::string res;
|
||||
|
||||
for(;itor != utf8_iterator::end(s); ++itor) {
|
||||
-#ifdef __APPLE__
|
||||
+#if __FreeBSD__ < 5
|
||||
// FIXME: Should we support towupper on recent OSX platforms?
|
||||
wchar_t uchar = *itor;
|
||||
if(uchar >= 0 && uchar < 0x100)
|
||||
@@ -610,7 +610,7 @@
|
||||
std::string res;
|
||||
|
||||
for(;itor != utf8_iterator::end(s); ++itor) {
|
||||
-#if defined(__APPLE__) || defined(__OpenBSD__)
|
||||
+#if defined(__APPLE__) || defined(__OpenBSD__) || __FreeBSD__ < 5
|
||||
// FIXME: Should we support towupper on recent OSX platforms?
|
||||
wchar_t uchar = *itor;
|
||||
if(uchar >= 0 && uchar < 0x100)
|
@ -5,6 +5,12 @@ bin/wesnoth
|
||||
%%EDITOR:%%bin/wesnoth_editor
|
||||
%%SERVER:%%bin/wesnothd
|
||||
bin/wmlxgettext
|
||||
share/locale/af/LC_MESSAGES/wesnoth-editor.mo
|
||||
share/locale/af/LC_MESSAGES/wesnoth-ei.mo
|
||||
share/locale/af/LC_MESSAGES/wesnoth-httt.mo
|
||||
share/locale/af/LC_MESSAGES/wesnoth-lib.mo
|
||||
share/locale/af/LC_MESSAGES/wesnoth-sotbe.mo
|
||||
share/locale/af/LC_MESSAGES/wesnoth.mo
|
||||
share/locale/ca/LC_MESSAGES/wesnoth-editor.mo
|
||||
share/locale/ca/LC_MESSAGES/wesnoth-ei.mo
|
||||
share/locale/ca/LC_MESSAGES/wesnoth-httt.mo
|
||||
@ -37,6 +43,7 @@ share/locale/es/LC_MESSAGES/wesnoth-editor.mo
|
||||
share/locale/es/LC_MESSAGES/wesnoth-httt.mo
|
||||
share/locale/es/LC_MESSAGES/wesnoth-lib.mo
|
||||
share/locale/es/LC_MESSAGES/wesnoth-sotbe.mo
|
||||
share/locale/es/LC_MESSAGES/wesnoth-trow.mo
|
||||
share/locale/es/LC_MESSAGES/wesnoth.mo
|
||||
share/locale/fi/LC_MESSAGES/wesnoth-editor.mo
|
||||
share/locale/fi/LC_MESSAGES/wesnoth-ei.mo
|
||||
@ -89,6 +96,7 @@ share/locale/ru/LC_MESSAGES/wesnoth-sotbe.mo
|
||||
share/locale/ru/LC_MESSAGES/wesnoth-trow.mo
|
||||
share/locale/ru/LC_MESSAGES/wesnoth.mo
|
||||
share/locale/sk/LC_MESSAGES/wesnoth-editor.mo
|
||||
share/locale/sk/LC_MESSAGES/wesnoth-ei.mo
|
||||
share/locale/sk/LC_MESSAGES/wesnoth-httt.mo
|
||||
share/locale/sk/LC_MESSAGES/wesnoth-lib.mo
|
||||
share/locale/sk/LC_MESSAGES/wesnoth-sotbe.mo
|
||||
@ -633,6 +641,7 @@ share/locale/tr/LC_MESSAGES/wesnoth.mo
|
||||
%%DATADIR%%/data/units/Young_Ogre.cfg
|
||||
%%DATADIR%%/data/units/Youth.cfg
|
||||
%%DATADIR%%/data/utils.cfg
|
||||
%%DATADIR%%/fonts/COPYING
|
||||
%%DATADIR%%/fonts/DejaVuSans.ttf
|
||||
%%DATADIR%%/images/arch-mage+female-defend.png
|
||||
%%DATADIR%%/images/arch-mage+female-die-1.png
|
||||
@ -884,6 +893,10 @@ share/locale/tr/LC_MESSAGES/wesnoth.mo
|
||||
%%DATADIR%%/images/drake-clasher-die-2.png
|
||||
%%DATADIR%%/images/drake-clasher-flying.png
|
||||
%%DATADIR%%/images/drake-clasher.png
|
||||
%%DATADIR%%/images/drake-enforcer-attack-mace.png
|
||||
%%DATADIR%%/images/drake-enforcer-attack-spear.png
|
||||
%%DATADIR%%/images/drake-enforcer-attack-sword.png
|
||||
%%DATADIR%%/images/drake-enforcer-defend.png
|
||||
%%DATADIR%%/images/drake-enforcer.png
|
||||
%%DATADIR%%/images/drake-fighter-attack-close1.png
|
||||
%%DATADIR%%/images/drake-fighter-attack-close2.png
|
||||
@ -3540,6 +3553,9 @@ share/locale/tr/LC_MESSAGES/wesnoth.mo
|
||||
%%DATADIR%%/images/undead-initiate-attack1.png
|
||||
%%DATADIR%%/images/undead-initiate-attack2.png
|
||||
%%DATADIR%%/images/undead-initiate-defend.png
|
||||
%%DATADIR%%/images/undead-initiate-die1.png
|
||||
%%DATADIR%%/images/undead-initiate-die2.png
|
||||
%%DATADIR%%/images/undead-initiate-die3.png
|
||||
%%DATADIR%%/images/undead-initiate.png
|
||||
%%DATADIR%%/images/undead-lich-defend.png
|
||||
%%DATADIR%%/images/undead-lich-melee.png
|
||||
|
Loading…
Reference in New Issue
Block a user