aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/skk-jisyo/Makefile
blob: ffc83d511942a1dd44ead3eeda6044d028485112 (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
# New ports collection makefile for:    skk-jisyo
# Version required: 9.6
# Date created:     31 Oct 1998
# Whom:         Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
#
# $FreeBSD$
#

DISTNAME=   skk9.6
PKGNAME=    ja-skk-jisyo${SKKJISYO_SIZE}-9.6
CATEGORIES= japanese
MASTER_SITES=   ftp://skk.kuis.kyoto-u.ac.jp/skk/9.6/

MAINTAINER= matusita@jp.freebsd.org

.if !defined(SKKJISYO_SIZE)
SKKJISYO_SIZE=  L
.else
.if ${SKKJISYO_SIZE} != L && ${SKKJISYO_SIZE} != M && ${SKKJISYO_SIZE} != S
SKKJISYO_SIZE_INVALID=  yes
.endif
.endif
SKKJISYO?=  SKK-JISYO.${SKKJISYO_SIZE}

WRKSRC=     ${WRKDIR}/skk-9.6
GNU_CONFIGURE=  yes
NO_BUILD=   yes
INSTALL_TARGET= install-jisyo
MAKE_ARGS=  JISYO=${SKKJISYO}
PLIST_SUB=  JISYONAME=${SKKJISYO}

pre-fetch:
.if defined(SKKJISYO_SIZE_INVALID)
    @${ECHO_MSG} "Error: invalid SKKJISYO_SIZE: ${SKKJISYO_SIZE}"
    @${ECHO_MSG} "SKKJISYO_SIZE should be L, M, or S."
    @${FALSE}
.endif

.include <bsd.port.mk>