1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/security/rcracki_mt/Makefile
Pawel Pekala 1bae451591 - Allow staging [1]
- Convert USE_GMAKE to USES=gmake

PR:		ports/186136 [1]
Submitted by:	maintainer
2014-01-29 23:55:29 +00:00

38 lines
922 B
Makefile

# $FreeBSD$
PORTNAME= rcracki_mt
PORTVERSION= 0.7.0
CATEGORIES= security
MASTER_SITES= SF/rcracki/rcracki_mt/rcracki_mt_${PORTVERSION}
DISTNAME= ${PORTNAME}_${PORTVERSION}_src
EXTRACT_SUFX= .7z
MAINTAINER= olivier@cochard.me
COMMENT= Rainbow table based crack tool
LICENSE= GPLv2
EXTRACT_DEPENDS=7z:${PORTSDIR}/archivers/p7zip
WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME}
USES= gmake
EXTRACT_CMD= ${LOCALBASE}/bin/7z
EXTRACT_BEFORE_ARGS=x -o${WRKDIR}
EXTRACT_AFTER_ARGS=
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= ChangeLog.txt README.txt
post-patch:
@${REINPLACE_CMD} -e 's,CC = g++,CXX ?= g++, ; s,CFLAGS =,CXXFLAGS +=, ; \
s,-lpthread,${PTHREAD_LIBS}, ; s,CC,CXX, ; s,CFLAGS,CXXFLAGS,' \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>