Annotation of pkgsrc/editors/emacs/Makefile, Revision 1.121
1.121 ! wiz 1: # $NetBSD: Makefile,v 1.120 2009/05/12 08:33:52 hasso Exp $
1.1 hubertf 2:
1.107 jlam 3: PKGNAME?= ${DISTNAME}
4: COMMENT?= GNU editing macros (editor)
5:
1.115 uebayasi 6: DISTNAME= emacs-22.3
1.120 hasso 7: PKGREVISION= 2
1.1 hubertf 8: CATEGORIES= editors
1.107 jlam 9: MASTER_SITES= ${MASTER_SITE_GNU:=emacs/}
1.40 wiz 10:
1.107 jlam 11: MAINTAINER= markd@NetBSD.org
12: HOMEPAGE= http://www.gnu.org/software/emacs/emacs.html
1.121 ! wiz 13: LICENSE= gnu-gpl-v3
1.52 uebayasi 14:
1.107 jlam 15: CONFLICTS+= elisp-manual-[0-9]*
16: CONFLICTS+= emacs-[0-9]*
1.86 markd 17: CONFLICTS+= emacs-nox11-[0-9]*
1.107 jlam 18: CONFLICTS+= mule-[0-9]*
19:
20: PKG_DESTDIR_SUPPORT= user-destdir
21:
1.108 tonnerre 22: USE_TOOLS+= gmake gzip mktemp:run perl:run pkg-config
1.107 jlam 23: GNU_CONFIGURE= yes
24: INFO_FILES= # PLIST
1.78 wiz 25:
1.104 markd 26: .include "options.mk"
1.54 uebayasi 27:
1.107 jlam 28: MAKEFLAGS+= EMACSLOADPATH=${WRKSRC}/lisp
29:
30: CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
31: CONFIGURE_ENV+= GAMEOWN=${GAMEOWN:Q}
32:
33: BUILD_DEFS+= VARBASE
34: BUILD_DEFS+= GAMEDATAMODE
35:
36: # build PATH in the dumped emacs is not a problem
37: CHECK_WRKREF_SKIP+= bin/emacs
38: CHECK_WRKREF_SKIP+= bin/emacs-[0-9]*
39:
40: REPLACE_PERL= lib-src/grep-changelog
41:
42: SUBST_CLASSES+= test_equal
43: SUBST_STAGE.test_equal= pre-configure
44: SUBST_MESSAGE.test_equal= Fixing bashisms in test(1) usage.
45: SUBST_FILES.test_equal= mac/make-package
46: SUBST_SED.test_equal= -e 's/ == / = /g'
47:
48: MAKE_DIRS_PERMS+= ${VARBASE}/games/emacs \
49: ${GAMEOWN:Q} ${GAMEGRP} ${GAMEDIRMODE:Q}
50: CONF_FILES_PERMS+= /dev/null ${VARBASE}/games/emacs/snake-scores \
51: ${GAMEOWN:Q} ${GAMEGRP:Q} ${GAMEDATAMODE:Q}
52: CONF_FILES_PERMS+= /dev/null ${VARBASE}/games/emacs/tetris-scores \
53: ${GAMEOWN:Q} ${GAMEGRP:Q} ${GAMEDATAMODE:Q}
54: SPECIAL_PERMS+= libexec/emacs/${PKGVERSION_NOREV}/${MACHINE_GNU_PLATFORM}/update-game-score ${GAMEOWN:Q} ${GAMEGRP:Q} ${GAMEMODE:Q}
55:
1.119 hasso 56: .if (${OPSYS} == "DragonFly") && exists(/usr/lib/crtn.o)
57: CPPFLAGS+= -DDFLY_CRT_USRLIB
1.107 jlam 58: .endif
59:
60: post-extract:
61: cp ${FILESDIR}/site-init.el ${WRKSRC}/lisp
62: cp ${FILESDIR}/dragonfly.h ${WRKSRC}/src/s
1.120 hasso 63: ${CHMOD} -R go-w ${WRKSRC}
1.107 jlam 64:
65: .include "../../mk/oss.buildlink3.mk"
66: .include "../../mk/termcap.buildlink3.mk"
67:
1.13 agc 68: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>