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

Collapse All | Expand All

(-)Makefile (-4 / +4 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	postgrey
8
PORTNAME=	postgrey
9
PORTVERSION=	1.33
9
PORTVERSION=	1.33
10
PORTREVISION=	1
10
CATEGORIES=	mail
11
CATEGORIES=	mail
11
MASTER_SITES=	http://postgrey.schweikert.ch/pub/ \
12
MASTER_SITES=	http://postgrey.schweikert.ch/pub/ \
12
		http://postgrey.schweikert.ch/pub/old/
13
		http://postgrey.schweikert.ch/pub/old/
Lines 21-27 Link Here
21
		${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS
22
		${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS
22
23
23
USE_PERL5_RUN=	yes
24
USE_PERL5_RUN=	yes
24
USE_RC_SUBR=	postgrey
25
USE_RC_SUBR=	${PORTNAME}
25
NO_BUILD=	yes
26
NO_BUILD=	yes
26
POD2MAN?=	pod2man
27
POD2MAN?=	pod2man
27
PORTDOCS=	README Changes README.exim
28
PORTDOCS=	README Changes README.exim
Lines 38-46 Link Here
38
MAN1=		${PORTNAME}.1 policy-test.1 postgreyreport.1
39
MAN1=		${PORTNAME}.1 policy-test.1 postgreyreport.1
39
40
40
post-patch:
41
post-patch:
41
	@${REINPLACE_CMD} -e "s#/etc/#${PREFIX}/etc/#" ${WRKSRC}/postgrey
42
	@${REINPLACE_CMD} -e 's#/etc/postfix#${PREFIX}&#' ${WRKSRC}/postgrey ${WRKSRC}/postgrey_whitelist_*
42
	@${REINPLACE_CMD} -e '/^my.*DEFAULT_DBDIR/s|/var/spool/postfix/postgrey|${PGY_DIR}|' \
43
	@${REINPLACE_CMD} -e 's#/var/spool/postfix/postgrey#${PGY_DIR}#' ${WRKSRC}/postgrey ${WRKSRC}/contrib/postgreyreport
43
	${WRKSRC}/postgrey
44
44
45
pre-install:
45
pre-install:
46
	@${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
46
	@${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL

Return to bug 151797