diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2004-11-30 02:49:38 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2004-11-30 02:49:38 +0000 |
commit | d8d36f7f29e48954684a6eba70545fade3419fa7 (patch) | |
tree | e69c90499141d1815940ee032cf208ff6b03dd44 /mail | |
parent | 3d321d5eeba703a6d996b6eab271e2616ed293cb (diff) | |
download | pkgsrc-d8d36f7f29e48954684a6eba70545fade3419fa7.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/Makefile | 15 |
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} |