Makefile 953 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # $OpenBSD: Makefile,v 1.8 2016/04/28 17:39:53 sthen Exp $
  2. COMMENT= PF firewall log analysis
  3. DISTNAME= hatchet-0.9.2
  4. REVISION= 2
  5. CATEGORIES= security www
  6. HOMEPAGE= http://www.dixongroup.net/hatchet/
  7. MAINTAINER= Jason Dixon <jdixon@openbsd.org>
  8. # BSD
  9. PERMIT_PACKAGE_CDROM= Yes
  10. MASTER_SITES= ${HOMEPAGE}/downloads/
  11. NO_BUILD= Yes
  12. NO_TEST= Yes
  13. PKG_ARCH= *
  14. PREFIX= ${VARBASE}/www
  15. INSTDIR= ${PREFIX}/hatchet
  16. SUBST_VARS= INSTDIR
  17. RUN_DEPENDS= databases/p5-DBD-Chart \
  18. databases/p5-DBD-SQLite \
  19. databases/p5-DBI \
  20. graphics/p5-GD \
  21. graphics/p5-GD-TextUtil \
  22. www/ap2-mod_perl \
  23. www/p5-HTML-Template
  24. do-configure:
  25. ${SUBST_CMD} ${WRKDIST}/conf/hatchet.conf \
  26. ${WRKDIST}/docs/INSTALL \
  27. ${WRKDIST}/docs/README.OpenBSD \
  28. ${WRKDIST}/sbin/hatchart \
  29. ${WRKDIST}/sbin/hatchet \
  30. ${WRKDIST}/sbin/hatchet_mkdb
  31. do-install:
  32. @find ${WRKDIST} -name \*.bak -or -name \*.orig | xargs rm
  33. @cp -pR ${WRKDIST} ${INSTDIR}
  34. .include <bsd.port.mk>