summaryrefslogtreecommitdiff
path: root/mail/mess822/Makefile
blob: b6ddffb6d068a108be8db49b7985dd8e48ab02c9 (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
PORTNAME=	mess822
PORTVERSION=	0.58
PORTREVISION=	3
CATEGORIES=	mail
MASTER_SITES=	http://cr.yp.to/software/ \
		ftp://ftp.jp.qmail.org/qmail/ \
		ftp://ftp.net.ohio-state.edu/pub/networking/mail/qmail/ \
		ftp://mirror.pipex.net/pub/unix/mail/qmail/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	RFC 822 mail message parsing library and rewriting utilities
WWW=		https://cr.yp.to/mess822.html

USES=		groff qmail:vars

ALL_TARGET=	it
INSTALL_TARGET=	setup check

NO_MTREE=	yes

post-patch:
	@${REINPLACE_CMD} -e "s|.var.qmail|${QMAIL_PREFIX}|" ${WRKSRC}/conf-qmail
	@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
	@${ECHO_CMD} "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld
	@${ECHO_CMD} ${STAGEDIR}${PREFIX} > ${WRKSRC}/conf-home
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/man

.include <bsd.port.mk>