# Created by: Nikolai Lifanov PORTNAME= hashcat-legacy PORTVERSION= 2.00 PORTREVISION= 7 CATEGORIES= security MAINTAINER= ports@FreeBSD.org COMMENT= Advanced CPU-based password recovery utility LICENSE= MIT LICENSE_FILE= ${WRKSRC}/docs/license.txt DEPRECATED= Unsupported upstream, please consider using security/hashcat EXPIRATION_DATE=2022-03-31 ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= uses amd64 instructions LIB_DEPENDS= libgmp.so:math/gmp USE_GITHUB= yes GH_ACCOUNT= hashcat USES= gmake USE_GCC= yes ALL_TARGET= posix64 posixXOP OPTIONS_DEFINE= DOCS EXAMPLES post-patch: @${REINPLACE_CMD} -r 's|^(CC_.*[[:blank:]]*=[[:blank:]]*)gcc[[:blank:]]*$$|\1${CC}|' ${WRKSRC}/src/Makefile do-install: .for v in 64 XOP ${INSTALL_PROGRAM} ${WRKSRC}/hashcat-cli${v}.bin ${STAGEDIR}${LOCALBASE}/bin .endfor (cd ${WRKSRC} && ${COPYTREE_SHARE} "charsets rules tables salts" ${STAGEDIR}${DATADIR}) (cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include