aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/esecanna/Makefile
blob: 30a22b3c36b41ab660258d5f2624684fcbf1d84e (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
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$

PORTNAME=   esecanna
PORTVERSION=    1.0.1
PORTREVISION=   6
CATEGORIES= japanese
MASTER_SITES=   http://esecanna.netfort.gr.jp/ \
        LOCAL/knu
DISTNAME=   ${PORTNAME}_${PORTVERSION}
DIST_SUBDIR=    esecanna

MAINTAINER= ports@FreeBSD.org
COMMENT=    Pseudo cannaserver which wraps some other input engines

USE_RC_SUBR=    esecanna

GNU_CONFIGURE=  yes
USES=       gmake
CONFIGURE_ARGS= --with-piddir="/var/run/esecanna"

DOCS=       CREDITS CHANGES.jp README.First.jp README.jp

OPTIONS_DEFINE= DOCS

post-patch:
    ${REINPLACE_CMD} -e " \
        s,!!PREFIX!!,${PREFIX},g; \
        " \
        ${WRKSRC}/README.jp \
        ${WRKSRC}/esecannarc

post-install:
    ${MKDIR} ${STAGEDIR}${PREFIX}/lib/esecanna
    ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/esecanna
    cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>