Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # $OpenBSD: Makefile,v 1.2 2016/08/20 16:41:47 ajacoutot Exp $
  2. COMMENT = lightweight network monitoring tool
  3. DISTNAME = sysmon-0.93
  4. CATEGORIES = sysutils
  5. HOMEPAGE = http://puck.nether.net/sysmon/
  6. MAINTAINER = George Rosamond <george@nycbug.org>
  7. REVISION = 0
  8. # GPLv2
  9. PERMIT_PACKAGE_CDROM = Yes
  10. WANTLIB += c crypto curses ncurses pthread ssl
  11. MASTER_SITES = ftp://puck.nether.net/pub/jared/ \
  12. http://mirrors.nycbug.org/pub/distfiles/
  13. CONFIGURE_STYLE = gnu
  14. CONFIGURE_ENV = ac_cv_header_net_snmp_version_h=no
  15. CONFIGURE_ARGS = --enable-ipv6
  16. USE_GMAKE = Yes
  17. NO_TEST = Yes
  18. DOCDIR = ${PREFIX}/share/doc/sysmon/
  19. DOCS = {README,*.html,*.jpg,*.png,*.txt}
  20. EXAMPLEDIR = ${PREFIX}/share/examples/sysmon/
  21. MANDIR = ${PREFIX}/man
  22. do-install:
  23. ${INSTALL_PROGRAM} ${WRKSRC}/src/{sysmon,sysmond} ${PREFIX}/bin
  24. ${INSTALL_DATA_DIR} ${DOCDIR} ${EXAMPLEDIR}
  25. ${INSTALL_DATA} ${WRKDIST}/docs/${DOCS} ${DOCDIR}
  26. ${INSTALL_DATA} ${WRKDIST}/LICENSE ${DOCDIR}
  27. ${INSTALL_DATA} ${WRKDIST}/examples/sysmon.conf.dist ${EXAMPLEDIR}
  28. ${INSTALL_MAN} ${WRKDIST}/docs/sysmon.man \
  29. ${MANDIR}/man1/sysmon.1
  30. ${INSTALL_MAN} ${WRKDIST}/docs/sysmon.conf.man \
  31. ${MANDIR}/man5/sysmon.conf.5
  32. .include <bsd.port.mk>