PageRenderTime 25ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/security/dirbuster/Makefile

https://github.com/johnnywalker/freebsd-ports
Makefile | 41 lines | 27 code | 8 blank | 6 comment | 0 complexity | 910d44871cf4e3f0df39d4cee58a4d4b MD5 | raw file
  1. # New ports collection makefile for: dirbuster
  2. # Date created: 2010-03-08
  3. # Whom: Niels Heinen
  4. #
  5. # $FreeBSD$
  6. #
  7. PORTNAME= dirbuster
  8. PORTVERSION= 1.0r1
  9. CATEGORIES= security java
  10. MASTER_SITES= SF/${PORTNAME}/DirBuster%20%28jar%20%2B%20lists%29/1.0-RC1/
  11. DISTNAME= DirBuster-1.0-RC1
  12. MAINTAINER= ports@FreeBSD.org
  13. COMMENT= DirBuster allows file and directory brute forcing on web servers
  14. USE_ZIP= YES
  15. USE_JAVA= YES
  16. JAVA_VERSION= 1.5+
  17. NO_BUILD= yes
  18. WRKSRC= ${WRKDIR}/${DISTNAME}
  19. DATADIR= ${JAVASHAREDIR}/${PORTNAME}
  20. .include <bsd.port.pre.mk>
  21. post-extract:
  22. ${RM} ${WRKSRC}/${DISTNAME}.sh
  23. ${RM} ${WRKSRC}/${DISTNAME}.bat
  24. pre-install:
  25. @${SED} -e 's:%%PATH%%:${DATADIR}/:' \
  26. -e 's:%%JAVA_CMD%%:${JAVA}:' \
  27. -e 's:%%DIRBUSTER%%:${DATADIR}/${DISTNAME}.jar:' \
  28. < ${FILESDIR}/${PORTNAME}.sh > ${WRKDIR}/${PORTNAME}
  29. do-install:
  30. ${MKDIR} ${DATADIR}
  31. ${CP} -R ${WRKSRC}/* ${DATADIR}
  32. ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
  33. .include <bsd.port.post.mk>