From 467826d2b4601fe786911c3746d8d99a76752338 Mon Sep 17 00:00:00 2001 From: Rong-En Fan Date: Mon, 25 Jun 2007 07:38:58 +0000 Subject: [PATCH] - Update to 0.2.1 - Remove one bad master site PR: ports/114005 Submitted by: Alexander Logvinov (maintainer) --- games/sampsvr/Makefile | 12 ++++-------- games/sampsvr/distinfo | 6 +++--- games/sampsvr/files/sampd.in | 2 +- games/sampsvr/pkg-plist | 2 +- 4 files changed, 9 insertions(+), 13 deletions(-) diff --git a/games/sampsvr/Makefile b/games/sampsvr/Makefile index afea546b0819..763809f8ec8c 100644 --- a/games/sampsvr/Makefile +++ b/games/sampsvr/Makefile @@ -5,13 +5,12 @@ # $FreeBSD$ PORTNAME= sampsvr -PORTVERSION= 0.2 +PORTVERSION= 0.2.1 CATEGORIES= games linux MASTER_SITES= http://www.sa-mp.com/files/ \ http://eu.littlewhitey.com/ \ - http://dedi.azer.nl/upload/ \ - http://www.kfcgang.com/files/ -DISTNAME= samp02svr + http://dedi.azer.nl/upload/ +DISTNAME= samp021svr MAINTAINER= ports@logvinov.com COMMENT= Rockstar's GTA: San Andreas multiplayer modification dedicated server @@ -34,12 +33,9 @@ SUB_LIST+= NOTEWORK="" .include -post-patch: - @${MV} ${WRKSRC}/${DISTNAME} ${WRKSRC}/${USE_RC_SUBR} - do-install: ${MKDIR} ${SAMPDIR} -.for i in ${USE_RC_SUBR} announce +.for i in samp02svr announce ${BRANDELF} -t Linux ${WRKSRC}/${i} ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${SAMPDIR} .endfor diff --git a/games/sampsvr/distinfo b/games/sampsvr/distinfo index 2fb0cb2f543a..53f2deecb178 100644 --- a/games/sampsvr/distinfo +++ b/games/sampsvr/distinfo @@ -1,3 +1,3 @@ -MD5 (samp02svr.tar.gz) = 1e556dfd3ebe59f3fcc7f28ac787a115 -SHA256 (samp02svr.tar.gz) = eb215f59c4d5df5ef235cea68e9275320d582b0f9814d29257fedc7492fc794a -SIZE (samp02svr.tar.gz) = 362370 +MD5 (samp021svr.tar.gz) = 77c1a1b6efd0d4ebc27f2e28c77ac062 +SHA256 (samp021svr.tar.gz) = c072051b70e8cd16d8abd5f3bbac615a003ea4b9d12bdffc33a287607c8483fb +SIZE (samp021svr.tar.gz) = 358237 diff --git a/games/sampsvr/files/sampd.in b/games/sampsvr/files/sampd.in index 94a571dab35e..dd4aab6afe21 100644 --- a/games/sampsvr/files/sampd.in +++ b/games/sampsvr/files/sampd.in @@ -20,7 +20,7 @@ load_rc_config $name : ${sampd_enable="NO"} : ${sampd_chdir="%%SAMPDIR%%"} -command="%%SAMPDIR%%/sampd" +command="%%SAMPDIR%%/samp02svr" command_args="&" required_files="%%PREFIX%%/etc/sampsvr.cfg" start_precmd="sampd_prestart" diff --git a/games/sampsvr/pkg-plist b/games/sampsvr/pkg-plist index 3df923d81367..babbb91cfc37 100644 --- a/games/sampsvr/pkg-plist +++ b/games/sampsvr/pkg-plist @@ -1,7 +1,7 @@ @unexec if cmp -s %D/etc/sampsvr.cfg %D/etc/sampsvr.cfg.dist; then rm -f %D/etc/sampsvr.cfg; fi etc/sampsvr.cfg.dist @exec [ -f %B/sampsvr.cfg ] || cp %B/%f %B/sampsvr.cfg -%%SAMPDIR%%/sampd +%%SAMPDIR%%/samp02svr %%SAMPDIR%%/announce %%SAMPDIR%%/server.cfg %%SAMPDIR%%/filterscripts