blob: fd459dbca2b421af30c3457632138eb1831f6dc7 (
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
39
40
41
42
43
44
45
46
|
# $NetBSD: Makefile,v 1.5 2004/11/02 00:41:30 uebayasi Exp $
#
DISTNAME= ddskk-12.2.0
PKGNAME= skk-12.2.0
CATEGORIES= japanese inputmethod
MASTER_SITES= http://openlab.ring.gr.jp/skk/maintrunk/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
HOMEPAGE= http://openlab.ring.gr.jp/skk/index.html
COMMENT= Japanese input methods for Emacs
CONFLICTS= ddskk-*
EMACS_VERSIONS_ACCEPTED= emacs21 emacs21nox xemacs214 emacs20 xemacs215
.include "../../mk/emacs.mk"
DEPENDS= ${PKGNAME_PREFIX}apel>=10.6:../../devel/apel
.if ${EMACS_FLAVOR} == "emacs"
BUILD_DEPENDS+= ${PKGNAME_PREFIX}lookup-*:../../misc/lookup
EMACS_USE_LEIM= # defined
BUILD_DEPENDS+= Mule-UCS-*:../../editors/mule-ucs
.else # xemacs
PKGNAME= xemacs-skk-12.2.0 # XXX
BUILD_DEPENDS+= xemacs-packages>=1.10:../../editors/xemacs-packages
.endif
MAKEFLAGS= EMACS=${EMACS_BIN}
ALL_TARGET= elc
INFO_FILES= skk.info
# SKK-CFG was copied from ${FILESDIR} during post-extract.
SUBST_CLASSES= cfg
SUBST_STAGE.cfg= do-configure
SUBST_FILES.cfg= SKK-CFG
SUBST_SED.cfg= -e 's|@PREFIX@|${PREFIX}|g' \
-e 's|@EMACS_LISPPREFIX@|${EMACS_LISPPREFIX}|g'
# Substitute directory definitions during do-configure.
post-extract:
@${MV} ${WRKSRC}/SKK-CFG ${WRKSRC}/SKK-CFG.orig
@${CP} ${FILESDIR}/SKK-CFG ${WRKSRC}
.include "../../mk/bsd.pkg.mk"
|