aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/ddskk/Makefile
blob: 6d7271aab224e27bcb1710a706adf94235dc00c2 (plain) (blame)
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
# New ports collection makefile for:    skk-elisp
# Date created:     31 Oct 1998
# Whom:         Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
#
# $FreeBSD$
#

PORTNAME=   skk-elisp
PORTVERSION=    9.6
CATEGORIES= japanese elisp
MASTER_SITES=   ftp://skk.kuis.kyoto-u.ac.jp/skk/${PORTVERSION}/
DISTNAME=   skk${PORTVERSION}

MAINTAINER= matusita@jp.freebsd.org

BUILD_DEPENDS=  mule:${.CURDIR}/../../editors/mule \
        /nonexistent:${SKK_MASTERDIR}:configure
RUN_DEPENDS=    ${PREFIX}/share/skk/${SKKJISYO}:${SKK_MASTERDIR}

SKKJISYO_SIZE?= L
SKKJISYO?=  SKK-JISYO.${SKKJISYO_SIZE}
SKK_MASTERDIR=  ${.CURDIR}/../../japanese/skk-jisyo
WRKSRC=     ${WRKDIRPREFIX}${SKK_MASTERDIR}/work/skk-${PORTVERSION}

# we cannot use skk-9.6 on emacs20
EMACS=      mule
ELISPSUBDIR=    share/${EMACS}/site-lisp/skk

MAKE_ARGS=  SUBDIRS='lisp' EMACS=${EMACS} ELISPDIR=${PREFIX}/${ELISPSUBDIR}
PLIST_SUB=  EMACS=${EMACS} ELISPSUBDIR=${ELISPSUBDIR}

# Our makeinfo can't handle files with Japanese characters. :<
#pre-build:
#   (cd ${WRKSRC}/doc; \
#     /usr/bin/makeinfo --no-split skk.texi)

post-install:
    (cd ${WRKSRC}; make SUBDIRS='doc' install)
    (cd ${WRKSRC}; make SUBDIRS='etc' install)
    install-info ${PREFIX}/info/skk.info ${PREFIX}/info/dir

.include <bsd.port.mk>