- move example config file from share/doc/dopewars to
share/examples/dopewars - ${FOO} -> $FOO in INSTALL/DEINSTALL - use $SCORE_FILE as part of do_install() in INSTALL
This commit is contained in:
parent
122afd21b2
commit
641ac6dc07
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.13 2000/07/18 07:15:14 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.14 2000/08/07 03:54:15 brad Exp $
|
||||
|
||||
DISTNAME= dopewars-1.4.8
|
||||
CATEGORIES= games
|
||||
@ -25,10 +25,11 @@ DOCS= index.html installation.html clientplay.html server.html \
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dopewars
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dopewars
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/dopewars ${PREFIX}/bin
|
||||
@chown root.games ${PREFIX}/bin/dopewars
|
||||
@chmod 2755 ${PREFIX}/bin/dopewars
|
||||
${INSTALL_DATA} ${WRKSRC}/example-cfg ${PREFIX}/share/doc/dopewars/dopewars-cfg.sample
|
||||
${INSTALL_DATA} ${WRKSRC}/example-cfg ${PREFIX}/share/examples/dopewars/dopewars-cfg.sample
|
||||
cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/dopewars
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: DEINSTALL,v 1.2 2000/07/19 09:31:19 brad Exp $
|
||||
# $OpenBSD: DEINSTALL,v 1.3 2000/08/07 03:54:16 brad Exp $
|
||||
#
|
||||
# dopewars de-installation
|
||||
|
||||
@ -8,13 +8,13 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
||||
PREFIX=${PKG_PREFIX:-/usr/local}
|
||||
SCORE_FILE=/var/games/dopewars.sco
|
||||
|
||||
if [ -f ${SCORE_FILE} ]; then
|
||||
if [ -f $SCORE_FILE ]; then
|
||||
echo
|
||||
echo "+---------------"
|
||||
echo "| To completely deinstall the $1 package you need to perform"
|
||||
echo "| this step as root:"
|
||||
echo "|"
|
||||
echo "| rm -f ${SCORE_FILE}"
|
||||
echo "| rm -f $SCORE_FILE"
|
||||
echo "|"
|
||||
echo "| Do not do this if you plan on re-installing $1"
|
||||
echo "| at some future time."
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $OpenBSD: INSTALL,v 1.1 1999/10/26 21:21:18 brad Exp $
|
||||
# $OpenBSD: INSTALL,v 1.2 2000/08/07 03:54:16 brad Exp $
|
||||
#
|
||||
# Pre/post-installation setup of dopewars
|
||||
|
||||
@ -14,9 +14,9 @@ SCORE_FILE=/var/games/dopewars.sco
|
||||
#
|
||||
do_install()
|
||||
{
|
||||
touch /var/games/dopewars.sco
|
||||
chown root.games /var/games/dopewars.sco
|
||||
chmod 664 /var/games/dopewars.sco
|
||||
touch $SCORE_FILE
|
||||
chown root.games $SCORE_FILE
|
||||
chmod 664 $SCORE_FILE
|
||||
}
|
||||
|
||||
# verify proper execution
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.8 2000/06/10 21:07:32 brad Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.9 2000/08/07 03:54:16 brad Exp $
|
||||
bin/dopewars
|
||||
share/doc/dopewars/LICENCE
|
||||
share/doc/dopewars/README
|
||||
@ -8,10 +8,11 @@ share/doc/dopewars/commandline.html
|
||||
share/doc/dopewars/configfile.html
|
||||
share/doc/dopewars/credits.html
|
||||
share/doc/dopewars/developer.html
|
||||
share/doc/dopewars/dopewars-cfg.sample
|
||||
share/doc/dopewars/index.html
|
||||
share/doc/dopewars/installation.html
|
||||
share/doc/dopewars/metaserver.html
|
||||
share/doc/dopewars/server.html
|
||||
share/doc/dopewars/servercommands.html
|
||||
share/examples/dopewars/dopewars-cfg.sample
|
||||
@dirrm share/doc/dopewars
|
||||
@dirrm share/examples/dopewars
|
||||
|
Loading…
Reference in New Issue
Block a user