diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2004-05-08 15:10:58 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2004-05-08 15:10:58 +0000 |
commit | b532c229990aea832157bfdc4b5ff9b509132e09 (patch) | |
tree | aa22466baf73f7b2ce1107f47c64b79dafdbe3c6 /mail | |
parent | fd58cdf03c07575494fb385abeeddb01d6653038 (diff) | |
download | pkgsrc-b532c229990aea832157bfdc4b5ff9b509132e09.tar.gz |
Use emacs.mk.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/etach/Makefile | 19 | ||||
-rw-r--r-- | mail/etach/PLIST | 4 |
2 files changed, 6 insertions, 17 deletions
diff --git a/mail/etach/Makefile b/mail/etach/Makefile index a86d2097445..97391f76b9f 100644 --- a/mail/etach/Makefile +++ b/mail/etach/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2003/07/17 21:45:56 grant Exp $ +# $NetBSD: Makefile,v 1.9 2004/05/08 15:11:28 uebayasi Exp $ DISTNAME= etach-1.2.9 CATEGORIES= mail @@ -11,23 +11,12 @@ COMMENT= Emacs Lisp package for dealing with MIME email attachments NO_CONFIGURE= # defined NO_BUILD= # defined -.include "../../mk/bsd.prefs.mk" - -.if defined(USE_XEMACS) -DEPENDS+= xemacs-[0-9]*:../../editors/xemacs -LISPDIR= lib/xemacs/xemacs-packages/lisp/mail-lib -.else -DEPENDS+= emacs-[0-9]*:../../editors/emacs -LISPDIR= share/emacs/site-lisp -.endif - -PLIST_SUBST+= LISPDIR=${LISPDIR} - do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/${LISPDIR} - ${INSTALL_DATA} ${WRKSRC}/etach.el ${PREFIX}/${LISPDIR} + ${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/etach + ${INSTALL_DATA} ${WRKSRC}/etach.el ${EMACS_LISPPREFIX}/etach ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/etach cd ${WRKSRC} && ${INSTALL_DATA} README.txt FAQ.txt LICENSE.txt \ ${PREFIX}/share/doc/etach/ +.include "../../mk/emacs.mk" .include "../../mk/bsd.pkg.mk" diff --git a/mail/etach/PLIST b/mail/etach/PLIST index e0c30892844..5b9e67d8a35 100644 --- a/mail/etach/PLIST +++ b/mail/etach/PLIST @@ -1,6 +1,6 @@ -@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:59:53 zuntum Exp $ +@comment $NetBSD: PLIST,v 1.2 2004/05/08 15:11:28 uebayasi Exp $ -${LISPDIR}/etach.el +${EMACS_LISPPREFIX}/etach/etach.el share/doc/etach/FAQ.txt share/doc/etach/LICENSE.txt share/doc/etach/README.txt |