1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/sysutils/autopsy/Makefile
2013-11-08 12:14:43 +00:00

38 lines
1.1 KiB
Makefile

# Created by: Pieter Danhieux <opr@bsdaemon.be>
# $FreeBSD$
PORTNAME= autopsy
PORTVERSION= 2.24
PORTREVISION= 1
CATEGORIES= sysutils security
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
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
IS_INTERACTIVE= yes
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>