Makefile 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # $OpenBSD: Makefile,v 1.23 2015/07/28 10:07:59 nigel Exp $
  2. COMMENT = web and CGI vulnerability scanner with SSL support
  3. DISTNAME = nikto-2.1.5
  4. EPOCH = 0
  5. CATEGORIES = security www
  6. HOMEPAGE = http://www.cirt.net/nikto2
  7. MAINTAINER = Nigel Taylor <nigel@openbsd.org>
  8. # GPLv2
  9. PERMIT_PACKAGE_CDROM = Yes
  10. MASTER_SITES = http://www.cirt.net/nikto/ \
  11. http://www.cirt.net/nikto/ARCHIVE/
  12. EXTRACT_SUFX = .tar.bz2
  13. RUN_DEPENDS = security/p5-Net_SSLeay
  14. NO_BUILD = Yes
  15. NO_TEST = Yes
  16. PKG_ARCH = *
  17. pre-configure:
  18. sed -i 's%# EXECDIR=.*%EXECDIR=${PREFIX}/share/nikto%; \
  19. s%# DOCDIR=.*%DOCDIR=${PREFIX}/share/doc/nikto%; \
  20. s%# DBDIR=.*%DBDIR=/var/db/nikto/databases%' \
  21. ${WRKSRC}/nikto.conf
  22. do-install:
  23. ${INSTALL_DATA_DIR} ${PREFIX}/share/nikto/databases
  24. ${INSTALL_DATA_DIR} ${PREFIX}/share/nikto/plugins
  25. ${INSTALL_DATA_DIR} ${PREFIX}/share/nikto/templates
  26. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/nikto
  27. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nikto
  28. ${INSTALL_SCRIPT} ${WRKSRC}/nikto.pl ${PREFIX}/bin/nikto
  29. ${INSTALL_DATA} ${WRKSRC}/nikto.conf \
  30. ${PREFIX}/share/examples/nikto/nikto.conf
  31. ${INSTALL_DATA} ${WRKSRC}/databases/!(*.orig) ${PREFIX}/share/nikto/databases
  32. ${INSTALL_DATA} ${WRKSRC}/plugins/!(*.orig) ${PREFIX}/share/nikto/plugins
  33. ${INSTALL_DATA} ${WRKSRC}/templates/!(*.orig) ${PREFIX}/share/nikto/templates
  34. ${INSTALL_DATA} ${WRKSRC}/docs/nikto_manual.html ${PREFIX}/share/doc/nikto
  35. ${INSTALL_DATA} ${WRKSRC}/docs/CHANGES.txt ${PREFIX}/share/doc/nikto
  36. ${INSTALL_DATA} ${WRKSRC}/docs/nikto.dtd ${PREFIX}/share/doc/nikto
  37. ${INSTALL_MAN} ${WRKSRC}/docs/nikto.1 ${PREFIX}/man/man1/nikto.1
  38. .include <bsd.port.mk>