1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/japanese/esecanna/Makefile

47 lines
1.3 KiB
Makefile
Raw Normal View History

# New ports collection Makefile for: esecanna for VJE-Delta 3.0
# Version required: 0.1.5
# Date created: 29 January 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
DISTNAME= esecanna-vje30_DR-0.1.5
PKGNAME= ja-esecanna-vje30-0.1.5
CATEGORIES= japanese
MASTER_SITES= http://www.idaemons.org/ports/distfiles/ \
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
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>