diff options
author | mezz <mezz@FreeBSD.org> | 2005-10-04 04:14:46 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2005-10-04 04:14:46 +0800 |
commit | e25627faa0199f4fe0319e90e5fe4a106526e0b7 (patch) | |
tree | 9cc52cfc939a33bc0dd3f6cf32ed499c7af89d8d /games/wesnoth-devel | |
parent | bd9753acf666c8382589e91bcaa0cbefe94e5208 (diff) | |
download | freebsd-ports-gnome-e25627faa0199f4fe0319e90e5fe4a106526e0b7.tar.gz freebsd-ports-gnome-e25627faa0199f4fe0319e90e5fe4a106526e0b7.tar.zst freebsd-ports-gnome-e25627faa0199f4fe0319e90e5fe4a106526e0b7.zip |
- 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]
Diffstat (limited to 'games/wesnoth-devel')
-rw-r--r-- | games/wesnoth-devel/Makefile | 9 | ||||
-rw-r--r-- | games/wesnoth-devel/distinfo | 4 | ||||
-rw-r--r-- | games/wesnoth-devel/files/patch-fix_freebsd4_build_towupper | 29 | ||||
-rw-r--r-- | games/wesnoth-devel/pkg-plist | 16 |
4 files changed, 51 insertions, 7 deletions
diff --git a/games/wesnoth-devel/Makefile b/games/wesnoth-devel/Makefile index 6259c10ff06e..9168eea47ced 100644 --- a/games/wesnoth-devel/Makefile +++ b/games/wesnoth-devel/Makefile @@ -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> diff --git a/games/wesnoth-devel/distinfo b/games/wesnoth-devel/distinfo index be6b0e79f335..fcf9f9ce921c 100644 --- a/games/wesnoth-devel/distinfo +++ b/games/wesnoth-devel/distinfo @@ -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 diff --git a/games/wesnoth-devel/files/patch-fix_freebsd4_build_towupper b/games/wesnoth-devel/files/patch-fix_freebsd4_build_towupper new file mode 100644 index 000000000000..8c96582be9ed --- /dev/null +++ b/games/wesnoth-devel/files/patch-fix_freebsd4_build_towupper @@ -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) diff --git a/games/wesnoth-devel/pkg-plist b/games/wesnoth-devel/pkg-plist index 125df34abbb7..35c0901dd3e4 100644 --- a/games/wesnoth-devel/pkg-plist +++ b/games/wesnoth-devel/pkg-plist @@ -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 |