1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

For those of us who have nothing to do over the holidays. :-)

Update to 1.2, the current stable release.
Grab maintainership - I'll try to be a good parent.
This commit is contained in:
Philip Paeps 2006-12-24 21:21:04 +00:00
parent 9abd21c3e3
commit bb1404898c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=180669
10 changed files with 8698 additions and 5046 deletions

View File

@ -6,18 +6,15 @@
#
PORTNAME= wesnoth
PORTVERSION= 1.0.2
PORTREVISION= 3
PORTVERSION= 1.2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.wesnoth.org/files/
MASTER_SITE_SUBDIR= wesnoth
MAINTAINER= ports@FreeBSD.org
MAINTAINER= philip@FreeBSD.org
COMMENT= A fantasy turn-based strategy game
LIB_DEPENDS= zipios.0:${PORTSDIR}/archivers/zipios++
USE_GCC= 3.4
USE_SDL= image mixer net
USE_GNOME= gnometarget
@ -30,13 +27,14 @@ CONFIGURE_ARGS= --localstatedir=/var \
--with-libiconv-prefix=${LOCALBASE} \
--with-libintl-prefix=${LOCALBASE} \
--with-freetype-prefix=${LOCALBASE} \
--with-localedir=${PREFIX}/share/locale
--with-localedir=${PREFIX}/share/locale \
--mandir=${PREFIX}/man
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CXXFLAGS="-I${LOCALBASE}/include ${CXXFLAGS} -ftemplate-depth-45" \
LDFLAGS="-L${LOCALBASE}/lib -lintl"
MAN6= wesnoth.6
MANLANG= "" de hu sv
MANLANG= "" cs de en_GB fr ja nl pt_BR sk sv
.if defined(WITH_CAMPAIGN) || defined(PACKAGE_BUILDING)
CONFIGURE_ARGS+= --enable-campaign-server
@ -49,6 +47,11 @@ PLIST_SUB+= CAMPAIGN:="@comment "
CONFIGURE_ARGS+= --enable-debug
.endif
.if defined(WITH_ZIPIOS)
CONFIGURE_ARGS+= --with-zipios
LIB_DEPENDS+= zipios.0:${PORTSDIR}/archivers/zipios++
.endif
.if defined(WITH_EDITOR) || defined(PACKAGE_BUILDING)
CONFIGURE_ARGS+= --enable-editor
MAN6+= wesnoth_editor.6
@ -109,9 +112,9 @@ pre-everything::
@${ECHO_MSG} "WITH_TOOLS=yes to enable compilation of tools for translators and artists."
.endif
post-patch:
@${REINPLACE_CMD} -e 's|[$$][(]datadir[)]/applications|${LOCALBASE}/share/gnome/applications|g ; \
s|[$$][(]datadir[)]/icons|${LOCALBASE}/share/gnome/pixmaps|g' \
${WRKSRC}/icons/Makefile.in
post-configure:
@${REINPLACE_CMD} -e 's|[$$][{]datarootdir[}]/applications|${LOCALBASE}/share/gnome/applications|; \
s|[$$][{]datarootdir[}]/icons|${LOCALBASE}/share/gnome/pixmaps|' \
${WRKSRC}/icons/Makefile
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
MD5 (wesnoth-1.0.2.tar.gz) = 1d2a26062ce1c90cbf10845023f9435c
SHA256 (wesnoth-1.0.2.tar.gz) = b5201943017e892230cfb1f09a6860b199cb59255ef6aaa19de6a5d365300ac7
SIZE (wesnoth-1.0.2.tar.gz) = 40034289
MD5 (wesnoth-1.2.tar.gz) = 722a459282abe6d04dbe228d031c088e
SHA256 (wesnoth-1.2.tar.gz) = 220705b4b79ddd73061099f30413c6d1872cb30681a26379709a58ace6c91ec1
SIZE (wesnoth-1.2.tar.gz) = 74823113

View File

