37 lines
1023 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.20 2014/08/19 13:54:56 giovanni Exp $
2004-12-10 09:37:31 +00:00
COMMENT= postfix greylist daemon
2004-12-10 09:37:31 +00:00
DISTNAME= postgrey-1.35
2004-12-10 09:37:31 +00:00
CATEGORIES= mail
HOMEPAGE= http://postgrey.schweikert.ch/
2004-12-10 09:37:31 +00:00
MASTER_SITES= ${HOMEPAGE}/pub/ \
${HOMEPAGE}/pub/old/
2004-12-10 09:37:31 +00:00
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
# GPLv2
2004-12-10 09:37:31 +00:00
PERMIT_PACKAGE_CDROM= Yes
NO_BUILD= Yes
2013-03-11 11:20:26 +00:00
NO_TEST= Yes
2004-12-10 09:37:31 +00:00
BUILD_DEPENDS= ${RUN_DEPENDS}
2010-11-19 07:23:05 +00:00
RUN_DEPENDS= devel/p5-Net-Server \
devel/p5-IO-Multiplex \
databases/p5-BerkeleyDB \
net/p5-Net-DNS
2004-12-10 09:37:31 +00:00
do-install:
perl -pi -e 's,/etc/postfix,${SYSCONFDIR}/postfix,g' ${WRKSRC}/postgrey
2004-12-10 09:37:31 +00:00
${INSTALL_SCRIPT} ${WRKSRC}/postgrey ${PREFIX}/libexec
${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
pod2man ${WRKSRC}/postgrey ${PREFIX}/man/man1/postgrey.1
2004-12-10 09:37:31 +00:00
.include <bsd.port.mk>