blob: 53a41458c6d18f53340f1d34bdeddaa175ca7c70 (
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
38
39
40
41
42
43
44
45
|
# Created by: Dario Freni <saturnero@gufi.org>
# $FreeBSD$
PORTNAME= proxsmtp
PORTVERSION= 1.10
CATEGORIES= mail security
MASTER_SITES= http://thewalter.net/stef/software/proxsmtp/
MAINTAINER= ports@FreeBSD.org
COMMENT= Flexible SMTP filter which can act also as transparent proxy
LICENSE= BSD
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_RC_SUBR= proxsmtpd
SUB_FILES= pkg-message
MAN5= proxsmtpd.conf.5
MAN8= proxsmtpd.8
PORTDOCS= ChangeLog NEWS README
post-patch:
@${REINPLACE_CMD} -e \
'/^acx_pthread_flags/s|=.*|="${PTHREAD_LIBS}"|' \
${WRKSRC}/configure
post-install:
(cd ${WRKSRC}/doc && ${INSTALL_DATA} proxsmtpd.conf \
${PREFIX}/etc/proxsmtpd.conf-sample)
.if !exists(${PREFIX}/etc/proxsmtpd.conf)
(cd ${PREFIX}/etc && ${CP} -p proxsmtpd.conf-sample \
${PREFIX}/etc/proxsmtpd.conf)
.endif
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for docs in ${PORTDOCS}
(cd ${WRKSRC} && ${INSTALL_DATA} ${docs} ${DOCSDIR})
.endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|