Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 2013 15:31:41 +0000 (UTC)
From:      Frederic Culot <culot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335101 - in head/games/tomenet: . files
Message-ID:  <201311281531.rASFVfSc091131@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: culot
Date: Thu Nov 28 15:31:40 2013
New Revision: 335101
URL: http://svnweb.freebsd.org/changeset/ports/335101

Log:
  - Update to 4.5.5
  - Support staging
  - Minor Makefile cleanup [1]
  
  Changes:	http://tomenet.net/phpBB3/viewtopic.php?f=4&t=7&p=1720#p1720
  Suggested by:	danfe@ [1] (via private email)

Added:
  head/games/tomenet/files/patch-client_nclient.c   (contents, props changed)
Modified:
  head/games/tomenet/Makefile
  head/games/tomenet/distinfo
  head/games/tomenet/pkg-plist

Modified: head/games/tomenet/Makefile
==============================================================================
--- head/games/tomenet/Makefile	Thu Nov 28 15:29:50 2013	(r335100)
+++ head/games/tomenet/Makefile	Thu Nov 28 15:31:40 2013	(r335101)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	tomenet
-PORTVERSION=	4.5.4
+PORTVERSION=	4.5.5
 CATEGORIES=	games
 MASTER_SITES=	http://tomenet.net/downloads/
 
@@ -11,31 +11,29 @@ COMMENT=	Online multiplayer rogue-like r
 
 USE_BZIP2=	yes
 WRKSRC=		${WRKDIR}/${DISTNAME}/src
-MAKEFILE=	${WRKSRC}/makefile
+MAKEFILE=	makefile
 
-USES=		ncurses
-USE_GMAKE=	yes
+USES=		gmake ncurses
 CFLAGS+=	-DDEFAULT_PATH="\\\"${DATADIR}/lib/\\\""
+MAKE_JOBS_UNSAFE=	yes
 
 SUB_FILES=	pkg-message
 
-NO_STAGE=	yes
 do-install:
 .for f in tomenet tomenet.server accedit evilmeta
-	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
 .endfor
-	${MKDIR} ${DATADIR}
-	(cd ${WRKDIR}/${DISTNAME} && ${COPYTREE_SHARE} lib ${DATADIR})
-	${MKDIR} ${ETCDIR}
-	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/.tomenetrc ${ETCDIR}/tomenetrc
+	${MKDIR} ${STAGEDIR}${DATADIR}
+	(cd ${WRKDIR}/${DISTNAME} && ${COPYTREE_SHARE} lib ${STAGEDIR}${DATADIR})
+	${MKDIR} ${STAGEDIR}${ETCDIR}
+	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/.tomenetrc ${STAGEDIR}${ETCDIR}/tomenetrc
 
 .include <bsd.port.options.mk>
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/TomeNET-Guide.txt ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/TomeNET-Guide.txt ${STAGEDIR}${DOCSDIR}
 .endif
-	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>

Modified: head/games/tomenet/distinfo
==============================================================================
--- head/games/tomenet/distinfo	Thu Nov 28 15:29:50 2013	(r335100)
+++ head/games/tomenet/distinfo	Thu Nov 28 15:31:40 2013	(r335101)
@@ -1,2 +1,2 @@
-SHA256 (tomenet-4.5.4.tar.bz2) = 3bb8955619f3da571c7982d323cae837203dfd30eb65a508f678efae2ac40f70
-SIZE (tomenet-4.5.4.tar.bz2) = 2740555
+SHA256 (tomenet-4.5.5.tar.bz2) = 788a3dbbcb24ad747763a1ff4e80d859d521ac29df3da1d33842e5c39ecbd197
+SIZE (tomenet-4.5.5.tar.bz2) = 2787559

Added: head/games/tomenet/files/patch-client_nclient.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/tomenet/files/patch-client_nclient.c	Thu Nov 28 15:31:40 2013	(r335101)
@@ -0,0 +1,14 @@
+--- client/nclient.c.orig	2013-11-10 05:48:24.000000000 -0500
++++ client/nclient.c	2013-11-28 09:08:59.000000000 -0500
+@@ -4358,7 +4358,11 @@
+ #endif
+     }
+ 
++ #ifdef USE_SOUND_2010
++  #ifdef SOUND_SDL
+ 	if (ambient_fading) ambient_handle_fading();
++  #endif
++ #endif
+ 
+ 	/* Handle chat time-stamping too - C. Blue */
+ 	if (c_cfg.time_stamp_chat) {

Modified: head/games/tomenet/pkg-plist
==============================================================================
--- head/games/tomenet/pkg-plist	Thu Nov 28 15:29:50 2013	(r335100)
+++ head/games/tomenet/pkg-plist	Thu Nov 28 15:31:40 2013	(r335101)
@@ -122,6 +122,7 @@ bin/tomenet.server
 %%DATADIR%%/lib/user/font-ibm.prf
 %%DATADIR%%/lib/user/font-win.prf
 %%DATADIR%%/lib/user/font-win(solid).prf
+%%DATADIR%%/lib/user/font-x11.prf
 %%DATADIR%%/lib/user/graf-ami.prf
 %%DATADIR%%/lib/user/graf-win.prf
 %%DATADIR%%/lib/user/linux_caster.prf



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311281531.rASFVfSc091131>