summaryrefslogtreecommitdiff
path: root/inputmethod/tc/Makefile
blob: 9d32e27a247ea5aa93408d814b0a31f8cda5a1ad (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
# $NetBSD: Makefile,v 1.22 2022/05/14 22:25:37 dholland Exp $
#

DISTNAME=	tc-2.3.1
PKGNAME=	${EMACS_PKGNAME_PREFIX}${DISTNAME}
PKGREVISION=	5
CATEGORIES=	japanese inputmethod
MASTER_SITES=	http://openlab.ring.gr.jp/tcode/resources/soft/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://openlab.ring.gr.jp/tcode/tc2/index.html
COMMENT=	T-Code driver for Emacs
LICENSE=	gnu-gpl-v2

MAKE_JOBS_SAFE=			no
SUBST_CLASSES+=			string-to-int
SUBST_STAGE.string-to-int=	pre-configure
SUBST_FILES.string-to-int=	 \
	lisp/eelll.el	\
	lisp/tc-is19.el	\
	lisp/tc-is20.el	\
	lisp/tc-pre-base	\
	lisp/tc-pre-base.in	\
	lisp/tc-pre.el
SUBST_SED.string-to-int=	-e 's/string-to-int/string-to-number/'

.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=	yes

.include "../../mk/bsd.pkg.mk"