summaryrefslogtreecommitdiff
path: root/mail/mutt-devel
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-06-15 20:40:15 +0000
committerjlam <jlam@pkgsrc.org>2006-06-15 20:40:15 +0000
commit827643d4bb8f5f83c28919b7df0d42108769e37d (patch)
treefdcc07230f85f6fc9861a7659692fa83b1801fd4 /mail/mutt-devel
parent16435dbba43f2f98501e2daefad890a6542aab31 (diff)
downloadpkgsrc-827643d4bb8f5f83c28919b7df0d42108769e37d.tar.gz
Split out deinstall portions of INSTALL scripts into DEINSTALL scripts.
This avoids the need for a confusing line of the form: DEINSTALL_TEMPLATE+= path/to/INSTALL in the package Makefile, and actually removes the need to specify it altogether since by convention, the existence of the DEINSTALL script is enough to add it to DEINSTALL_TEMPLATE.
Diffstat (limited to 'mail/mutt-devel')
-rw-r--r--mail/mutt-devel/DEINSTALL7
-rw-r--r--mail/mutt-devel/INSTALL6
-rw-r--r--mail/mutt-devel/Makefile3
3 files changed, 9 insertions, 7 deletions
diff --git a/mail/mutt-devel/DEINSTALL b/mail/mutt-devel/DEINSTALL
new file mode 100644
index 00000000000..37c6800c5a5
--- /dev/null
+++ b/mail/mutt-devel/DEINSTALL
@@ -0,0 +1,7 @@
+# $NetBSD: DEINSTALL,v 1.3 2006/06/15 20:40:16 jlam Exp $
+
+case ${STAGE} in
+DEINSTALL)
+ ${RM} -f @DOCDIR@/samples
+ ;;
+esac
diff --git a/mail/mutt-devel/INSTALL b/mail/mutt-devel/INSTALL
index 2b586fde291..ce15b7d4513 100644
--- a/mail/mutt-devel/INSTALL
+++ b/mail/mutt-devel/INSTALL
@@ -1,12 +1,8 @@
-# $NetBSD: INSTALL,v 1.3 2004/07/21 22:37:10 jlam Exp $
+# $NetBSD: INSTALL,v 1.4 2006/06/15 20:40:16 jlam Exp $
case ${STAGE} in
POST-INSTALL)
${RM} -f @DOCDIR@/samples
${LN} -sf ../../examples/mutt @DOCDIR@/samples
;;
-
-DEINSTALL)
- ${RM} -f @DOCDIR@/samples
- ;;
esac
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index 2f8a87c45ac..5cc8e01a9e8 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2006/04/13 18:23:34 jlam Exp $
+# $NetBSD: Makefile,v 1.49 2006/06/15 20:40:16 jlam Exp $
DISTNAME= mutt-1.5.11
PKGREVISION= 4
@@ -44,7 +44,6 @@ CONFIGURE_ARGS+= --with-exec-shell=/bin/ksh
LDFLAGS+= ${_STRIPFLAG_CC}
-DEINSTALL_TEMPLATE+= ${PKGDIR}/INSTALL
DOCDIR= ${PREFIX}/share/doc/mutt
EGDIR= ${PREFIX}/share/examples/mutt
CONF_FILES= ${EGDIR}/Muttrc ${PKG_SYSCONFDIR}/Muttrc