Makefile 799 B

12345678910111213141516171819202122232425262728293031323334
  1. # $OpenBSD: Makefile,v 1.9 2015/02/17 20:41:08 naddy Exp $
  2. COMMENT= Sendmail Log Analysis Report
  3. VERSION= 1.4
  4. DISTNAME= sma-${VERSION}
  5. REVISION= 1
  6. CATEGORIES= mail
  7. HOMEPAGE= http://www.klake.org/sma/
  8. # BSD
  9. PERMIT_PACKAGE_CDROM= Yes
  10. WANTLIB= c
  11. MASTER_SITES= http://www.klake.org/sma/dl/
  12. NO_TEST= Yes
  13. ALL_TARGET= sma
  14. pre-patch:
  15. @perl -pi -e 's,./sma.conf,${SYSCONFDIR}/sma.conf,g' \
  16. ${WRKSRC}/docs/sma.8 ${WRKSRC}/conf.h
  17. do-install:
  18. ${INSTALL_PROGRAM} ${WRKSRC}/sma ${PREFIX}/bin/sma
  19. ${INSTALL_MAN} ${WRKSRC}/docs/sma.8 ${PREFIX}/man/man8/sma.8
  20. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sma
  21. ${INSTALL_DATA} ${WRKSRC}/sma.conf ${PREFIX}/share/examples/sma
  22. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sma
  23. ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/sma
  24. .include <bsd.port.mk>