1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/security/regripper/Makefile
2018-05-19 11:44:00 +00:00

41 lines
969 B
Makefile

# Created by: antoine@FreeBSD.org
# $FreeBSD$
PORTNAME= regripper
PORTVERSION= 2.8.20180406
CATEGORIES= security
MAINTAINER= antoine@FreeBSD.org
COMMENT= Tool for registry analysis in forensics examinations
LICENSE= GPLv3
RUN_DEPENDS= p5-Parse-Win32Registry>=0:devel/p5-Parse-Win32Registry
USE_GITHUB= yes
GH_ACCOUNT= keydet89
GH_PROJECT= RegRipper2.8
GH_TAGNAME= 79e852a
NO_ARCH= yes
NO_BUILD= yes
USES= perl5 shebangfix
SHEBANG_FILES= rip.pl
perl_OLD_CMD= c:\\\\perl\\\\bin\\\\perl.exe
USE_PERL5= run
PLIST_FILES= bin/rip.pl
PORTDATA= plugins/*.pl plugins/all plugins/ntuser plugins/sam \
plugins/security plugins/software plugins/system \
plugins/usrclass
post-patch:
${REINPLACE_CMD} 's|"plugins"|"${DATADIR}/plugins"|' ${WRKSRC}/rip.pl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/rip.pl ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}/plugins
${INSTALL_DATA} ${PORTDATA:S,^,${WRKSRC}/,} ${STAGEDIR}${DATADIR}/plugins
.include <bsd.port.mk>