Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # $OpenBSD: Makefile,v 1.21 2015/07/15 17:38:05 ajacoutot Exp $
  2. COMMENT= postfix greylist daemon
  3. DISTNAME= postgrey-1.35
  4. CATEGORIES= mail
  5. REVISION= 0
  6. HOMEPAGE= http://postgrey.schweikert.ch/
  7. MASTER_SITES= ${HOMEPAGE}/pub/ \
  8. ${HOMEPAGE}/pub/old/
  9. MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
  10. # GPLv2
  11. PERMIT_PACKAGE_CDROM= Yes
  12. NO_BUILD= Yes
  13. NO_TEST= Yes
  14. BUILD_DEPENDS= ${RUN_DEPENDS}
  15. RUN_DEPENDS= devel/p5-Net-Server \
  16. devel/p5-IO-Multiplex \
  17. databases/p5-BerkeleyDB \
  18. net/p5-Net-DNS
  19. do-install:
  20. perl -pi -e 's,/etc/postfix,${SYSCONFDIR}/postfix,g' ${WRKSRC}/postgrey
  21. ${INSTALL_SCRIPT} ${WRKSRC}/postgrey ${PREFIX}/libexec
  22. ${INSTALL_SCRIPT} ${WRKSRC}/contrib/postgreyreport ${PREFIX}/sbin
  23. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/postgrey/
  24. ${INSTALL_DATA} ${WRKSRC}/postgrey_whitelist_clients ${PREFIX}/share/examples/postgrey
  25. ${INSTALL_DATA} ${WRKSRC}/postgrey_whitelist_recipients ${PREFIX}/share/examples/postgrey
  26. pod2man ${WRKSRC}/postgrey ${PREFIX}/man/man1/postgrey.1
  27. .include <bsd.port.mk>