mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
4067037eb0
definitions and extracts matching files or data fragments from a set of image files or raw device files. Scalpel is filesystem-independent and will carve files from FATx, NTFS, ext2/3, HFS+, or raw partitions. It is useful for both digital forensics investigation and file recovery. WWW: http://www.digitalforensicssolutions.com/Scalpel/ PR: ports/163544 Submitted by: Hakisho Nukama <nukama@gmail.com>
39 lines
841 B
Makefile
39 lines
841 B
Makefile
# New ports collection makefile for: Scalpel
|
|
# Date created: 2011-12-22
|
|
# Whom: Hakisho Nukama <nukama@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= scalpel
|
|
PORTVERSION= 2.0
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://www.digitalforensicssolutions.com/Scalpel/
|
|
|
|
MAINTAINER= nukama@gmail.com
|
|
COMMENT= A frugal, high performance file carver
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= tre.5:${PORTSDIR}/textproc/libtre
|
|
|
|
GNU_CONFIGURE= yes
|
|
SUB_FILES= pkg-message
|
|
|
|
MAN1= scalpel.1
|
|
PLIST_FILES+= etc/scalpel.conf.sample bin/scalpel
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's/#ifdef __APPLE__/#if defined(__APPLE__) || defined(__FreeBSD__)/' \
|
|
${WRKSRC}/src/scalpel.h
|
|
|
|
post-install:
|
|
@${CP} -p ${WRKSRC}/scalpel.conf ${PREFIX}/etc/scalpel.conf.sample
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|