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

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

MAINTAINER= ports@FreeBSD.org
COMMENT=    Esecanna module for VJE-Delta 3.0

RUN_DEPENDS=    ${LOCALBASE}/sbin/esecannaserver:${PORTSDIR}/japanese/esecanna

USES=       gmake perl5
GNU_CONFIGURE=  yes
# VJE-Delta 3.0 is installed under /usr/local fixedly
CONFIGURE_ARGS= --with-vjecfgfile="/usr/local/etc/vje30/vje.cfg"

OPTIONS_DEFINE= DOCS

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

post-install:
    @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/esecanna
.for i in README CHANGES
    ${INSTALL_DATA} ${WRKSRC}/${i}.jp \
        ${STAGEDIR}${PREFIX}/share/doc/esecanna/${i}.vje30.jp
.endfor

.include <bsd.port.mk>