summaryrefslogtreecommitdiff
path: root/japanese/esecanna-module-vje30/Makefile
blob: 74fa4c88ae859c2ed777447b46bb872858e10eff (plain)
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
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
WWW=		http://esecanna.netfort.gr.jp/

RUN_DEPENDS=	${LOCALBASE}/sbin/esecannaserver: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>