aboutsummaryrefslogtreecommitdiff
path: root/japanese/mhonarc/Makefile
blob: 1afe1f60437ee3abe9f1d7f9866dc5268c01e003 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:	MHonArc
# Date created:			17 March 1999
# Whom:				Seiichirou Hiraoka
#
# $FreeBSD$
#

PORTNAME=	mhonarc
PORTVERSION=	2.3.3
CATEGORIES=	japanese www
MASTER_SITES=	http://www.oac.uci.edu/indiv/ehood/tar/ \
		ftp://hhobel.phl.univie.ac.at/MHonArc/ \
		ftp://contrib.redhat.com/noarch/ \
		ftp://ftp.plig.org/pub/CPAN/authors/id/EHOOD/ \
		http://www.perl.com/CPAN/authors/id/EHOOD/ \
		http://www.shiratori.riec.tohoku.ac.jp/~p-katoh/Hack/Docs/mhonarc-jp/ \
		http://people.FreeBSD.org/~flathill/distfiles/
DISTNAME=	MHonArc${PORTVERSION}
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
		iso2022.pl
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}

MAINTAINER=	flathill@FreeBSD.org

Y2K=		http://www.oac.uci.edu/indiv/ehood/MHonArc/doc/faq/general.html#y2k

USE_PERL5=	Yes
NO_BUILD=	Yes

.include <bsd.port.pre.mk>

pre-install:
	${CP} ${DISTDIR}/iso2022.pl ${WRKSRC}/lib/

do-install:
	cd ${WRKSRC} && ${PERL5} install.me -prefix ${PREFIX} -batch
	${MKDIR} ${PREFIX}/share/examples/MHonArc
	${INSTALL_DATA} ${FILESDIR}/mhonarc.rc.sample ${PREFIX}/share/examples/MHonArc/

post-install:
	${CAT} ${PKGDIR}/MESSAGE

.include <bsd.port.post.mk>