freebsd-ports/japanese/esecanna/Makefile

52 lines
1.2 KiB
Makefile
Raw Normal View History

# New ports collection Makefile for: esecanna
# Date created: 24 February 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= esecanna
PORTVERSION= 1.0.1
PORTREVISION= 4
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
DISTNAME= ${PORTNAME}_${PORTVERSION}
DIST_SUBDIR= esecanna
MAINTAINER= ports@FreeBSD.org
COMMENT= Pseudo cannaserver which wraps some other input engines
2004-05-10 14:39:05 -04:00
USE_RC_SUBR= yes
GNU_CONFIGURE= yes
2000-03-26 16:22:44 -05:00
USE_GMAKE= yes
CONFIGURE_ARGS= --with-piddir="${PIDDIR}"
PIDDIR= /var/run/esecanna
DOCS= CREDITS CHANGES.jp README.First.jp README.jp
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-03-26 16:22:44 -05:00
post-patch:
${REINPLACE_CMD} -e " \
s,!!PREFIX!!,${PREFIX},g; \
" \
${WRKSRC}/README.jp \
${WRKSRC}/esecannarc
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
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/esecanna
2000-03-26 16:22:44 -05:00
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/esecanna/
.endif
${MKDIR} ${PIDDIR}
@${CAT} ${PKGMESSAGE}
2000-03-26 16:22:44 -05:00
.include <bsd.port.mk>