diff options
-rw-r--r-- | games/xpat2/DEINSTALL | 26 | ||||
-rw-r--r-- | games/xpat2/INSTALL | 23 | ||||
-rw-r--r-- | games/xpat2/Makefile | 13 |
3 files changed, 11 insertions, 51 deletions
diff --git a/games/xpat2/DEINSTALL b/games/xpat2/DEINSTALL deleted file mode 100644 index 4222bccb223..00000000000 --- a/games/xpat2/DEINSTALL +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.1 2001/11/01 00:57:16 zuntum Exp $ - -PKGNAME=$1 -STAGE=$2 - -case ${STAGE} in -DEINSTALL) - ;; -POST-DEINSTALL) - cat << EOF -=========================================================================== -If you won't be using ${PKGNAME} any longer, you may want to remove the -following files: - - /var/games/xpat.log -=========================================================================== -EOF - ;; -*) - echo "Unexpected argument: ${STAGE}" - exit 1 - ;; -esac -exit 0 diff --git a/games/xpat2/INSTALL b/games/xpat2/INSTALL deleted file mode 100644 index fd1c8eb6197..00000000000 --- a/games/xpat2/INSTALL +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -# -# $NetBSD: INSTALL,v 1.1 2001/11/01 00:57:18 zuntum Exp $ - -PKGNAME=$1 -STAGE=$2 - -case ${STAGE} in -PRE-INSTALL) - ;; -POST-INSTALL) - if [ ! -f /var/games/xpat.log ] - then - install -c -o games -g games -m 0644 /dev/null \ - /var/games/xpat.log - fi - ;; -*) - echo "Unexpected argument: ${STAGE}" - exit 1 - ;; -esac -exit 0 diff --git a/games/xpat2/Makefile b/games/xpat2/Makefile index 9b8b0c56422..aeb98728e31 100644 --- a/games/xpat2/Makefile +++ b/games/xpat2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2001/02/16 15:11:03 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2001/11/19 23:27:51 jlam Exp $ # FreeBSD: ports/games/xpat2/Makefile,v 1.11 2000/04/14 12:27:59 asami Exp DISTNAME= xpat2-1.06 @@ -9,14 +9,23 @@ MAINTAINER= kuebart@mathematik.uni-ulm.de COMMENT= X11 solitaire game with 14 variations USE_X11BASE= YES -USE_XPM= YES + +# This package uses imake, but invokes it directly as part of the build +# procedure. +# +#USE_IMAKE= YES EVAL_PREFIX= XPMDIR=xpm MAKE_ENV+= XPMDIR="${XPMDIR}" XMKMF="${XMKMF}" +SUPPORT_FILES_PERMS= /dev/null /var/games/xpat.log games games 0644 +MAKE_DIRS= /var/games + post-install: ${CHOWN} root.games ${PREFIX}/bin/xpat2 ${CHMOD} 2555 ${PREFIX}/bin/xpat2 PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL +.include "../../graphics/xpm/buildlink.mk" +.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" |