Files
ports/security/dirbuster/Makefile
T
Ronald Klop 86813e9ccf */*: bump portrevision after java_default=25 update
Included all ports that have USES=java.

PR:	293559
2026-04-02 23:06:57 +02:00

37 lines
963 B
Makefile

PORTNAME= dirbuster
PORTVERSION= 1.0r1
PORTREVISION= 2
CATEGORIES= security java
MASTER_SITES= SF/${PORTNAME}/DirBuster%20%28jar%20%2B%20lists%29/1.0-RC1/
DISTNAME= DirBuster-1.0-RC1
MAINTAINER= ports@FreeBSD.org
COMMENT= DirBuster allows file and directory brute forcing on web servers
WWW= https://www.owasp.org/index.php/Category:OWASP_DirBuster_Project
LICENSE= LGPL21+ CC-BY-SA-3.0
LICENSE_COMB= multi
USES= java zip
NO_BUILD= yes
NO_ARCH= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
post-extract:
@${RM} ${WRKSRC}/${DISTNAME}.sh
@${RM} ${WRKSRC}/${DISTNAME}.bat
pre-install:
@${SED} -e 's:%%PATH%%:${DATADIR}/:' \
-e 's:%%JAVA_CMD%%:${JAVA}:' \
-e 's:%%DIRBUSTER%%:${DATADIR}/${DISTNAME}.jar:' \
< ${FILESDIR}/${PORTNAME}.sh > ${WRKDIR}/${PORTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>