@ -1,15 +0,0 @@
--- src/Makefile.in.orig Mon Jul 25 13:41:55 2005
+++ src/Makefile.in Mon Jul 25 13:42:40 2005
@@ -918,10 +918,10 @@
exploder_LDADD = @SDL_IMAGE_LIBS@ @SDL_LIBS@ $(LIBZIPIOS) $(LIBINTL) $(PNG_LIBS)
cutter_LDADD = @SDL_IMAGE_LIBS@ @SDL_LIBS@ $(LIBZIPIOS) $(LIBINTL) $(PNG_LIBS)
-AM_CXXFLAGS = -I $(srcdir)/sdl_ttf -I../intl -I$(top_srcdir)/intl @SDL_CFLAGS@ -DWESNOTH_PATH=\"$(pkgdatadir)\" \
+AM_CXXFLAGS = -I $(srcdir)/sdl_ttf @SDL_CFLAGS@ -DWESNOTH_PATH=\"$(pkgdatadir)\" \
-DLOCALEDIR=\"$(LOCALEDIR)\" -DHAS_RELATIVE_LOCALEDIR=$(HAS_RELATIVE_LOCALEDIR) -DFIFODIR=\"$(fifodir)\"
-AM_CFLAGS = -I $(srcdir)/sdl_ttf -I../intl -I$(top_srcdir)/intl @SDL_CFLAGS@ -DWESNOTH_PATH=\"$(pkgdatadir)\" \
+AM_CFLAGS = -I $(srcdir)/sdl_ttf @SDL_CFLAGS@ -DWESNOTH_PATH=\"$(pkgdatadir)\" \
-DLOCALEDIR=\"$(LOCALEDIR)\" -DHAS_RELATIVE_LOCALEDIR=$(HAS_RELATIVE_LOCALEDIR)
CXXLD = $(LDPREFIX) $(CXX)

View File

@ -1,19 +0,0 @@
--- src/sdl_ttf/SDL_ttf.c.orig Wed Oct 4 16:45:59 2006
+++ src/sdl_ttf/SDL_ttf.c Wed Oct 4 16:46:32 2006
@@ -48,7 +48,6 @@
#include <freetype/ftoutln.h>
#include <freetype/ttnameid.h>
*/
-#include <freetype/internal/ftobjs.h>
#ifndef FT_OPEN_STREAM
#define FT_OPEN_STREAM ft_open_stream
@@ -282,7 +281,7 @@
}
memset(stream, 0, sizeof(*stream));
- stream->memory = library->memory;
+ stream->memory = NULL;
stream->read = RWread;
stream->descriptor.pointer = src;
stream->pos = (unsigned long)position;

File diff suppressed because it is too large Load Diff

View File

@ -6,18 +6,15 @@
#
PORTNAME= wesnoth
PORTVERSION= 1.0.2
PORTREVISION= 3
PORTVERSION= 1.2
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.wesnoth.org/files/
MASTER_SITE_SUBDIR= wesnoth
MAINTAINER= ports@FreeBSD.org
MAINTAINER= philip@FreeBSD.org
COMMENT= A fantasy turn-based strategy game
LIB_DEPENDS= zipios.0:${PORTSDIR}/archivers/zipios++
USE_GCC= 3.4
USE_SDL= image mixer net
USE_GNOME= gnometarget
@ -30,13 +27,14 @@ CONFIGURE_ARGS= --localstatedir=/var \
--with-libiconv-prefix=${LOCALBASE} \
--with-libintl-prefix=${LOCALBASE} \
--with-freetype-prefix=${LOCALBASE} \
--with-localedir=${PREFIX}/share/locale
--with-localedir=${PREFIX}/share/locale \
--mandir=${PREFIX}/man
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CXXFLAGS="-I${LOCALBASE}/include ${CXXFLAGS} -ftemplate-depth-45" \
LDFLAGS="-L${LOCALBASE}/lib -lintl"
MAN6= wesnoth.6
MANLANG= "" de hu sv
MANLANG= "" cs de en_GB fr ja nl pt_BR sk sv
.if defined(WITH_CAMPAIGN) || defined(PACKAGE_BUILDING)
CONFIGURE_ARGS+= --enable-campaign-server
@ -49,6 +47,11 @@ PLIST_SUB+= CAMPAIGN:="@comment "
CONFIGURE_ARGS+= --enable-debug
.endif
.if defined(WITH_ZIPIOS)
CONFIGURE_ARGS+= --with-zipios
LIB_DEPENDS+= zipios.0:${PORTSDIR}/archivers/zipios++
.endif
.if defined(WITH_EDITOR) || defined(PACKAGE_BUILDING)
CONFIGURE_ARGS+= --enable-editor
MAN6+= wesnoth_editor.6
@ -109,9 +112,9 @@ pre-everything::
@${ECHO_MSG} "WITH_TOOLS=yes to enable compilation of tools for translators and artists."
.endif
post-patch:
@${REINPLACE_CMD} -e 's|[$$][(]datadir[)]/applications|${LOCALBASE}/share/gnome/applications|g ; \
s|[$$][(]datadir[)]/icons|${LOCALBASE}/share/gnome/pixmaps|g' \
${WRKSRC}/icons/Makefile.in
post-configure:
@${REINPLACE_CMD} -e 's|[$$][{]datarootdir[}]/applications|${LOCALBASE}/share/gnome/applications|; \
s|[$$][{]datarootdir[}]/icons|${LOCALBASE}/share/gnome/pixmaps|' \
${WRKSRC}/icons/Makefile
.include <bsd.port.post.mk>

