summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-03-01 17:12:28 +0000
committerjlam <jlam@pkgsrc.org>2001-03-01 17:12:28 +0000
commitcf09a994f39211badf0bf637d563ced1792d8cf0 (patch)
treecef850269186898d21b2d686f00d5c5428f9eeb3 /audio
parent959817b5b317b6969b452077fb413ea246457e9c (diff)
downloadpkgsrc-cf09a994f39211badf0bf637d563ced1792d8cf0.tar.gz
We don't need to substitute for @PREFIX@ in install/deinstall scripts as
${PKG_PREFIX} contains that value. Use it instead, and nuke the creation of ${WRKDIR}/DEINSTALL.
Diffstat (limited to 'audio')
-rw-r--r--audio/gqmpeg/Makefile6
-rw-r--r--audio/gqmpeg/pkg/DEINSTALL13
2 files changed, 9 insertions, 10 deletions
diff --git a/audio/gqmpeg/Makefile b/audio/gqmpeg/Makefile
index 3ecb6ae03e2..5aa5aa37540 100644
--- a/audio/gqmpeg/Makefile
+++ b/audio/gqmpeg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2001/03/01 17:09:03 jlam Exp $
+# $NetBSD: Makefile,v 1.30 2001/03/01 17:12:28 jlam Exp $
# FreeBSD Id: Makefile,v 1.6 1998/12/28 01:02:05 vanilla Exp
#
@@ -23,13 +23,9 @@ CONFIGURE_ARGS+= --without-included-gettext
CONFIGURE_ARGS+= --enable-japanese
CONFIGURE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}"
-DEINSTALL_FILE= ${WRKDIR}/DEINSTALL
-
# in case gnome isn't installed, we need to create the directories
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/gnome/apps/Multimedia
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps
- ${SED} -e 's|@PREFIX@|${PREFIX}|g' \
- ${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE}
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/gqmpeg/pkg/DEINSTALL b/audio/gqmpeg/pkg/DEINSTALL
index fa71dcfdbf7..3f52f92867d 100644
--- a/audio/gqmpeg/pkg/DEINSTALL
+++ b/audio/gqmpeg/pkg/DEINSTALL
@@ -1,23 +1,26 @@
#!/bin/sh
#
-# $NetBSD: DEINSTALL,v 1.1 2000/08/04 18:35:26 wiz Exp $
+# $NetBSD: DEINSTALL,v 1.2 2001/03/01 17:12:29 jlam Exp $
#
PKGNAME=$1
+STAGE=$2
-case $2 in
+case ${STAGE} in
DEINSTALL)
;;
+
POST-DEINSTALL)
cat << EOF
=============================================================================
-If you won't be using ${PKGNAME} any longer, you may want to remove any
-skins that were installed in @PREFIX@/share/gqmpeg/skins.
+If you won't be using ${PKGNAME} any longer, you may want to remove
+any skins that were installed in ${PKG_PREFIX}/share/gqmpeg/skins.
=============================================================================
EOF
;;
+
*)
- echo "Unexpected argument: $2"
+ echo "Unexpected argument: ${STAGE}"
exit 1
;;
esac