summaryrefslogtreecommitdiff
path: root/sysutils/autopsy/Makefile
blob: 7132c708b7c734048fc8da36541e3bf93056e2eb (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
37
38
39
40
# New ports collection makefile for:	autopsy
# Date created:				2003-08-12
# Whom:					Pieter Danhieux <opr@bsdaemon.be>
#
# $FreeBSD$
#

PORTNAME=	autopsy
PORTVERSION=	2.08
CATEGORIES=	sysutils security
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	danfe@FreeBSD.org
COMMENT=	Graphical interface to The Sleuth Kit

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

USE_PERL5=	yes
IS_INTERACTIVE=	yes
WEB=		pict/*
WEBHELP=	help/*
PERLBITS=	lib/*.pm lib/*.pl conf.pl
MAN1=		autopsy.1

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

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

.include <bsd.port.mk>