blob: c3c1e55a12641a4352efeecaa2c27c5b680e3ef8 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# $NetBSD: Makefile,v 1.23 2005/08/28 04:25:30 uebayasi Exp $
DISTNAME= wl-2.14.0
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
CATEGORIES= mail
MASTER_SITES= ftp://ftp.gohome.org/wl/stable/
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
HOMEPAGE= http://www.gohome.org/wl/
COMMENT= Mail/news management system with IMAP4rev1 support for Emacs
DEPENDS+= ${EMACS_PKGNAME_PREFIX}apel>=10.6:../../devel/apel
DEPENDS+= ${EMACS_PKGNAME_PREFIX}flim>=1.14.7:../../devel/flim
DEPENDS+= ${EMACS_PKGNAME_PREFIX}semi>=1.14.6:../../devel/semi
DEPENDS+= ${EMACS_PKGNAME_PREFIX}bbdb-[0-9]*:../../misc/bbdb
# XXX please someone adjust paths and PLIST for XEmacs...
EMACS_VERSIONS_ACCEPTED= emacs21 emacs21nox emacs20
MAKE_FLAGS+= LISPDIR=${EMACS_LISPPREFIX}
MAKE_FLAGS+= PIXMAPDIR=${PREFIX}/share/wl
INSTALL_TARGET= install install-info
INFO_FILES= wl.info wl-ja.info
.include "../../mk/emacs.mk"
DOCDIR= ${PREFIX}/share/doc/wl
EXAMPLESDIR= ${PREFIX}/share/examples/wl
PLIST_SRC= ${WRKDIR}/PLIST
post-build:
@{ \
${CAT} ${PKGDIR}/PLIST.header; \
${FIND} ${WRKSRC} -name '*.elc' -print | \
while read f; do \
g=$$(basename $$f); \
echo '$${EMACS_LISPPREFIX}/wl/'$${g%.elc}.el; \
echo '$${EMACS_LISPPREFIX}/wl/'$$g; \
done | ${SORT}; \
${CAT} ${PKGDIR}/PLIST.footer; \
} >${PLIST_SRC}
post-install:
@${INSTALL_DATA_DIR} ${DOCDIR}/en ${DOCDIR}/ja
@for f in BUGS NEWS README; do \
${INSTALL_DATA} ${WRKSRC}/$$f ${DOCDIR}/en; \
${INSTALL_DATA} ${WRKSRC}/$${f}.ja ${DOCDIR}/ja; \
done
@${INSTALL_DATA_DIR} ${EXAMPLESDIR}/en ${EXAMPLESDIR}/ja
@${INSTALL_DATA} ${WRKSRC}/samples/en/dot.* ${EXAMPLESDIR}/en
@${INSTALL_DATA} ${WRKSRC}/samples/ja/dot.* ${EXAMPLESDIR}/ja
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|