blob: 540115725224a77b2d22836885c191f364204290 (
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
50
51
52
|
# Created by: Akito FUJITA <fujita@zoo.ncl.omron.co.jp>
# $FreeBSD$
PORTNAME= mh
PORTVERSION= ${VERSION}.j${JP_VERSION}
PORTREVISION= 2
CATEGORIES= japanese mail
MASTER_SITES= ftp://ftp.laic.u-hyogo.ac.jp/pub/net/mh/ \
http://mirror.amdmi3.ru/distfiles/
DISTNAME= ${PORTNAME}-${VERSION}-JP-${JP_VERSION}
MAINTAINER= CQG00620@nifty.ne.jp
COMMENT= Rand MH mail handling system + Japanese patches
BUILD_DEPENDS= jless:${PORTSDIR}/japanese/less
RUN_DEPENDS= jless:${PORTSDIR}/japanese/less
VERSION= 6.8.4
JP_VERSION= 3.05
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-batchmode \
--enable-apop=${PREFIX}/etc/pop.auth \
--enable-jmandir=${MANPREFIX}/man/ja
MAKE_JOBS_UNSAFE= yes
CFLAGS+= -Wno-return-type
USE_LDCONFIG= yes
PORTDOCS= 00.READ.ME.1ST CHANGES.JP COMMANDS.JP FAQ.JP FEATURES.JP \
INSTALL.JP OPTIONS.JP READ-ME.JP TODO.JP
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
CONFLICTS= nmh-[0-9]*
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e "s/-O /${CFLAGS} /g" ${WRKSRC}/configure
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmh.so.3
.for i in ap conflict dp fmtdump install-mh mhl post rcvdist rcvpack rcvstore rcvtty slocal spost
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mh/${i}
.endfor
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc-JP && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
|