blob: c144067ff7817bab6416831df7d40c2267b94cf9 (
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
|
# Created by: Issei Suzuki <issei@jp.FreeBSD.org>
# $FreeBSD$
PORTNAME= mailx
PORTVERSION= 0.5
PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_PORTS_JP}
DISTFILES= mail-2.2.8.tar.gz mailx-memo-2.2.8R
PATCH_SITES= ${MASTER_SITE_PORTS_JP}
PATCHFILES= mailx.v05.patch.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= ports@FreeBSD.org
COMMENT= Mail command with mailx extensions
CONFLICTS= heirloom-mailx-[0-9]*
EXTRACT_ONLY= mail-2.2.8.tar.gz
WRKSRC= ${WRKDIR}/mail-2.2.8
USES= perl5
USE_PERL5= run build patch
MAN1= mailx.1
MANCOMPRESSED= yes
NO_STAGE= yes
post-patch:
${PERL5} -pi.bak -e 's/^(\.Nm mail)/$$1x/i; s/^(\.Dt MAIL)/$$1X/' ${WRKSRC}/mail.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mail ${PREFIX}/bin/mailx
${INSTALL_MAN} ${WRKSRC}/mail.1.gz ${PREFIX}/man/man1/mailx.1.gz
${MKDIR} ${PREFIX}/share/doc/mailx
${INSTALL_DATA} ${DISTDIR}/mailx-memo-2.2.8R ${PREFIX}/share/doc/mailx
.include <bsd.port.mk>
|