1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/japanese/esecanna/Makefile
Ade Lovett 3f651573ad Whoa there, boy, that's a mighty big commit y'all have there...
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
2004-03-14 06:17:56 +00:00

57 lines
1.3 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= 2
CATEGORIES= japanese
MASTER_SITES= http://esecanna.netfort.gr.jp/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= knu
DISTNAME= ${PORTNAME}_${PORTVERSION}
DIST_SUBDIR= esecanna
MAINTAINER= knu@FreeBSD.org
COMMENT= Pseudo cannaserver which wraps some other input engines
USE_REINPLACE= yes
USE_AUTOCONF_VER= 213
USE_GMAKE= yes
CONFIGURE_ARGS= --with-piddir="${PIDDIR}"
PIDDIR= /var/run/esecanna
STARTER= esecanna.sh
DOCS= CREDITS CHANGES.jp README.First.jp README.jp
PLIST_SUB= STARTER="${STARTER}"
post-extract:
${SED} -e " \
s,!!PREFIX!!,${PREFIX},g; \
s,!!STARTER!!,${STARTER},g; \
" \
${FILESDIR}/esecanna.sh > ${WRKSRC}/${STARTER}
post-patch:
${REINPLACE_CMD} -e " \
s,!!PREFIX!!,${PREFIX},g; \
" \
${WRKSRC}/README.jp \
${WRKSRC}/esecannarc
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/${STARTER} ${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>