aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/skkinput/Makefile
blob: 4665b03271f1f53ac12b09ab02de60b59d3bd1c0 (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
43
44
45
# New ports collection makefile for:    skkinput
# Date created:     28 Jan 1998
# Whom:         Murata Shuuichirou <mrt@mickey.ai.kyutech.ac.jp>
#
# $FreeBSD$
#

PORTNAME=   skkinput
PORTVERSION=    2.06.3
CATEGORIES= japanese x11
MASTER_SITES=   http://downloads.sourceforge.jp/skkinput2/1815/

MAINTAINER= koma2@jiro.c.u-tokyo.ac.jp

USE_IMAKE=  yes

.include <bsd.port.pre.mk>

# sanity check
.if defined(WITH_DBSKKD) && defined(WITH_RSKKSERV)
.error Cannot define both WITH_DBSKKD and WITH_RSKKSERV simultaneously.
.endif

.if defined(WITH_DBSKKD) || exists(${LOCALBASE}/libexec/dbskkd-cdb) && !defined(WITH_RSKKSERV)
RUN_DEPENDS=    ${LOCALBASE}/libexec/dbskkd-cdb:${PORTSDIR}/japanese/dbskkd-cdb
.elif defined(WITH_RSKKSERV) || exists(${LOCALBASE}/libexec/rskkserv) && !defined(WITH_DBSKKD)
RUN_DEPENDS=    ${LOCALBASE}/libexec/rskkserv:${PORTSDIR}/japanese/rskkserv
.else
RUN_DEPENDS=    ${LOCALBASE}/sbin/skkserv:${PORTSDIR}/japanese/skkserv
.endif

MANLANG=    "" ja
MAN1=       skkinput.1
MANCOMPRESSED=  yes

DOCS=       *.jis ChangeLog \
        myeval/skkinputlisp.doc dot.skkinput

.if !defined(NOPORTDOCS)
post-install:
    @${MKDIR} ${DOCSDIR}
    @( cd ${WRKSRC} ; ${INSTALL_DATA} ${DOCS} ${DOCSDIR})
.endif

.include <bsd.port.post.mk>