blob: 06c6679397b97484961f5a95e28ac55482fa24d8 (
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
|
# $NetBSD: Makefile,v 1.50 2003/01/12 11:33:19 tron Exp $
DISTNAME= emacs-20.7
PKGREVISION= 1
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GNU:=emacs/}
PATCH_SITES= http://www.teu.ac.jp/nsit/~yatagawa/comp/emacs/
PATCHFILES= emacs-20.7-mule-4.1.patch
PATCH_DIST_STRIP= -p1
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu.org/software/emacs/emacs.html
COMMENT= GNU editing macros (editor)
CONFLICTS= mule-[0-9]*
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
GNU_ARCH.mipsbe= mips
BUILD_DEFS+= USE_INET6 EMACS_USE_POP EMACS_USE_X EMACS_USE_X_TOOLKIT
.include "../../mk/bsd.prefs.mk"
EMACS_USE_POP?= yes
.if (defined(EMACS_USE_POP) && \
(${EMACS_USE_POP} == yes || ${EMACS_USE_POP} == YES))
CONFIGURE_ARGS+=--with-pop
.endif
.if defined(EMACS_USE_X)
CONFIGURE_ARGS+=--with-x=${EMACS_USE_X}
.endif
.if defined(EMACS_USE_X_TOOLKIT)
CONFIGURE_ARGS+=--with-x-toolkit=${EMACS_USE_X_TOOLKIT}
.endif
.if defined(USE_INET6) && ${USE_INET6} == YES
CONFIGURE_ARGS+=--with-ipv6
.else
CONFIGURE_ARGS+=--without-ipv6
.endif
MAKE_ENV+= INSTALL_STRIP=${_STRIPFLAG_INSTALL}
INFO_FILES= emacs vip viper forms gnus mh-e cl sc dired-x ediff \
ccmode message widget reftex forms
INSTALL_PROGRAM=${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
pre-install:
@${FIND} ${WRKSRC} -type f -name "*.orig" | ${XARGS} ${RM} -f
post-install:
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/emacs
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"
|