adios INSTALL;

This commit is contained in:
xsa 2004-10-01 15:16:22 +00:00
parent 817b985e95
commit 93553adca3
4 changed files with 12 additions and 57 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.3 2004/04/10 23:10:14 xsa Exp $
# $OpenBSD: Makefile,v 1.4 2004/10/01 15:16:22 xsa Exp $
COMMENT= "enriched clone of the game Logical by Rainbow Arts"
@ -51,5 +51,8 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/pathological.6 ${PREFIX}/man/man6
${INSTALL_DATA_DIR} ${DOCDIR}/html
${INSTALL_DATA} ${WRKSRC}/html/*.{html,png} ${DOCDIR}/html
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pathological
${INSTALL_DATA} /dev/null \
${PREFIX}/share/examples/pathological/pathological_scores
.include <bsd.port.mk>

View File

@ -1,20 +0,0 @@
#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.2 2003/09/28 00:35:10 naddy Exp $
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
SCORE_FILE=/var/games/pathological_scores
if [ "$PKG_DELETE_EXTRA" != Yes -a -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 "|"
echo "| Do not do this if you plan on re-installing $1"
echo "| at some future time."
echo "+---------------"
echo
fi

View File

@ -1,35 +0,0 @@
#!/bin/sh
# $OpenBSD: INSTALL,v 1.1.1.1 2003/08/08 22:01:36 jolan Exp $
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
SCORE_FILE=/var/games/pathological_scores
do_install()
{
touch $SCORE_FILE
chown root:games $SCORE_FILE
chmod 664 $SCORE_FILE
}
if [ $# -ne 2 ]; then
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
exit 1
fi
case $2 in
PRE-INSTALL)
: nothing to pre-install for this port
;;
POST-INSTALL)
if [ ! -f $SCORE_FILE ]; then
do_install $1
fi
;;
*)
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
exit 1
;;
esac
exit 0

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.4 2004/09/15 00:46:10 espie Exp $
@comment $OpenBSD: PLIST,v 1.5 2004/10/01 15:16:22 xsa Exp $
bin/pathological
bin/write-highscores
@man man/man6/pathological.6
@ -19,6 +19,13 @@ share/doc/pathological/html/teleporter.png
share/doc/pathological/html/trigger.png
share/doc/pathological/html/trigger2.png
share/doc/pathological/html/wheel.png
share/examples/pathological/
share/examples/pathological/pathological_scores
@mode g+w
@group games
@sample /var/games/pathological_scores
@mode
@group
share/pathological/
share/pathological/circuits/
share/pathological/circuits/all-boards