freebsd-ports/japanese/esecanna/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

52 lines
1.2 KiB
Makefile

# 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= 3
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= Pseudo cannaserver which wraps some other input engines
USE_RC_SUBR= yes
USE_REINPLACE= yes
USE_AUTOTOOLS= autoconf:213
USE_GMAKE= yes
CONFIGURE_ARGS= --with-piddir="${PIDDIR}"
PIDDIR= /var/run/esecanna
DOCS= CREDITS CHANGES.jp README.First.jp README.jp
post-extract:
${SED} -e 's,%%PREFIX%%,${PREFIX},g' -e 's,%%RC_SUBR%%,${RC_SUBR},g' \
${FILESDIR}/esecanna.sh > ${WRKSRC}/esecanna.sh
post-patch:
${REINPLACE_CMD} -e " \
s,!!PREFIX!!,${PREFIX},g; \
" \
${WRKSRC}/README.jp \
${WRKSRC}/esecannarc
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/esecanna.sh ${PREFIX}/etc/rc.d/
${MKDIR} ${PREFIX}/lib/esecanna
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/esecanna
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/esecanna/
.endif
${MKDIR} ${PIDDIR}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>