blob: 8c098590136ea3205405fead5d5b26e3e35e0416 (
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
56
57
58
59
60
61
62
|
# $NetBSD: Makefile,v 1.47 2008/03/04 17:57:18 jlam Exp $
DISTNAME= exmh-2.7.2
CATEGORIES= mail tk
MASTER_SITES= ftp://ftp.tcl.tk/pub/tcl/exmh/
MAINTAINER= dsainty@NetBSD.org
HOMEPAGE= http://www.beedub.com/exmh/
COMMENT= X11/TK based mail reader front end to MH
DEPENDS+= nmh>=1.0:../../mail/nmh
DEPENDS+= metamail>=2.7:../../mail/metamail
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= tclsh
USE_TOOLS+= wish:run
.include "../../mk/bsd.prefs.mk"
DIST_SUBDIR= ${PKGNAME_NOREV}
# Additionally, exmh will use the following packages if present:
# lang/expect
# textproc/glimpse
# security/gnupg
# security/pgp
# mail/faces
# audio/rplay
do-build:
cd ${WRKSRC} && ${SETENV} PREFIX=${PREFIX} TCLSH=${TCLSH:Q} \
WISH=${WISH:Q} WRKSRC=${WRKSRC} \
FILESDIR=${FILESDIR} ${SH} ${FILESDIR}/build
do-install:
${INSTALL_MAN} ${WRKSRC}/exmh.l \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/exmh.1
for binfile in exmh-async exmh-bg exmh-strip exmh ftp.expect; do \
${INSTALL_SCRIPT} ${WRKSRC}/$$binfile ${DESTDIR}${PREFIX}/bin; \
done
vers=`sed -ne 's/^set vers \(.*\)/\1/p' ${WRKSRC}/exmh.install`; \
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/exmh-$${vers}; \
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/exmh-$${vers}/html; \
for libfile in \
${WRKSRC}/lib/PgpDecryptExpect \
${WRKSRC}/lib/*.tcl ${WRKSRC}/lib/*.bitmap \
${WRKSRC}/lib/*.ppm ${WRKSRC}/lib/help.* \
${WRKSRC}/lib/tclIndex ${WRKSRC}/lib/app-defaults \
${WRKSRC}/lib/app-defaults-* ${WRKSRC}/lib/*.mask \
${WRKSRC}/lib/*.exp ${WRKSRC}/lib/mime.types \
${WRKSRC}/lib/*.au ${WRKSRC}/lib/*.gif; do \
${INSTALL_DATA} $$libfile \
${DESTDIR}${PREFIX}/lib/exmh-$${vers}; \
done; \
for hfile in ${WRKSRC}/lib/html/*; do \
${INSTALL_DATA} $$hfile \
${DESTDIR}${PREFIX}/lib/exmh-$${vers}/html; \
done
.include "../../x11/tk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|