pkgsrc/inputmethod/tc/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

27 lines
665 B
Makefile

# $NetBSD: Makefile,v 1.14 2008/10/11 09:31:57 uebayasi Exp $
#
DISTNAME= tc-2.3.1
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
PKGREVISION= 2
CATEGORIES= japanese inputmethod
MASTER_SITES= http://openlab.ring.gr.jp/tcode/resources/soft/
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
HOMEPAGE= http://openlab.ring.gr.jp/tcode/tc2/index.html
COMMENT= T-Code driver for Emacs
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../editors/emacs/modules.mk"
.if ${EMACS_FLAVOR} == "xemacs"
CONFIGURE_ARGS+=--with-emacs=xemacs
CONFIGURE_ARGS+=--with-lispdir=${EMACS_LISPPREFIX}/tc
.endif
USE_TOOLS+= gmake
GNU_CONFIGURE= YES
INFO_FILES= # PLIST
.include "../../mk/bsd.pkg.mk"