pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/lambdamoo Use FILES_SUBST instead of manually twea...
details: https://anonhg.NetBSD.org/pkgsrc/rev/03af911e15ce
branches: trunk
changeset: 460460:03af911e15ce
user: jlam <jlam%pkgsrc.org@localhost>
date: Sat Aug 30 19:49:25 2003 +0000
description:
Use FILES_SUBST instead of manually tweaking the DEINSTALL script.
diffstat:
net/lambdamoo/DEINSTALL | 10 ++++------
net/lambdamoo/Makefile | 7 +++----
2 files changed, 7 insertions(+), 10 deletions(-)
diffs (53 lines):
diff -r 27c9b813cb5e -r 03af911e15ce net/lambdamoo/DEINSTALL
--- a/net/lambdamoo/DEINSTALL Sat Aug 30 19:45:00 2003 +0000
+++ b/net/lambdamoo/DEINSTALL Sat Aug 30 19:49:25 2003 +0000
@@ -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 -r 27c9b813cb5e -r 03af911e15ce net/lambdamoo/Makefile
--- a/net/lambdamoo/Makefile Sat Aug 30 19:45:00 2003 +0000
+++ b/net/lambdamoo/Makefile Sat Aug 30 19:49:25 2003 +0000
@@ -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_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 @@
${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
Home |
Main Index |
Thread Index |
Old Index