Index: head/security/hashcat-legacy/Makefile =================================================================== --- head/security/hashcat-legacy/Makefile (revision 428616) +++ head/security/hashcat-legacy/Makefile (revision 428617) @@ -1,39 +1,42 @@ # Created by: Nikolai Lifanov # $FreeBSD$ PORTNAME= hashcat-legacy PORTVERSION= 2.00 PORTREVISION= 1 CATEGORIES= security MAINTAINER= lifanov@FreeBSD.org COMMENT= Advanced CPU-based password recovery utility LICENSE= MIT LICENSE_FILE= ${WRKSRC}/docs/license.txt LIB_DEPENDS= libgmp.so:math/gmp BROKEN_FreeBSD_9= does not build USE_GITHUB= yes GH_ACCOUNT= hashcat USE_GCC= any USES= gmake ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= uses amd64 instructions ALL_TARGET= posix64 posixXOP +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