summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2004-11-30 02:49:38 +0000
committeruebayasi <uebayasi@pkgsrc.org>2004-11-30 02:49:38 +0000
commita082c3db171d4de08bbe3566092ad79b7e5aa178 (patch)
treee69c90499141d1815940ee032cf208ff6b03dd44 /mail
parent1edefbe2b328fcebd1d3f8fbd1631ad3020295ac (diff)
downloadpkgsrc-a082c3db171d4de08bbe3566092ad79b7e5aa178.tar.gz
* Take maintainership.
* Run s|/usr/local|${PREFIX}|g substitution during configure stage, since it refers ${PREFIX} expanded.
Diffstat (limited to 'mail')
-rw-r--r--mail/mew3/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/mail/mew3/Makefile b/mail/mew3/Makefile
index 50111ede10a..48bbdce71b0 100644
--- a/mail/mew3/Makefile
+++ b/mail/mew3/Makefile
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.14 2004/11/30 02:44:56 uebayasi Exp $
+# $NetBSD: Makefile,v 1.15 2004/11/30 02:49:38 uebayasi Exp $
DISTNAME= mew-3.3
PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.mew.org/pub/Mew/release/
-MAINTAINER= tech-pkg-ja@jp.NetBSD.org
+MAINTAINER= uebayasi@jp.NetBSD.org
HOMEPAGE= http://www.mew.org/
COMMENT= Messaging in the Emacs World
@@ -24,13 +24,10 @@ MAKE_FLAGS+= EMACS=${EMACS_BIN}
MAKE_FLAGS+= elispdir=${EMACS_LISPPREFIX}/mew
MAKE_FLAGS+= etcdir=${PREFIX}/share/mew
-post-patch:
- @${GREP} -lr /usr/local ${WRKSRC} | \
- while read f; do \
- ${MV} $$f $${f}.orig; \
- ${SED} -e 's|/usr/local|${PREFIX}|g' $${f}.orig >$$f; \
- done
- @${FIND} ${WRKSRC} -name '*.orig' -exec ${RM} {} \;
+SUBST_CLASSES= local
+SUBST_STAGE.local= post-configure
+SUBST_FILES.local= Makefile bin/configure info/Makefile
+SUBST_SED.local= -e 's|/usr/local|${PREFIX}|g'
post-install:
@${INSTALL_DATA_DIR} ${MEW_CONTRIB_DIR}