2011-05-06 04:40:06 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2011/05/06 08:40:06 sthen Exp $
|
2004-12-10 04:37:31 -05:00
|
|
|
|
2007-09-15 20:17:04 -04:00
|
|
|
COMMENT= postfix greylist daemon
|
2004-12-10 04:37:31 -05:00
|
|
|
|
2011-05-06 04:40:06 -04:00
|
|
|
DISTNAME= postgrey-1.34
|
2004-12-10 04:37:31 -05:00
|
|
|
CATEGORIES= mail
|
|
|
|
|
2008-05-21 06:52:40 -04:00
|
|
|
HOMEPAGE= http://postgrey.schweikert.ch/
|
2004-12-10 04:37:31 -05:00
|
|
|
|
2008-03-31 17:26:15 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}/pub/ \
|
|
|
|
${HOMEPAGE}/pub/old/
|
|
|
|
|
2004-12-10 04:37:31 -05:00
|
|
|
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
|
|
|
|
2011-05-06 04:40:06 -04:00
|
|
|
# GPLv2
|
2004-12-10 04:37:31 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
NO_BUILD= Yes
|
2005-10-03 04:02:13 -04:00
|
|
|
NO_REGRESS= Yes
|
2004-12-10 04:37:31 -05:00
|
|
|
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2010-11-19 02:23:05 -05:00
|
|
|
RUN_DEPENDS= devel/p5-Net-Server \
|
|
|
|
devel/p5-IO-Multiplex \
|
|
|
|
databases/p5-BerkeleyDB \
|
|
|
|
net/p5-Net-DNS
|
2004-12-10 04:37:31 -05:00
|
|
|
|
|
|
|
do-install:
|
2011-05-06 04:40:06 -04:00
|
|
|
perl -pi -e 's,/etc/postfix,${SYSCONFDIR}/postfix,g' ${WRKSRC}/postgrey
|
2004-12-10 04:37:31 -05:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/postgrey ${PREFIX}/libexec
|
2008-03-31 17:26:15 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/contrib/postgreyreport ${PREFIX}/sbin
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/postgrey/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/postgrey_whitelist_clients ${PREFIX}/share/examples/postgrey
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/postgrey_whitelist_recipients ${PREFIX}/share/examples/postgrey
|
2006-06-18 04:28:56 -04:00
|
|
|
pod2man ${WRKSRC}/postgrey ${PREFIX}/man/man1/postgrey.1
|
2004-12-10 04:37:31 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|