blob: afce652d47811d3802b1a5a35260428c73a113a9 (
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
|
# $NetBSD: Makefile,v 1.37 2010/04/17 15:03:19 zafer Exp $
DISTNAME= vm-7.19
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
PKGREVISION= 2
CATEGORIES= mail
MASTER_SITES= ftp://ftp.uni-mainz.de/pub/software/gnu/vm/ \
ftp://tug.org/vm/ \
ftp://psg.com/pub/vm/ \
ftp://sunsite.cnlab-switch.ch/mirror/vm/ \
http://www.interhack.net/projects/vm/ \
http://ftp.lip6.fr/pub/unix/mail/vm/ \
http://ftp.jussieu.fr/pub/unix/mail/vm/ \
ftp://ftp.surfnet.nl/pub/mail/vm/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.wonderworks.com/vm/
COMMENT= VM (View Mail) is an advanced mail user agent for Emacs
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= makeinfo
INFO_FILES= # PLIST
MAKEFLAGS+= EMACS=${EMACS_BIN:Q}
MAKE_ENV+= LISPDIR=${EMACS_LISPPREFIX}/vm
MAKE_ENV+= INFODIR=${INFODIR:Q}
MAKE_ENV+= PIXMAPDIR=${PIXMAPDIR:Q}
MAKE_ENV+= BINDIR=${PREFIX:Q}/bin
PLIST_SUBST+= PIXMAPDIR=${PIXMAPDIR:S/^${PREFIX}\///:Q}
INSTALLATION_DIRS= bin ${EMACS_INFOPREFIX} ${EMACS_LISPPREFIX}/vm \
${PIXMAPDIR}
PIXMAPDIR= ${PIXMAPDIR.${EMACS_FLAVOR}}
PIXMAPDIR.emacs= ${EMACS_LISPPREFIX}/vm/pixmaps
PIXMAPDIR.xemacs= ${EMACS_LISPPREFIX:H}/etc/vm
do-install:
cd ${WRKSRC} && ${INSTALL_DATA} *.el* ${DESTDIR}${EMACS_LISPPREFIX}/vm
cd ${WRKSRC}; for f in *.info *.info-[0-9]*; do \
${TEST} ! -f "$$f" || \
${INSTALL_DATA} "$$f" ${DESTDIR}${EMACS_INFOPREFIX}; \
done
${INSTALL_DATA} ${WRKSRC}/pixmaps/*.x[pb]m ${DESTDIR}${PIXMAPDIR}
cd ${WRKSRC} && ${INSTALL_PROGRAM} qp-decode qp-encode \
base64-decode base64-encode ${DESTDIR}${PREFIX}/bin
.include "../../editors/emacs/modules.mk"
.include "../../mk/bsd.pkg.mk"
|