summaryrefslogtreecommitdiff
path: root/games/nethack-lib
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-03-01 19:07:51 +0000
committerjlam <jlam@pkgsrc.org>2001-03-01 19:07:51 +0000
commita4827ab0564f9f658aaaf188620dabee9b6e0f0d (patch)
tree8c75cb691a81d82bdd8cb966e72c0edff08c628f /games/nethack-lib
parent428e23fdff80a18c2f60240b75fda6ac8349dc25 (diff)
downloadpkgsrc-a4827ab0564f9f658aaaf188620dabee9b6e0f0d.tar.gz
Mechanical changes to use ${PKG_PREFIX} instead of substituting for
@PREFIX@ in DEINSTALL/INSTALL scripts.
Diffstat (limited to 'games/nethack-lib')
-rw-r--r--games/nethack-lib/Makefile7
-rw-r--r--games/nethack-lib/pkg/DEINSTALL4
2 files changed, 3 insertions, 8 deletions
diff --git a/games/nethack-lib/Makefile b/games/nethack-lib/Makefile
index 3dcb7b6d6ce..61bb69819a2 100644
--- a/games/nethack-lib/Makefile
+++ b/games/nethack-lib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2001/02/16 15:10:54 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2001/03/01 19:07:51 jlam Exp $
#
.include "../nethack-lib/Makefile.common"
@@ -12,13 +12,8 @@ CONFIGURE_SCRIPT= ./sys/unix/setup.sh
ALL_TARGET= datastuff
INSTALL_TARGET= manpages install-dat
-DEINSTALL_FILE= ${WRKDIR}/DEINSTALL
-
.if ${OPSYS} == "SunOS"
MAKE_FLAGS+= CC=gcc CPPFLAGS=
.endif
-post-build:
- ${SED} -e 's|@PREFIX@|${PREFIX}|' ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE}
-
.include "../../mk/bsd.pkg.mk"
diff --git a/games/nethack-lib/pkg/DEINSTALL b/games/nethack-lib/pkg/DEINSTALL
index 66af9cc759f..4acd23a351e 100644
--- a/games/nethack-lib/pkg/DEINSTALL
+++ b/games/nethack-lib/pkg/DEINSTALL
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: DEINSTALL,v 1.1 2000/04/14 14:06:54 pooka Exp $
+# $NetBSD: DEINSTALL,v 1.2 2001/03/01 19:07:52 jlam Exp $
#
case $2 in
@@ -9,7 +9,7 @@ case $2 in
=============================================================
The records, log and savegames were not wiped out by this
deletion process. If you don't want them around, please
-remove @PREFIX@/share/nethackdir.
+remove ${PKG_PREFIX}/share/nethackdir.
=============================================================
EOF