summaryrefslogtreecommitdiff
path: root/mail/ja-mh/Makefile
blob: 2992ca10e678d373478e1f78140406e527ab7409 (plain)
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
# $NetBSD: Makefile,v 1.12 2009/12/25 13:55:12 taca Exp $

DISTNAME=	mh-6.8.4-JP-3.05
PKGNAME=	ja-mh6-3.05
PKGREVISION=	1
CATEGORIES=	japanese mail
MASTER_SITES=	ftp://ftp.chem.eng.himeji-tech.ac.jp/pub/net/mh/

PATCH_SITES=	ftp://ftp.chem.eng.himeji-tech.ac.jp/pub/net/mh/mh-6.8.4-JP-3.05-patch/
PATCHFILES=	mh-6.8.4-JP-3.05-20030114.patch.gz \
		mh-6.8.4-JP-3.05-20030326.patch.gz \
		mh-6.8.4-JP-3.05-20031023.patch.gz \
		mh-6.8.4-JP-3.05-20031106.patch.gz

MAINTAINER=	tech-pkg-ja@jp.NetBSD.org
HOMEPAGE=	http://media.laic.u-hyogo.ac.jp/%7Ehayashi/internet/mh-plus.html
COMMENT=	Rand MH mail handling system + Japanese patches

DEPENDS+=	ja-less>=332:../../misc/ja-less

CONFLICTS=	nmh-[0-9]* ja-mh-*_JP_*

PKG_DESTDIR_SUPPORT=	destdir

.include "../../mk/bsd.prefs.mk"

MAKE_JOBS_SAFE=	NO
MANCOMPRESSED=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=	--enable-batchmode
CONFIGURE_ARGS+=	--libexecdir=${PREFIX:Q}/libexec/mh
CONFIGURE_ARGS+=	--enable-jmandir=${PREFIX:Q}/${PKGMANDIR:Q}/ja_JP.EUC
CONFIGURE_ARGS+=	--enable-apop=${PREFIX:Q}/etc/pop.auth
CONFIGURE_ARGS+=	--enable-rpop

INSTALLATION_DIRS=	bin lib

post-install:
	${LN} -sf libmh.so.3.2 ${DESTDIR}${PREFIX}/lib/libmh.so.3

.include "../../mk/bsd.pkg.mk"