aboutsummaryrefslogtreecommitdiffstats
path: root/mail/proxsmtp/Makefile
blob: 32f4a8a51dd088ceda9d295bc233a9a22acc57d9 (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
# New ports collection makefile for:    proxsmtp
# Date created:     2005-05-03
# Whom:         Dario Freni <saturnero@gufi.org>
#
# $FreeBSD$
#

PORTNAME=   proxsmtp
PORTVERSION=    1.5
CATEGORIES= mail security
MASTER_SITES=   http://memberwebs.com/nielsen/software/proxsmtp/

MAINTAINER= saturnero@gufi.org
COMMENT=    A flexible SMTP filter which can act also as transparent proxy

USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+=    PTHREAD_LIBS="${PTHREAD_LIBS}" PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"

USE_RC_SUBR=    proxsmtpd.sh
SUB_FILES=  pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message

MAN5=       proxsmtpd.conf.5
MAN8=       proxsmtpd.8

PORTDOCS=   *

post-install:
    ${INSTALL_DATA} ${WRKSRC}/doc/proxsmtpd.conf ${PREFIX}/etc/proxsmtpd.conf-sample
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>