diff options
author | uebayasi <uebayasi> | 2002-09-15 06:24:21 +0000 |
---|---|---|
committer | uebayasi <uebayasi> | 2002-09-15 06:24:21 +0000 |
commit | c1b274cc2fdfcc83688f65308ed0b91dbfc74730 (patch) | |
tree | 8bf65288863c39935d30f43b02f79763d67b7016 /mail/mew/Makefile | |
parent | 81b0ba95d0ac49d7a8ec4ff1b1dbc3842adac9ce (diff) | |
download | pkgsrc-c1b274cc2fdfcc83688f65308ed0b91dbfc74730.tar.gz |
Use mk/emacs.mk.
Diffstat (limited to 'mail/mew/Makefile')
-rw-r--r-- | mail/mew/Makefile | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/mail/mew/Makefile b/mail/mew/Makefile index 0e3a0f3f827..c0ad8e6998a 100644 --- a/mail/mew/Makefile +++ b/mail/mew/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.47 2002/05/07 23:27:47 hubertf Exp $ +# $NetBSD: Makefile,v 1.48 2002/09/15 06:24:21 uebayasi Exp $ DISTNAME= mew-2.2 CATEGORIES= mail @@ -10,19 +10,23 @@ COMMENT= Messaging in the Emacs World CONFLICTS=+ mew-xemacs-2.* -DEPENDS+= emacs>=20.7:../../editors/emacs +EMACS_VERSION_ACCEPTED= emacs21 emacs20 -MEW_CONTRIB_DIR= ${PREFIX}/share/emacs/site-lisp/mew/contrib +MEW_CONTRIB_DIR= ${EMACS_LISPPREFIX}/mew/contrib MEW_CONTRIB= 00readme 00readme-namazu.jis \ mew-browse.el mew-caesar.el mew-fancy-summary.el mew-gnus.el \ mew-nmz-fixer.el mew-nmz.el mew-refile-view.el mew-smime-ja.texi \ mew-toolbar-frame.el +MAKE_FLAGS+= EMACS=${EMACS_BIN} +MAKE_FLAGS+= elispdir=${EMACS_LISPPREFIX}/mew +MAKE_FLAGS+= etcdir=${PREFIX}/share/mew + pre-configure: - for f in `find ${WRKSRC}/contrib -type f -print| \ - xargs ${GREP} -l '#!/usr/local'`; do \ - ${SED} -e 's:/usr/local:'${PREFIX}':g' < $$f > $$f.pdone \ - && ${MV} $$f.pdone $$f; \ + for f in `${FIND} ${WRKSRC}/contrib -type f -print| \ + ${XARGS} ${GREP} -l '#!/usr/local'`; do \ + ${SED} -e 's:/usr/local:'${PREFIX}':g' < $$f > $${f}.pdone \ + && ${MV} $${f}.pdone $$f; \ done post-install: @@ -31,5 +35,6 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/contrib/$f ${MEW_CONTRIB_DIR} .endfor +.include "../../mk/emacs.mk" .include "../../mk/texinfo.mk" .include "../../mk/bsd.pkg.mk" |