freebsd-ports/japanese/esecanna-module-vje30/Makefile
Pawel Pekala 7d5ff8e8bb - Add staging support
- Convert to USES=gmake, define DOCS option
2014-05-09 12:35:32 +00:00

36 lines
936 B
Makefile

# 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/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= 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>