summaryrefslogtreecommitdiff
path: root/mail/mew3
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2004-11-30 02:49:38 +0000
committeruebayasi <uebayasi>2004-11-30 02:49:38 +0000
commit7e08227cbac47ac18713aa558538ae2773218121 (patch)
treee69c90499141d1815940ee032cf208ff6b03dd44 /mail/mew3
parent431ebf613d75e6fc982088ed1b7a420277c194ba (diff)
downloadpkgsrc-7e08227cbac47ac18713aa558538ae2773218121.tar.gz
* Take maintainership.
* Run s|/usr/local|${PREFIX}|g substitution during configure stage, since it refers ${PREFIX} expanded.
Diffstat (limited to 'mail/mew3')
-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}