Makefile 976 B

1234567891011121314151617181920212223242526272829303132333435
  1. # $OpenBSD: Makefile,v 1.6 2015/04/27 18:30:46 rpe Exp $
  2. COMMENT= mail anomalies in the system logfiles to the administrator
  3. V= 1.3.17
  4. DISTNAME= logcheck_${V}
  5. PKGNAME= logtail-${V}
  6. EXTRACT_SUFX= .tar.xz
  7. CATEGORIES= sysutils
  8. MAINTAINER= William Yodlowsky <william@openbsd.org>
  9. # GPLv2
  10. PERMIT_PACKAGE_CDROM= Yes
  11. MASTER_SITES= http://ftp.de.debian.org/debian/pool/main/l/logcheck/
  12. WRKDIST= ${WRKDIR}/${DISTNAME:S/_/-/}
  13. NO_BUILD= Yes
  14. DTR= 10-savelog 20-logrotate 30-logrotate-dateext
  15. do-install:
  16. ${INSTALL_SCRIPT} ${WRKSRC}/src/logtail ${PREFIX}/bin/logtail
  17. ${SUBST_PROGRAM} ${WRKSRC}/src/logtail2 ${PREFIX}/bin/logtail2
  18. ${INSTALL_DATA_DIR} ${PREFIX}/share/logtail/detectrotate
  19. .for i in ${DTR}
  20. ${INSTALL_SCRIPT} ${WRKSRC}/src/detectrotate/${i}.dtr \
  21. ${PREFIX}/share/logtail/detectrotate
  22. .endfor
  23. ${INSTALL_DATA} ${WRKSRC}/docs/logtail.8 ${PREFIX}/man/man8/logtail.8
  24. ${INSTALL_DATA} ${WRKSRC}/docs/logtail2.8 ${PREFIX}/man/man8/logtail2.8
  25. .include <bsd.port.mk>