diff options
author | jlam <jlam> | 2003-08-30 19:49:25 +0000 |
---|---|---|
committer | jlam <jlam> | 2003-08-30 19:49:25 +0000 |
commit | 0b38e8ddf88b800f21d5d5f6a6ff8647216dab19 (patch) | |
tree | 3bc13b19337d0c1c08be67065d20ceb620fa5ea9 /net | |
parent | 50503e68f2330b4febaadd92f643a300ed33a9ae (diff) | |
download | pkgsrc-0b38e8ddf88b800f21d5d5f6a6ff8647216dab19.tar.gz |
Use FILES_SUBST instead of manually tweaking the DEINSTALL script.
Diffstat (limited to 'net')
-rw-r--r-- | net/lambdamoo/DEINSTALL | 10 | ||||
-rw-r--r-- | net/lambdamoo/Makefile | 7 |
2 files changed, 7 insertions, 10 deletions
diff --git a/net/lambdamoo/DEINSTALL b/net/lambdamoo/DEINSTALL index 117455580a0..7b6adfc3abf 100644 --- a/net/lambdamoo/DEINSTALL +++ b/net/lambdamoo/DEINSTALL @@ -1,17 +1,15 @@ -#!/bin/sh -# -# $NetBSD: DEINSTALL,v 1.1.1.1 2002/05/26 00:21:43 rh Exp $ -# +# $NetBSD: DEINSTALL,v 1.2 2003/08/30 19:49:25 jlam Exp $ case $2 in - DEINSTALL) cat << EOF +DEINSTALL) + ${CAT} << EOF =========================================================================== If you won't be using lambdamoo-1.8.1 any longer, you may want to remove: * the following packages: lambdamoo-doc and lambdamoo-core - * the following directory: __LAMBDAMOO_HOME__ + * the following directory: @LAMBDAMOO_HOME@ =========================================================================== EOF diff --git a/net/lambdamoo/Makefile b/net/lambdamoo/Makefile index 99900909c2f..4410024a4cb 100644 --- a/net/lambdamoo/Makefile +++ b/net/lambdamoo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2003/07/17 22:51:18 grant Exp $ +# $NetBSD: Makefile,v 1.8 2003/08/30 19:49:25 jlam Exp $ DISTNAME= LambdaMOO-1.8.1 PKGNAME= lambdamoo-1.8.1 @@ -24,7 +24,8 @@ PKG_GROUPS= ${LAMBDAMOO_GROUP} PKG_USERS= ${LAMBDAMOO_USER}:${LAMBDAMOO_GROUP} _PKG_USER_HOME= ${LAMBDAMOO_HOME} _PKG_USER_SHELL= ${SH} -DEINSTALL_EXTRA_TMPL= ${WRKDIR}/DEINSTALL.out + +FILES_SUBST+= LAMBDAMOO_HOME=${LAMBDAMOO_HOME} ALL_TARGET= GNU_CONFIGURE= yes @@ -33,8 +34,6 @@ pre-build: ${MV} ${WRKSRC}/restart.sh ${WRKSRC}/restart.sh.in ${SED} <${WRKSRC}/restart.sh.in >${WRKSRC}/restart.sh \ "s|__PREFIX__|${PREFIX}|g" - ${SED} <${PKGDIR}/DEINSTALL >${DEINSTALL_EXTRA_TMPL} \ - "s|__LAMBDAMOO_HOME__|${LAMBDAMOO_HOME}|g" do-install: ${INSTALL_PROGRAM} ${WRKSRC}/moo ${PREFIX}/sbin |