summaryrefslogtreecommitdiff
path: root/games/utserver/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-10-26 22:08:04 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-10-26 22:08:04 +0000
commit08cc060f426e54a6a269dccf0e08919b9ba9f096 (patch)
tree30a28df16e827454b8d5153da028a05cb37fe11a /games/utserver/Makefile
parentUpdate to 2.4.1 (diff)
o make all installation user writable; otherwise, nothing works
o update ngstats to 0.8.2 (from abfackeln) o update PKGMESSAGE o bump PORTREVISION due to these Submitted by: MAINTAINER
Notes
Notes: svn path=/head/; revision=49242
Diffstat (limited to 'games/utserver/Makefile')
-rw-r--r--games/utserver/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/games/utserver/Makefile b/games/utserver/Makefile
index 999fc705e143..7cb15c42b826 100644
--- a/games/utserver/Makefile
+++ b/games/utserver/Makefile
@@ -7,7 +7,7 @@
PORTNAME= utserver
PORTVERSION= 436
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games linux
MASTER_SITES= ftp://utservers:idspispopd@ftp.lokigames.com/ \
http://arcadia.inf.udec.cl/ftp/pub/linux/ut-server/ \
@@ -33,12 +33,13 @@ WRKSRC= ${WRKDIR}/ut-server
UTDIR= usr/games/ut-server/
PLIST_SUB= UTDIR="${UTDIR}"
EXTRA_PATCHES= ${WRKDIR}/patch-ngstatsut
-INSTALL_DIR= ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
+INSTALL_DIR= ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755
+INSTALL_MY_DATA= ${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m 644
SORT?= /usr/bin/sort
# files which should be installed with executable perms
EXECUTABLES= ucc ucc-bin ngStatsUT ngStatsUT.exe ngWorldStats \
- ngWorldStats.exe
+ bgWorldStats ngWorldStats.exe
post-extract:
.for file in ${DISTFILES:S/${EXTRACT_ONLY}//}
@@ -85,7 +86,7 @@ install-parse-plist: generate-plist
-e '}' \
-e '}' \
-e 'print FFILES ($$program_flag == 0) ? \
- "${INSTALL_DATA}" : "${INSTALL_SCRIPT}", \
+ "${INSTALL_MY_DATA}" : "${INSTALL_SCRIPT}", \
" ", "\"${WRKSRC}/$$file_partial\"", \
" ", "\"${PREFIX}/$$file\"", \
"\n";' \