Annotation of pkgsrc/editors/emacs20/Makefile, Revision 1.4
1.4 ! jschauma 1: # $NetBSD: Makefile,v 1.3 2003/04/24 15:00:16 jmc Exp $
1.1 uebayasi 2:
3: DISTNAME= emacs-20.7
4: PKGREVISION= 2
5: CATEGORIES= editors
6: MASTER_SITES= ${MASTER_SITE_GNU:=emacs/} \
7: ${MASTER_SITE_LOCAL}
8: DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
9: ${DISTNAME}-mule-4.1b-elc${EXTRACT_SUFX}
10:
11: # Mule enhancement (back port) patch by Satoshi Yatagawa
12: PATCH_SITES= http://www.teu.ac.jp/nsit/~yatagawa/comp/emacs/
13: PATCHFILES= emacs-20.7-mule-4.1b.patch
14: # XIM fix patch by Seiichiro Inoue
15: PATCH_SITES+= http://home.catv.ne.jp/pp/ginoue/software/emacs-xim/
16: PATCHFILES+= emacs20-xim-20000713.diff
17: PATCH_DIST_STRIP= -p1
18:
1.4 ! jschauma 19: MAINTAINER= tech-pkg@netbsd.org
1.1 uebayasi 20: HOMEPAGE= http://www.gnu.org/software/emacs/emacs.html
21: COMMENT= GNU editing macros (editor)
22:
23: CONFLICTS= mule-[0-9]*
24:
25: USE_BUILDLINK2= yes
26: GNU_CONFIGURE= yes
27: USE_GMAKE= yes
28: USE_LIBTOOL= yes
29: GNU_ARCH.mipsbe= mips
30:
1.2 uebayasi 31: BUILD_DEFS+= USE_INET6 EMACS_USE_POP
1.1 uebayasi 32:
33: .include "../../mk/bsd.prefs.mk"
34:
35: EMACS_USE_POP?= yes
36: .if (defined(EMACS_USE_POP) && \
37: (${EMACS_USE_POP} == yes || ${EMACS_USE_POP} == YES))
38: CONFIGURE_ARGS+=--with-pop
39: .endif
1.2 uebayasi 40:
41: .if defined(EMACS_USE_X)
42: BUILD_DEFS+= EMACS_USE_X EMACS_USE_X_TOOLKIT
43: USE_X11= yes
44: CONFIGURE_ARGS+= --with-x=yes
1.1 uebayasi 45: .if defined(EMACS_USE_X_TOOLKIT)
1.2 uebayasi 46: CONFIGURE_ARGS+= --with-x-toolkit=${EMACS_USE_X_TOOLKIT}
47: .if ${EMACS_USE_X_TOOLKIT} == "lucid" || ${EMACS_USE_X_TOOLKIT} == "athena"
48: .include "../../mk/xaw.buildlink2.mk"
49: .elif ${EMACS_USE_X_TOOLKIT} == "motif"
50: .include "../../mk/motif.buildlink2.mk"
1.1 uebayasi 51: .endif
1.2 uebayasi 52: .endif
1.3 jmc 53: .else
54: CONFIGURE_ARGS+= --with-x=no
1.2 uebayasi 55: .endif # EMACS_USE_X
56:
1.1 uebayasi 57: .if defined(USE_INET6) && ${USE_INET6} == YES
58: CONFIGURE_ARGS+=--with-ipv6
59: .else
60: CONFIGURE_ARGS+=--without-ipv6
61: .endif
62: MAKE_ENV+= INSTALL_STRIP=${_STRIPFLAG_INSTALL}
63: INFO_FILES= emacs vip viper forms gnus mh-e cl sc dired-x ediff \
64: ccmode message widget reftex forms
65:
66: INSTALL_PROGRAM=${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
67:
68: pre-install:
69: @${FIND} ${WRKSRC} -type f -name "*.orig" | ${XARGS} ${RM} -f
70:
71: post-install:
72: ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/emacs
73:
74: .include "../../mk/texinfo.mk"
75: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>