2012-12-04 04:25:38 +00:00
|
|
|
# Created by: Dario Freni <saturnero@gufi.org>
|
2005-05-04 14:42:03 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= proxsmtp
|
2012-12-17 03:30:32 +00:00
|
|
|
PORTVERSION= 1.10
|
2005-05-04 14:42:03 +00:00
|
|
|
CATEGORIES= mail security
|
2012-12-17 03:30:32 +00:00
|
|
|
MASTER_SITES= http://thewalter.net/stef/software/proxsmtp/
|
2005-05-04 14:42:03 +00:00
|
|
|
|
2012-12-04 04:25:38 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2012-12-17 03:30:32 +00:00
|
|
|
COMMENT= Flexible SMTP filter which can act also as transparent proxy
|
|
|
|
|
|
|
|
LICENSE= BSD
|
2005-05-04 14:42:03 +00:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2006-02-16 19:14:24 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2012-08-05 23:19:36 +00:00
|
|
|
USE_RC_SUBR= proxsmtpd
|
2005-05-04 14:42:03 +00:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
|
|
|
MAN5= proxsmtpd.conf.5
|
|
|
|
MAN8= proxsmtpd.8
|
|
|
|
|
2009-09-13 03:35:47 +00:00
|
|
|
PORTDOCS= ChangeLog NEWS README
|
2005-05-04 14:42:03 +00:00
|
|
|
|
2013-09-20 19:59:12 +00:00
|
|
|
NO_STAGE= yes
|
2012-12-17 03:30:32 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
'/^acx_pthread_flags/s|=.*|="${PTHREAD_LIBS}"|' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
|
2005-05-04 14:42:03 +00:00
|
|
|
post-install:
|
2012-12-17 03:30:32 +00:00
|
|
|
(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
|
2005-05-04 14:42:03 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2012-12-17 03:30:32 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2009-09-13 03:35:47 +00:00
|
|
|
.for docs in ${PORTDOCS}
|
2012-12-17 03:30:32 +00:00
|
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${docs} ${DOCSDIR})
|
2009-09-13 03:35:47 +00:00
|
|
|
.endfor
|
2005-05-04 14:42:03 +00:00
|
|
|
.endif
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|