aboutsummaryrefslogtreecommitdiffstats
path: root/mail/smtpproxy/Makefile
blob: 4dee74a3e2fd8396ee35937e27e20217957a89c0 (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
# 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

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>