1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Update to 0.2.1

- Remove one bad master site

PR:	     	 ports/114005
Submitted by:	Alexander Logvinov <ports at logvinov.com> (maintainer)
This commit is contained in:
Rong-En Fan 2007-06-25 07:38:58 +00:00
parent 985c2ad77c
commit 467826d2b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=194214
4 changed files with 9 additions and 13 deletions

View File

@ -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 <bsd.port.pre.mk>
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

View File

@ -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

View File

@ -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"

View File

@ -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