pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/mew3 * Take maintainership.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/da13fdb8b2db
branches:  trunk
changeset: 484816:da13fdb8b2db
user:      uebayasi <uebayasi%pkgsrc.org@localhost>
date:      Tue Nov 30 02:49:38 2004 +0000

description:
* Take maintainership.
* Run s|/usr/local|${PREFIX}|g substitution during configure stage, since
  it refers ${PREFIX} expanded.

diffstat:

 mail/mew3/Makefile |  15 ++++++---------
 1 files changed, 6 insertions(+), 9 deletions(-)

diffs (35 lines):

diff -r 9e020ef52afe -r da13fdb8b2db mail/mew3/Makefile
--- a/mail/mew3/Makefile        Tue Nov 30 02:44:56 2004 +0000
+++ b/mail/mew3/Makefile        Tue Nov 30 02:49:38 2004 +0000
@@ -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@localhost
+MAINTAINER=    uebayasi%jp.NetBSD.org@localhost
 HOMEPAGE=      http://www.mew.org/
 COMMENT=       Messaging in the Emacs World
 
@@ -24,13 +24,10 @@
 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}



Home | Main Index | Thread Index | Old Index