blob: 56bcecff7f12d1dab736311aaf2911d514438c75 (
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
|
# $NetBSD: Makefile,v 1.13 1998/04/15 10:38:22 agc Exp $
# FreeBSD Id: Makefile,v 1.30 1997/12/14 02:03:53 asami Exp
#
DISTNAME= emacs-20.2
WRKSRC= ${WRKDIR}/emacs-20.2
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GNU}
MAINTAINER= hubertf@netbsd.org
BUILD_DEPENDS= ${PREFIX}/bin/install-info:${PORTSDIR}/devel/gtexinfo
RUN_DEPENDS= ${PREFIX}/bin/install-info:${PORTSDIR}/devel/gtexinfo
GNU_CONFIGURE= yes
#USE_GMAKE= yes
CONFIGURE_ARGS+= ${MACHINE_ARCH}--netbsd --with-pop --with-x --with-x-toolkit=lucid
MAN1= emacs.1 emacs-etags.1 emacs-ctags.1
OPSYS!= uname -s
MAKE_ENV+= INSTALL_STRIP=${STRIPFLAG} \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
post-build:
(cd ${WRKSRC}/lisp/mail; \
${WRKSRC}/src/emacs -batch -f batch-byte-compile mh-funcs.el mh-utils.el)
post-install:
${RM} -f ${PREFIX}/share/emacs/20.2/etc/DOC-20.2.[13-9]*
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/emacs
.if (${OPSYS} != "NetBSD")
if [ ! -f ${PREFIX}/info/dir ]; then \
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
fi
.endif
.for info in emacs vip viper forms gnus mh-e cl sc dired-x ediff ccmode message
install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir
.endfor
.include "../../mk/bsd.pkg.mk"
|