Tweak security/sshblock version 1.0_1
[dports.git] / security / regripper / Makefile
1 # Created by: antoine@FreeBSD.org
2 # $FreeBSD$
3
4 PORTNAME=       regripper
5 DISTVERSION=    2.8
6 CATEGORIES=     security
7 MASTER_SITES=   GOOGLE_CODE
8 DISTNAME=       rrv${DISTVERSION}
9
10 MAINTAINER=     antoine@FreeBSD.org
11 COMMENT=        Tool for registry analysis in forensics examinations
12
13 LICENSE=        GPLv3
14
15 RUN_DEPENDS=    p5-Parse-Win32Registry>=0:${PORTSDIR}/devel/p5-Parse-Win32Registry
16
17 NO_WRKSUBDIR=   yes
18 NO_BUILD=       yes
19 USES=           dos2unix perl5 zip
20 USE_PERL5=      run
21
22 PLIST_FILES=    bin/rip.pl
23
24 post-patch:
25         ${REINPLACE_CMD} -e 's|#! c:\\perl\\bin\\perl.exe|#!${PERL}| ; \
26                 s|plugindir = $$str|plugindir = "${DATADIR}"| ; \
27                 s|require "plugins/|require "${DATADIR}plugins/|' ${WRKSRC}/rip.pl
28
29 do-install:
30         ${INSTALL_SCRIPT} ${WRKSRC}/rip.pl ${STAGEDIR}${PREFIX}/bin
31
32 .include <bsd.port.mk>