blob: f9ee44271aa8460b5333b37c1ddd1f2ff76bf490 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.3 2001/04/14 21:43:48 jtb Exp $
DISTNAME= etach-1.1.6
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=etach/}
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://etach.sourceforge.net
COMMENT= Emacs Lisp package for dealing with MIME email attachments
NO_CONFIGURE= YES
NO_BUILD= YES
.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} ${PREFIX}/share/doc/etach
@for t in ${WRKSRC}/README.txt ${WRKSRC}/FAQ.txt \
${WRKSRC}/LICENSE.txt; do \
c="${INSTALL_DATA} $$t ${PREFIX}/share/doc/etach/"; \
${ECHO} $$c; $$c; \
done
.include "../../mk/bsd.pkg.mk"
|