summaryrefslogtreecommitdiffstats
path: root/security/regripper/Makefile
blob: fbc7df90d8012193f429c810b19d3288631c6c6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: antoine@FreeBSD.org
# $FreeBSD$

PORTNAME=	regripper
DISTVERSION=	2.8
CATEGORIES=	security
MASTER_SITES=	GOOGLE_CODE
DISTNAME=	rrv${DISTVERSION}
EXTRACT_SUFX=	.zip

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
USE_DOS2UNIX=	yes
NO_BUILD=	yes
USES=		perl5
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 ${PREFIX}/bin

.include <bsd.port.mk>
OpenPOWER on IntegriCloud