diff --git a/games/pathological/Makefile b/games/pathological/Makefile index 13429277b3d..7ce5cf8778e 100644 --- a/games/pathological/Makefile +++ b/games/pathological/Makefile @@ -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 diff --git a/games/pathological/pkg/DEINSTALL b/games/pathological/pkg/DEINSTALL deleted file mode 100644 index 6ddc15c8e29..00000000000 --- a/games/pathological/pkg/DEINSTALL +++ /dev/null @@ -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 diff --git a/games/pathological/pkg/INSTALL b/games/pathological/pkg/INSTALL deleted file mode 100644 index 2365473a3f9..00000000000 --- a/games/pathological/pkg/INSTALL +++ /dev/null @@ -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 diff --git a/games/pathological/pkg/PLIST b/games/pathological/pkg/PLIST index 261d5ea6ef8..3ec738a1447 100644 --- a/games/pathological/pkg/PLIST +++ b/games/pathological/pkg/PLIST @@ -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