summaryrefslogtreecommitdiff
path: root/japanese/mh/Makefile
blob: 7a5864d9c9784fcdec7a07c9ae91c74b4f701ef1 (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
44
45
46
47
48
49
# New ports collection makefile for:	mh (Japanese)
# Version required:	6.8.4
# Date created:		28 March 1995
# Whom:			Akito FUJITA <fujita@zoo.ncl.omron.co.jp>
#
# $Id: Makefile,v 1.10 1997/12/25 22:29:39 asami Exp $
#

DISTNAME=	mh-6.8.3
PKGNAME=	ja-mh-6.8.4
CATEGORIES=	japanese
MASTER_SITES=	ftp://ftp.ics.uci.edu/pub/mh/tar/
EXTRACT_SUFX=	.tar.Z

PATCH_SITES=	ftp://ftp.ics.uci.edu/pub/mh/updates/ \
		ftp://jaz.jp.freebsd.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/
PATCHFILES=	MH.6.8.4.Z \
		mh-6.8.4-JP-3.00.patch.gz

MAINTAINER=	sanpei@yy.cs.keio.ac.jp

BUILD_DEPENDS=	jless:${PORTSDIR}/japanese/less
RUN_DEPENDS=	jless:${PORTSDIR}/japanese/less

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-batchmode \
		--enable-apop=${PREFIX}/etc/pop.auth --enable-rpop

MAN1=	ali.1 anno.1 bbc.1 burst.1 comp.1 dist.1 folder.1 forw.1 inc.1 mark.1 \
	mh-chart.1 mh.1 mhl.1 mhmail.1 mhn.1 mhook.1 mhparam.1 mhpath.1 \
	msgchk.1 msh.1 next.1 packf.1 pick.1 prev.1 prompter.1 rcvstore.1 \
	refile.1 repl.1 rmf.1 rmm.1 scan.1 send.1 show.1 slocal.1 sortm.1 \
	vmh.1 whatnow.1 whom.1
MAN5=	mh-alias.5 mh-format.5 mh-mail.5 mh-profile.5 mh-sequence.5 mh-tailor.5
MAN8=	ap.8 conflict.8 dp.8 fmtdump.8 install-mh.8 popauth.8 post.8

do-patch:
	@${GZCAT} ${_DISTDIR}/MH.6.8.4.Z | \
		${PATCH} -d ${WRKSRC} --forward --quiet -p0
	@${GZCAT} ${_DISTDIR}/mh-6.8.4-JP-3.00.patch.gz | \
		${PATCH} -d ${WRKSRC} --forward --quiet -p1

pre-configure:
	@chmod +x ${WRKSRC}/configure

post-install:
	${LDCONFIG} -m ${PREFIX}/lib

.include <bsd.port.mk>