ports/138744: [patch] games/wesnoth-devel: update to 1.7.5

Anonymous swell.k at gmail.com
Sat Sep 12 02:10:02 UTC 2009


>Number:         138744
>Category:       ports
>Synopsis:       [patch] games/wesnoth-devel: update to 1.7.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 12 02:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Anonymous
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD 9.0-CURRENT #0 r197029M: Wed Sep  9 11:22:43 UTC 2009     root at luffy:/usr/obj/usr/src/sys/PHOENIX  amd64
>Description:
- update
- switch to PORTDOCS/PORTDATA, purge plist
- use correct CONFLICTS from ports/138518
- add BWMON, RAWSOCKETS options; off by default
>How-To-Repeat:
>Fix:
--- wesnoth-devel.diff begins here ---
Index: games/wesnoth-devel/Makefile
===================================================================
RCS file: /home/csup/ports/games/wesnoth-devel/Makefile,v
retrieving revision 1.73
diff -u -p -r1.73 Makefile
--- games/wesnoth-devel/Makefile	2 Sep 2009 07:54:38 -0000	1.73
+++ games/wesnoth-devel/Makefile	10 Sep 2009 22:16:22 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	wesnoth
-PORTVERSION=	1.7.4
+PORTVERSION=	1.7.5
 CATEGORIES=	games
 PKGNAMESUFFIX=	-devel
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
@@ -17,10 +17,10 @@ COMMENT=	A fantasy turn-based strategy g
 
 LIB_DEPENDS=	boost_thread.4:${PORTSDIR}/devel/boost-libs
 
-CONFLICTS=	wesnoth-1.[4-6]*
+CONFLICTS=	wesnoth-[0-9]*
 
 USE_SDL=	image mixer net ttf
-USE_GNOME=	gnometarget pango desktopfileutils
+USE_GNOME=	desktopfileutils gnometarget pango
 USE_GMAKE=	yes
 MAKE_JOBS_SAFE=	yes
 WANT_GNOME=	yes
@@ -41,7 +41,11 @@ MANLANG=	"" cs de en_GB es et fi fr hu i
 
 MAN6=		wesnoth.6
 
-OPTIONS=	CAMPAIGN "Enable campaign server"	On \
+PORTDOCS=	*
+PORTDATA=	*
+
+OPTIONS=	BWMON	 "Enable bandwidth monitoring for server" Off \
+		CAMPAIGN "Enable campaign server"	On \
 		DUMMYLOCALES "Enable wesnoth own locales" Off \
 		EDITOR	 "Enable map editor"		On \
 		FRIBIDI	 "Enable bidirectional support"	On \
@@ -50,6 +54,7 @@ OPTIONS=	CAMPAIGN "Enable campaign serve
 		NOTIFY	 "Enable desktop notifications"	On \
 		POOLALLOC "Use wesnoth own memory allocator" Off \
 		PYTHON	 "Enable python developer tools" On \
+		RAWSOCKETS "Use raw receiving sockets in multiplayer" Off \
 		SERVER	 "Enable server"		On \
 		TESTS	 "Enable unit tests"		Off \
 		TINYGUI	 "Enable tiny gui (down to 320x200)" Off \
@@ -81,6 +86,12 @@ CONFIGURE_ARGS+=	--enable-profile
 CONFIGURE_ARGS+=	--disable-strict-compilation
 .endif
 
+.if defined(WITHOUT_BWMON)
+CONFIGURE_ARGS+=	--disable-bandwidth-monitor
+.else
+CONFIGURE_ARGS+=	--enable-bandwidth-monitor
+.endif
+
 .if defined(WITHOUT_CAMPAIGN)
 CONFIGURE_ARGS+=	--disable-campaign-server
 PLIST_SUB+=		CAMPAIGN="@comment "
@@ -91,10 +102,8 @@ PLIST_SUB+=		CAMPAIGN=""
 
 .if defined(WITHOUT_DUMMYLOCALES)
 CONFIGURE_ARGS+=	--disable-dummy-locales
-PLIST_SUB+=		DUMMYLOCALES="@comment "
 .else
 CONFIGURE_ARGS+=	--enable-dummy-locales
-PLIST_SUB+=		DUMMYLOCALES=""
 .endif
 
 .if defined(WITHOUT_EDITOR)
@@ -152,6 +161,12 @@ PLIST_SUB+=		PYTHON=""
 .include "${PORTSDIR}/Mk/bsd.python.mk"
 .endif
 
+.if defined(WITHOUT_RAWSOCKETS)
+CONFIGURE_ARGS+=	--disable-raw-sockets
+.else
+CONFIGURE_ARGS+=	--enable-raw-sockets
+.endif
+
 .if defined(WITHOUT_SERVER)
 CONFIGURE_ARGS+=	--disable-server
 PLIST_SUB+=		SERVER="@comment "
@@ -188,6 +203,10 @@ PLIST_SUB+=		TOOLS=""
 BROKEN=		you need NLS support for `campaignd' or `wesnothd' or tools to link against gettext
 .endif
 
+.if defined(NOPORTDOCS) || defined(NOPORTDATA)
+BROKEN=		NOPORT(DOCS|DATA) is not supported
+.endif
+
 post-install:	.SILENT
 	-update-desktop-database
 
Index: games/wesnoth-devel/distinfo
===================================================================
RCS file: /home/csup/ports/games/wesnoth-devel/distinfo,v
retrieving revision 1.49
diff -u -p -r1.49 distinfo
--- games/wesnoth-devel/distinfo	2 Sep 2009 07:54:38 -0000	1.49
+++ games/wesnoth-devel/distinfo	10 Sep 2009 20:41:24 -0000
@@ -1,3 +1,3 @@
-MD5 (wesnoth-1.7.4.tar.bz2) = 86eb2750cbcfd6857a1e348780b990b7
-SHA256 (wesnoth-1.7.4.tar.bz2) = 3e165e400b52a4a7289d880f52d7d6c9f0c4ad3b0493daa2572d9c2ce4e81541
-SIZE (wesnoth-1.7.4.tar.bz2) = 260708231
+MD5 (wesnoth-1.7.5.tar.bz2) = 447d52a4d93b700b4c86fe90115f6728
+SHA256 (wesnoth-1.7.5.tar.bz2) = a7428ccc99b6af90f40199c7dca4955ca7d7b50b9a01189d53ebcd036274e1a3
+SIZE (wesnoth-1.7.5.tar.bz2) = 261794863
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list