diff options
author | culot <culot@FreeBSD.org> | 2013-11-28 23:31:40 +0800 |
---|---|---|
committer | culot <culot@FreeBSD.org> | 2013-11-28 23:31:40 +0800 |
commit | f71be28a466a68e36be1364b0c1dd1c2212b1136 (patch) | |
tree | 1f607daa646b94e043d7105d512a0443827b573e /games/tomenet | |
parent | 3910c4ef1721e725f6372d554333d2c293b887c9 (diff) | |
download | freebsd-ports-gnome-f71be28a466a68e36be1364b0c1dd1c2212b1136.tar.gz freebsd-ports-gnome-f71be28a466a68e36be1364b0c1dd1c2212b1136.tar.zst freebsd-ports-gnome-f71be28a466a68e36be1364b0c1dd1c2212b1136.zip |
- 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)
Diffstat (limited to 'games/tomenet')
-rw-r--r-- | games/tomenet/Makefile | 24 | ||||
-rw-r--r-- | games/tomenet/distinfo | 4 | ||||
-rw-r--r-- | games/tomenet/files/patch-client_nclient.c | 14 | ||||
-rw-r--r-- | games/tomenet/pkg-plist | 1 |
4 files changed, 28 insertions, 15 deletions
diff --git a/games/tomenet/Makefile b/games/tomenet/Makefile index 0a0cf948d35b..1c64aaa10aef 100644 --- a/games/tomenet/Makefile +++ b/games/tomenet/Makefile @@ -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 role-playing game 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> diff --git a/games/tomenet/distinfo b/games/tomenet/distinfo index 30b8d1087c02..d9d3bff78f7f 100644 --- a/games/tomenet/distinfo +++ b/games/tomenet/distinfo @@ -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 diff --git a/games/tomenet/files/patch-client_nclient.c b/games/tomenet/files/patch-client_nclient.c new file mode 100644 index 000000000000..814fffafa428 --- /dev/null +++ b/games/tomenet/files/patch-client_nclient.c @@ -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) { diff --git a/games/tomenet/pkg-plist b/games/tomenet/pkg-plist index 77d5946678a1..f8e8938fa50c 100644 --- a/games/tomenet/pkg-plist +++ b/games/tomenet/pkg-plist @@ -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 |