diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2004-11-30 02:44:56 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2004-11-30 02:44:56 +0000 |
commit | 1edefbe2b328fcebd1d3f8fbd1631ad3020295ac (patch) | |
tree | 167789c4230d7c4a73842e5340dd691aaaf92a54 /mail/mew3/Makefile | |
parent | 7d2f4a70b7bce36c248d94180545f5984047d62d (diff) | |
download | pkgsrc-1edefbe2b328fcebd1d3f8fbd1631ad3020295ac.tar.gz |
Back out previous.
Diffstat (limited to 'mail/mew3/Makefile')
-rw-r--r-- | mail/mew3/Makefile | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/mail/mew3/Makefile b/mail/mew3/Makefile index f1d40cf6b44..50111ede10a 100644 --- a/mail/mew3/Makefile +++ b/mail/mew3/Makefile @@ -1,10 +1,11 @@ -# $NetBSD: Makefile,v 1.13 2004/11/29 14:31:45 uebayasi Exp $ +# $NetBSD: Makefile,v 1.14 2004/11/30 02:44:56 uebayasi Exp $ -DISTNAME= mew-4.1 +DISTNAME= mew-3.3 +PKGREVISION= 1 CATEGORIES= mail MASTER_SITES= ftp://ftp.mew.org/pub/Mew/release/ -MAINTAINER= uebayasi@NetBSD.org +MAINTAINER= tech-pkg-ja@jp.NetBSD.org HOMEPAGE= http://www.mew.org/ COMMENT= Messaging in the Emacs World @@ -23,10 +24,13 @@ MAKE_FLAGS+= EMACS=${EMACS_BIN} MAKE_FLAGS+= elispdir=${EMACS_LISPPREFIX}/mew MAKE_FLAGS+= etcdir=${PREFIX}/share/mew -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-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} {} \; post-install: @${INSTALL_DATA_DIR} ${MEW_CONTRIB_DIR} |