2000-03-07 03:32:54 -05:00
|
|
|
# New ports collection Makefile for: esecanna
|
|
|
|
# Date created: 24 February 2000
|
2000-02-02 12:08:34 -05:00
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-11 10:15:53 -04:00
|
|
|
PORTNAME= esecanna
|
2000-09-16 03:19:21 -04:00
|
|
|
PORTVERSION= 1.0.1
|
2008-01-12 10:34:16 -05:00
|
|
|
PORTREVISION= 4
|
2000-02-02 12:08:34 -05:00
|
|
|
CATEGORIES= japanese
|
2000-03-26 16:22:44 -05:00
|
|
|
MASTER_SITES= http://esecanna.netfort.gr.jp/ \
|
2000-06-28 22:31:42 -04:00
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= knu
|
2000-04-11 10:15:53 -04:00
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
2003-10-25 12:11:00 -04:00
|
|
|
DIST_SUBDIR= esecanna
|
2000-02-02 12:08:34 -05:00
|
|
|
|
2005-11-10 20:18:01 -05:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-18 00:52:56 -05:00
|
|
|
COMMENT= Pseudo cannaserver which wraps some other input engines
|
2000-02-02 12:08:34 -05:00
|
|
|
|
2004-05-10 14:39:05 -04:00
|
|
|
USE_RC_SUBR= yes
|
|
|
|
|
2008-01-12 10:34:16 -05:00
|
|
|
GNU_CONFIGURE= yes
|
2000-03-26 16:22:44 -05:00
|
|
|
USE_GMAKE= yes
|
2003-10-25 12:11:00 -04:00
|
|
|
CONFIGURE_ARGS= --with-piddir="${PIDDIR}"
|
2000-02-02 12:08:34 -05:00
|
|
|
|
2003-10-25 12:11:00 -04:00
|
|
|
PIDDIR= /var/run/esecanna
|
2000-09-16 03:19:21 -04:00
|
|
|
DOCS= CREDITS CHANGES.jp README.First.jp README.jp
|
2000-03-07 03:32:54 -05:00
|
|
|
|
2000-02-02 12:08:34 -05:00
|
|
|
post-extract:
|
2004-05-10 14:39:05 -04:00
|
|
|
${SED} -e 's,%%PREFIX%%,${PREFIX},g' -e 's,%%RC_SUBR%%,${RC_SUBR},g' \
|
|
|
|
${FILESDIR}/esecanna.sh > ${WRKSRC}/esecanna.sh
|
2000-02-02 12:08:34 -05:00
|
|
|
|
2000-03-26 16:22:44 -05:00
|
|
|
post-patch:
|
2002-11-03 19:15:14 -05:00
|
|
|
${REINPLACE_CMD} -e " \
|
2000-03-07 03:32:54 -05:00
|
|
|
s,!!PREFIX!!,${PREFIX},g; \
|
2000-02-21 10:44:52 -05:00
|
|
|
" \
|
2002-11-03 19:15:14 -05:00
|
|
|
${WRKSRC}/README.jp \
|
|
|
|
${WRKSRC}/esecannarc
|
2000-03-07 03:32:54 -05:00
|
|
|
|
|
|
|
post-install:
|
2004-05-10 14:39:05 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/esecanna.sh ${PREFIX}/etc/rc.d/
|
2000-03-26 16:22:44 -05:00
|
|
|
${MKDIR} ${PREFIX}/lib/esecanna
|
2000-02-02 12:08:34 -05:00
|
|
|
.if !defined(NOPORTDOCS)
|
2000-03-07 03:32:54 -05:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/esecanna
|
2000-03-26 16:22:44 -05:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/esecanna/
|
2000-02-02 12:08:34 -05:00
|
|
|
.endif
|
2003-10-25 12:11:00 -04:00
|
|
|
${MKDIR} ${PIDDIR}
|
2000-02-16 20:27:52 -05:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2000-02-03 10:50:05 -05:00
|
|
|
|
2000-03-26 16:22:44 -05:00
|
|
|
.include <bsd.port.mk>
|