pkgsrc/editors/tamago/Makefile
uebayasi 34004f51e0 Move mk/emacs.mk to editors/emacs/modules.mk.
Don't call pkg_info to get the installed Emacs version; always use the
version matching EMACS_TYPE set by users.  Be DEPENDS to it.  This should
address pkg/37146 by Aleksey Cheusov.

While here convert some emacs lisp packages to user-destdir.
2008-10-11 09:31:54 +00:00

29 lines
785 B
Makefile

# $NetBSD: Makefile,v 1.18 2008/10/11 09:31:56 uebayasi Exp $
DISTNAME= tamago-4.0.6
PKGNAME= ${EMACS_PKGNAME_PREFIX}tamago-20020909
PKGREVISION= 2
CATEGORIES= editors
MASTER_SITES= ftp://www.m17n.org/pub/tamago/
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
HOMEPAGE= http://www.m17n.org/tamago/
COMMENT= CJK characters inputting system for emacs + leim
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
MAKE_FLAGS+= prefix=${DESTDIR:Q}${PREFIX}
# XXX please someone adjust paths and PLIST for XEmacs...
EMACS_VERSIONS_ACCEPTED= emacs22 emacs22nox emacs21 emacs21nox emacs20
EMACS_MODULES+= leim
.include "../../editors/emacs/modules.mk"
PLIST_VARS+= jisx0213
.if ${EMACS_FLAVOR} == "emacs" && ${EMACS_VERSION_MAJOR} >= 21
PLIST.jisx0213= yes
.endif
.include "../../mk/bsd.pkg.mk"