1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/japanese/esecanna/Makefile

43 lines
1.2 KiB
Makefile
Raw Normal View History

# New ports collection Makefile for: esecanna for VJE-Delta 3.0
# Version required: 0.1.0
# Date created: 29 January 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
DISTNAME= esecanna-vje30_DR-0.1.0
PKGNAME= ja-esecanna-vje30-0.1.0
CATEGORIES= japanese
MASTER_SITES= http://plaza.harmonix.ne.jp/~redstar/
MAINTAINER= knu@idaemons.org
#RUN_DEPENDS= ${LOCALBASE}/vje30/bin/vjed:${PORTSDIR}/japanese/vje30-trial
DOCDIR= ${PREFIX}/share/doc/esecanna
# Make sure of naming it proper so as to be invoked *after* vje.sh on startup
STARTER= vjeesecannaserver.sh
post-extract:
@perl -pe "s,!!PREFIX!!,${PREFIX},g" ${FILESDIR}/${STARTER} > ${WRKSRC}/${STARTER}
do-configure:
@cd ${WRKSRC} && perl -i -pe "s,/etc/esecannarc,${PREFIX}/etc/esecannarc,g; s,/usr/lib/vje30,${PREFIX}/vje30,g; s,/usr/sbin/vjed,${PREFIX}/vje30/bin/vjed,g;" \
4DEVELOPERS.jp \
esecannarc \
imewrapper.c \
vjewrapper.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/esecannaserver ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/esecannarc ${PREFIX}/etc
${INSTALL_SCRIPT} ${WRKSRC}/${STARTER} ${PREFIX}/etc/rc.d
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/4DEVELOPERS.jp ${WRKSRC}/README.jp ${DOCDIR}
.endif
.include <bsd.port.mk>