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

DISTNAME=   skk9.6
PKGNAME=    ja-skk-tools-9.6
CATEGORIES= japanese
MASTER_SITES=   ftp://skk.kuis.kyoto-u.ac.jp/skk/9.6/

MAINTAINER= matusita@jp.freebsd.org

SKK_MASTERDIR=  ${.CURDIR}/../../japanese/skk-jisyo
WRKSRC=     ${SKK_MASTERDIR}/work/skk-9.6
MAKE_ARGS=  SUBDIRS='jisyo-tools'

do-extract:
    @echo "===>  Extracting depends on ${SKK_MASTERDIR}"
    @[ -d ${WRKDIR} ] || ${MKDIR} ${WRKDIR}
    @if [ ! -f ${SKK_MASTERDIR}/work/.extract_done ]; then \
        (cd ${SKK_MASTERDIR}; make extract) ;\
    fi
    @if [ ! -f ${SKK_MASTERDIR}/work/.configure_done ]; then \
        (cd ${SKK_MASTERDIR}; PREFIX=${PREFIX} make configure) ;\
    fi

.include <bsd.port.mk>