freebsd-ports/japanese/esecanna/Makefile

52 lines
1.1 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
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}
MAINTAINER= knu@FreeBSD.org
2000-03-26 16:22:44 -05:00
USE_AUTOCONF= yes
USE_GMAKE= yes
2000-03-26 16:22:44 -05:00
DIST_SUBDIR= esecanna
STARTER= esecanna.sh
DOCS= CREDITS CHANGES.jp README.First.jp README.jp
2000-03-26 16:22:44 -05:00
PLIST_SUB= STARTER="${STARTER}"
post-extract:
2000-03-26 16:22:44 -05:00
${PERL} -pe " \
s,!!PREFIX!!,${PREFIX},g; \
s,!!STARTER!!,${STARTER},g; \
" \
${FILESDIR}/esecanna.sh > ${WRKSRC}/${STARTER}
2000-03-26 16:22:44 -05:00
post-patch:
cd ${WRKSRC} && ${PERL} -i -pe " \
s,!!PREFIX!!,${PREFIX},g; \
" \
README.jp \
esecannarc
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/${STARTER} ${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
@${CAT} ${PKGMESSAGE}
2000-03-26 16:22:44 -05:00
.include <bsd.port.mk>