aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/autopsy/Makefile
blob: a68319595279a4da53b6e82c12d2e214df61e051 (plain) (blame)
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
34
35
36
# Created by: Pieter Danhieux <opr@bsdaemon.be>
# $FreeBSD$

PORTNAME=   autopsy
PORTVERSION=    2.24
PORTREVISION=   1
CATEGORIES= sysutils security
MASTER_SITES=   SF

MAINTAINER= fbsd@dylanleigh.net
COMMENT=    Web-based (graphical) interface to The Sleuth Kit

LICENSE=    GPLv2

BUILD_DEPENDS=  ${LOCALBASE}/bin/ifind:${PORTSDIR}/sysutils/sleuthkit
RUN_DEPENDS:=   ${BUILD_DEPENDS}

USES=       perl5
WEB=        pict/*
WEBHELP=    help/*
PERLBITS=   lib/*.pm lib/*.pl conf.pl

pre-configure:
    @${REINPLACE_CMD} -e 's,lib/,,' ${WRKSRC}/base/autopsy.base

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/autopsy ${STAGEDIR}${PREFIX}/bin
    @${MKDIR} ${STAGEDIR}${PREFIX}/lib/autopsy
    cd ${WRKSRC} && ${INSTALL_DATA} ${PERLBITS} ${STAGEDIR}${PREFIX}/lib/autopsy
    cd ${WRKSRC}/man/man1 && ${INSTALL_MAN} ${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
    @${MKDIR} ${STAGEDIR}${PREFIX}/share/autopsy/pict
    @${MKDIR} ${STAGEDIR}${PREFIX}/share/autopsy/help
    cd ${WRKSRC} && ${INSTALL_DATA} ${WEB} ${STAGEDIR}${PREFIX}/share/autopsy/pict
    cd ${WRKSRC} && ${INSTALL_DATA} ${WEBHELP} ${STAGEDIR}${PREFIX}/share/autopsy/help

.include <bsd.port.mk>