summaryrefslogtreecommitdiffstats
path: root/mail/smtpproxy/Makefile
blob: fa6dbd26b3fc0afd6a8d47ff39121272d9af15fd (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
# New ports collection makefile for:   smtpproxy
# Date created:                15 December 2001
# Whom:                        Kimura Fuyuki <fuyuki@mj.0038.net>
#
# $FreeBSD$
#

PORTNAME=	smtpproxy
PORTVERSION=	1.1.3
CATEGORIES=	mail
MASTER_SITES=	http://www.quietsche-entchen.de/download/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	SMTP proxy server

USE_REINPLACE=	yes
MAKEFILE=	makefile

MAN1=		smtp.proxy.1

post-patch:
	@${REINPLACE_CMD} -e 's,CC =,CC ?=,; s,CFLAGS =,CFLAGS +=,; \
		s,/usr/local/sbin,${PREFIX}/libexec,; s,/usr/local,${PREFIX},' \
		${WRKSRC}/makefile

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for i in README rfc821.txt
	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud