Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # $OpenBSD: Makefile,v 1.37 2016/09/12 11:45:57 naddy Exp $
  2. COMMENT-main= packet filter statistics visualization
  3. COMMENT-daemon= pfstat daemon
  4. DISTNAME= pfstat-2.5
  5. PKGNAME-main= ${DISTNAME}
  6. PKGNAME-daemon= ${DISTNAME:S/-/d-/}
  7. CATEGORIES= net
  8. MASTER_SITES= http://www.benzedrine.ch/
  9. REVISION-daemon=1
  10. REVISION-main= 1
  11. HOMEPAGE= http://www.benzedrine.ch/pfstat.html
  12. MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
  13. # BSD
  14. PERMIT_PACKAGE_CDROM= Yes
  15. BUILD_DEPENDS= graphics/gd
  16. MULTI_PACKAGES= -main -daemon
  17. WANTLIB-main= c iconv m z jpeg png pthread gd>=20
  18. LIB_DEPENDS-main= converters/libiconv graphics/gd
  19. WANTLIB-daemon= c
  20. LIB_DEPENDS-daemon=
  21. RUN_DEPENDS-daemon=
  22. NO_TEST= Yes
  23. pre-configure:
  24. @perl -pi -e "s,/etc,${SYSCONFDIR}," ${WRKSRC}/pfstat.c \
  25. ${WRKSRC}/pfstat.8
  26. do-install:
  27. ${INSTALL_PROGRAM} ${WRKSRC}/pfstat ${PREFIX}/bin
  28. ${INSTALL_MAN} ${WRKSRC}/pfstat.8 ${PREFIX}/man/man8
  29. ${INSTALL_PROGRAM} ${WRKSRC}/pfstatd/pfstatd ${PREFIX}/bin
  30. ${INSTALL_MAN} ${WRKSRC}/pfstatd/pfstatd.8 ${PREFIX}/man/man8
  31. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/pfstat
  32. ${INSTALL_DATA} ${WRKSRC}/pfstat.conf.example \
  33. ${PREFIX}/share/examples/pfstat/pfstat.conf
  34. .include <bsd.port.mk>