summaryrefslogtreecommitdiff
path: root/mail/mew/Makefile
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2004-11-30 02:42:11 +0000
committeruebayasi <uebayasi>2004-11-30 02:42:11 +0000
commit3b199d0e30d09def8939280776f46b850297ecb7 (patch)
tree36a5b1b06add4e037b65c55f8501a056428acf73 /mail/mew/Makefile
parent0834ecb82cbcafdfcbac522886a8e3dcd7456502 (diff)
downloadpkgsrc-3b199d0e30d09def8939280776f46b850297ecb7.tar.gz
Replace mail/mew (not mail/mew3) with Mew 4.1, as I intended.
Diffstat (limited to 'mail/mew/Makefile')
-rw-r--r--mail/mew/Makefile22
1 files changed, 9 insertions, 13 deletions
diff --git a/mail/mew/Makefile b/mail/mew/Makefile
index 59059cffd5b..4a658f854a0 100644
--- a/mail/mew/Makefile
+++ b/mail/mew/Makefile
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.59 2004/10/03 00:12:53 tv Exp $
+# $NetBSD: Makefile,v 1.60 2004/11/30 02:42:11 uebayasi Exp $
-DISTNAME= mew-2.3
-PKGREVISION= 3
+DISTNAME= mew-4.1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.mew.org/pub/Mew/release/
-MAINTAINER= tech-pkg-ja@jp.NetBSD.org
+MAINTAINER= uebayasi@NetBSD.org
HOMEPAGE= http://www.mew.org/
COMMENT= Messaging in the Emacs World
@@ -15,7 +14,7 @@ INFO_FILES= mew.info
USE_BUILDLINK3= yes
-EMACS_VERSIONS_ACCEPTED= emacs21 emacs21nox emacs20
+EMACS_VERSIONS_ACCEPTED= emacs21 emacs21nox emacs20 xemacs214 xemacs215
MEW_CONTRIB_DIR=${EMACS_LISPPREFIX}/mew/contrib
@@ -24,17 +23,14 @@ 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
+SUBST_CLASSES= local
+SUBST_STAGE.local= post-patch
+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}
- @${INSTALL_DATA} ${WRKSRC}/contrib/00readme* \
- ${WRKSRC}/contrib/*.el ${MEW_CONTRIB_DIR}
+ @${INSTALL_DATA} ${WRKSRC}/contrib/* ${MEW_CONTRIB_DIR}
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/emacs.mk"