60f2ecb476
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/knu/
51 lines
1.1 KiB
Makefile
51 lines
1.1 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= 0.99.1
|
|
CATEGORIES= japanese
|
|
MASTER_SITES= http://esecanna.netfort.gr.jp/ \
|
|
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/knu/
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
USE_AUTOCONF= yes
|
|
USE_GMAKE= yes
|
|
|
|
DIST_SUBDIR= esecanna
|
|
|
|
STARTER= esecanna.sh
|
|
DOCS= CHANGES.jp README.First.jp README.jp
|
|
|
|
PLIST_SUB= STARTER="${STARTER}"
|
|
|
|
post-extract:
|
|
${PERL} -pe " \
|
|
s,!!PREFIX!!,${PREFIX},g; \
|
|
s,!!STARTER!!,${STARTER},g; \
|
|
" \
|
|
${FILESDIR}/esecanna.sh > ${WRKSRC}/${STARTER}
|
|
|
|
post-patch:
|
|
cd ${WRKSRC} && ${PERL} -i -pe " \
|
|
s,!!PREFIX!!,${PREFIX},g; \
|
|
" \
|
|
README.jp \
|
|
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
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|