Makefile 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # $OpenBSD: Makefile,v 1.40 2014/09/17 09:13:12 ajacoutot Exp $
  2. COMMENT= DKIM milter
  3. DISTNAME= dkim-milter-2.8.3
  4. REVISION= 5
  5. CATEGORIES= mail
  6. HOMEPAGE= http://sourceforge.net/projects/dkim-milter/
  7. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dkim-milter/}
  8. MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
  9. # sendmail open source license
  10. PERMIT_PACKAGE_CDROM= Patent
  11. PERMIT_PACKAGE_FTP= Yes
  12. WANTLIB= c crypto milter pthread ssl
  13. LIB_DEPENDS= mail/sendmail,-libmilter
  14. EXAMPLESDIR= share/examples/dkim-milter
  15. post-configure:
  16. @(echo "define(\`confCC', \`${CC}')"; \
  17. echo "define(\`confOPTIMIZE', \`${CFLAGS}')"; \
  18. echo "define(\`confNO_MAN_BUILD')"; \
  19. echo "APPENDDEF(\`confINCDIRS', \`-I${LOCALBASE}/include')"; \
  20. echo "APPENDDEF(\`confLIBDIRS', \`-L${LOCALBASE}/lib ')") \
  21. >${WRKSRC}/devtools/Site/site.config.m4
  22. do-install:
  23. ${INSTALL_PROGRAM} ${WRKSRC}/obj.*/dkim-filter/dkim-filter ${PREFIX}/libexec
  24. ${INSTALL_PROGRAM} ${WRKSRC}/obj.*/dkim-filter/dkim-testkey ${PREFIX}/bin
  25. ${INSTALL_PROGRAM} ${WRKSRC}/obj.*/dkim-filter/dkim-testssp ${PREFIX}/bin
  26. ${INSTALL_SCRIPT} ${WRKSRC}/dkim-filter/dkim-genkey.sh ${PREFIX}/bin/dkim-genkey
  27. ${INSTALL_MAN} ${WRKSRC}/dkim-filter/dkim-filter.conf.5 ${PREFIX}/man/man5
  28. ${INSTALL_MAN} ${WRKSRC}/dkim-filter/dkim-filter.8 ${PREFIX}/man/man8
  29. ${INSTALL_MAN} ${WRKSRC}/dkim-filter/dkim-testkey.8 ${PREFIX}/man/man8
  30. ${INSTALL_MAN} ${WRKSRC}/dkim-filter/dkim-testssp.8 ${PREFIX}/man/man8
  31. ${INSTALL_MAN} ${WRKSRC}/dkim-filter/dkim-genkey.8 ${PREFIX}/man/man8
  32. ${INSTALL_DATA_DIR} ${PREFIX}/${EXAMPLESDIR}
  33. ${INSTALL_DATA} ${WRKSRC}/dkim-filter/dkim-filter.conf.sample ${PREFIX}/${EXAMPLESDIR}
  34. .include <bsd.port.mk>