View File

@ -1,3 +1,3 @@
MD5 (wesnoth-1.0.2.tar.gz) = 1d2a26062ce1c90cbf10845023f9435c
SHA256 (wesnoth-1.0.2.tar.gz) = b5201943017e892230cfb1f09a6860b199cb59255ef6aaa19de6a5d365300ac7
SIZE (wesnoth-1.0.2.tar.gz) = 40034289
MD5 (wesnoth-1.2.tar.gz) = 722a459282abe6d04dbe228d031c088e
SHA256 (wesnoth-1.2.tar.gz) = 220705b4b79ddd73061099f30413c6d1872cb30681a26379709a58ace6c91ec1
SIZE (wesnoth-1.2.tar.gz) = 74823113

View File

@ -1,15 +0,0 @@
--- src/Makefile.in.orig Mon Jul 25 13:41:55 2005
+++ src/Makefile.in Mon Jul 25 13:42:40 2005
@@ -918,10 +918,10 @@
exploder_LDADD = @SDL_IMAGE_LIBS@ @SDL_LIBS@ $(LIBZIPIOS) $(LIBINTL) $(PNG_LIBS)
cutter_LDADD = @SDL_IMAGE_LIBS@ @SDL_LIBS@ $(LIBZIPIOS) $(LIBINTL) $(PNG_LIBS)
-AM_CXXFLAGS = -I $(srcdir)/sdl_ttf -I../intl -I$(top_srcdir)/intl @SDL_CFLAGS@ -DWESNOTH_PATH=\"$(pkgdatadir)\" \
+AM_CXXFLAGS = -I $(srcdir)/sdl_ttf @SDL_CFLAGS@ -DWESNOTH_PATH=\"$(pkgdatadir)\" \
-DLOCALEDIR=\"$(LOCALEDIR)\" -DHAS_RELATIVE_LOCALEDIR=$(HAS_RELATIVE_LOCALEDIR) -DFIFODIR=\"$(fifodir)\"
-AM_CFLAGS = -I $(srcdir)/sdl_ttf -I../intl -I$(top_srcdir)/intl @SDL_CFLAGS@ -DWESNOTH_PATH=\"$(pkgdatadir)\" \
+AM_CFLAGS = -I $(srcdir)/sdl_ttf @SDL_CFLAGS@ -DWESNOTH_PATH=\"$(pkgdatadir)\" \
-DLOCALEDIR=\"$(LOCALEDIR)\" -DHAS_RELATIVE_LOCALEDIR=$(HAS_RELATIVE_LOCALEDIR)
CXXLD = $(LDPREFIX) $(CXX)

View File

@ -1,19 +0,0 @@
--- src/sdl_ttf/SDL_ttf.c.orig Wed Oct 4 16:45:59 2006
+++ src/sdl_ttf/SDL_ttf.c Wed Oct 4 16:46:32 2006
@@ -48,7 +48,6 @@
#include <freetype/ftoutln.h>
#include <freetype/ttnameid.h>
*/
-#include <freetype/internal/ftobjs.h>
#ifndef FT_OPEN_STREAM
#define FT_OPEN_STREAM ft_open_stream
@@ -282,7 +281,7 @@
}
memset(stream, 0, sizeof(*stream));
- stream->memory = library->memory;
+ stream->memory = NULL;
stream->read = RWread;
stream->descriptor.pointer = src;
stream->pos = (unsigned long)position;

File diff suppressed because it is too large Load Diff