1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/security/regripper/Makefile
John Marino 2df40af1be 2 more ports: convert to USES+= zip
USES=zip is required when at least one distfile is a zip archive.
Approved by:	general infrastructure blanket
2014-05-28 21:54:01 +00:00

33 lines
748 B
Makefile

# Created by: antoine@FreeBSD.org
# $FreeBSD$
PORTNAME= regripper
DISTVERSION= 2.8
CATEGORIES= security
MASTER_SITES= GOOGLE_CODE
DISTNAME= rrv${DISTVERSION}
MAINTAINER= antoine@FreeBSD.org
COMMENT= Tool for registry analysis in forensics examinations
LICENSE= GPLv3
RUN_DEPENDS= p5-Parse-Win32Registry>=0:${PORTSDIR}/devel/p5-Parse-Win32Registry
NO_WRKSUBDIR= yes
NO_BUILD= yes
USES= dos2unix perl5 zip
USE_PERL5= run
PLIST_FILES= bin/rip.pl
post-patch:
${REINPLACE_CMD} -e 's|#! c:\\perl\\bin\\perl.exe|#!${PERL}| ; \
s|plugindir = $$str|plugindir = "${DATADIR}"| ; \
s|require "plugins/|require "${DATADIR}plugins/|' ${WRKSRC}/rip.pl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/rip.pl ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>