View | Details | Raw Unified | Return to bug 178400 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-6 / +7 lines)
Lines 1-9 Link Here
1
# New ports collection makefile for:    postgrey
1
# Created by: Will Andrews <will@FreeBSD.org>
2
# Date created:				24 August 2004
3
# Whom:					Will Andrews <will@FreeBSD.org>
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
3
8
PORTNAME=	postgrey
4
PORTNAME=	postgrey
9
PORTVERSION=	1.34
5
PORTVERSION=	1.34
Lines 41-46 Link Here
41
GROUPS=		${PGY_GROUPNAME}
37
GROUPS=		${PGY_GROUPNAME}
42
MAN1=		${PORTNAME}.1 policy-test.1 postgreyreport.1
38
MAN1=		${PORTNAME}.1 policy-test.1 postgreyreport.1
43
39
40
USES=		shebangfix
41
SHEBANG_FILES=	${WRKSRC}/postgrey
42
43
.include <bsd.port.options.mk>
44
44
post-patch:
45
post-patch:
45
	@${REINPLACE_CMD} -e 's#/etc/main.cf#/etc/postfix/main.cf#' ${WRKSRC}/postgrey
46
	@${REINPLACE_CMD} -e 's#/etc/main.cf#/etc/postfix/main.cf#' ${WRKSRC}/postgrey
46
	@${REINPLACE_CMD} -e 's#/etc/postfix#${PREFIX}&#' ${WRKSRC}/postgrey ${WRKSRC}/postgrey_whitelist_*
47
	@${REINPLACE_CMD} -e 's#/etc/postfix#${PREFIX}&#' ${WRKSRC}/postgrey ${WRKSRC}/postgrey_whitelist_*
Lines 61-67 Link Here
61
	${INSTALL_DATA} ${WRKSRC}/postgrey_${i} ${PREFIX}/etc/postfix/dist-postgrey_${i}
62
	${INSTALL_DATA} ${WRKSRC}/postgrey_${i} ${PREFIX}/etc/postfix/dist-postgrey_${i}
62
.endfor
63
.endfor
63
64
64
.if !defined(NOPORTDOCS)
65
.if ${PORT_OPTIONS:MDOCS}
65
	@${INSTALL} -d ${DOCSDIR}
66
	@${INSTALL} -d ${DOCSDIR}
66
	@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
67
	@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
67
.endif
68
.endif
(-)pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
Postgrey is a program which implements greylisting and is
1
Postgrey is a program which implements greylisting and is
2
designed to work with the Postfix MTA.
2
designed to work with the Postfix MTA.
3
3
4
WWW:  http://postgrey.schweikert.ch/
4
WWW: http://postgrey.schweikert.ch/

Return to bug 178400