Makefile 819 B

12345678910111213141516171819202122232425262728293031323334
  1. # $OpenBSD: Makefile,v 1.29 2015/01/13 11:26:10 sthen Exp $
  2. COMMENT= sendmail milter plugin for regular expression filtering
  3. DISTNAME= milter-regex-1.9
  4. REVISION= 2
  5. CATEGORIES= mail
  6. MASTER_SITES= http://www.benzedrine.ch/
  7. HOMEPAGE= http://www.benzedrine.ch/milter-regex.html
  8. MAINTAINER= Daniel Hartmeier <dhartmei@openbsd.org>
  9. # BSD
  10. PERMIT_PACKAGE_CDROM= Yes
  11. WANTLIB= c pthread milter
  12. LIB_DEPENDS= mail/sendmail,-libmilter
  13. MAKE_FLAGS= CPPFLAGS="-I${LOCALBASE}/include" \
  14. CFLAGS="-Wall -Wstrict-prototypes ${CFLAGS}" \
  15. LDFLAGS="-L${LOCALBASE}/lib"
  16. NO_TEST= Yes
  17. do-configure:
  18. @perl -pi -e 's,/etc/mi,${SYSCONFDIR}/mi,g' ${WRKSRC}/milter-regex.{8,c}
  19. do-install:
  20. ${INSTALL_PROGRAM} ${WRKSRC}/milter-regex ${PREFIX}/libexec
  21. ${INSTALL_MAN} ${WRKSRC}/milter-regex.8 ${PREFIX}/man/man8
  22. .include <bsd.port.mk>