summaryrefslogtreecommitdiffstats
path: root/security/py-plaso/Makefile
blob: 062b146ee5aa209534218904feabd6902d1c5c7b (plain)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Created by: Antoine Brodin <antoine@FreeBSD.org>
# $FreeBSD$

PORTNAME=	plaso
DISTVERSION=	1.0.1alpha
PORTREVISION=	1
CATEGORIES=	security python
MASTER_SITES=	GOOGLE_CODE
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	${PORTNAME}_${DISTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	antoine@FreeBSD.org
COMMENT=	Automatic creation of a super timeline

LICENSE=	AL2

RUN_DEPENDS=	hachoir-core>=0:${PORTSDIR}/devel/hachoir-core \
		hachoir-metadata>=0:${PORTSDIR}/sysutils/hachoir-metadata \
		hachoir-parser>=0:${PORTSDIR}/devel/hachoir-parser \
		libevt>=a:${PORTSDIR}/devel/libevt \
		libevtx>=a:${PORTSDIR}/devel/libevtx \
		liblnk>=0:${PORTSDIR}/devel/liblnk \
		libmsiecf>=a:${PORTSDIR}/devel/libmsiecf \
		libregf>=a:${PORTSDIR}/devel/libregf \
		libvshadow>=0:${PORTSDIR}/devel/libvshadow \
		${PYTHON_PKGNAMEPREFIX}ipython>=0:${PORTSDIR}/devel/ipython \
		${PYTHON_PKGNAMEPREFIX}dateutil>=0:${PORTSDIR}/devel/py-dateutil \
		${PYTHON_PKGNAMEPREFIX}protobuf>=0:${PORTSDIR}/devel/py-protobuf \
		${PYTHON_PKGNAMEPREFIX}pytsk>=0:${PORTSDIR}/sysutils/py-pytsk \
		${PYTHON_PKGNAMEPREFIX}pytz>=0:${PORTSDIR}/devel/py-pytz \
		${PYTHON_PKGNAMEPREFIX}sqlite3>=0:${PORTSDIR}/databases/py-sqlite3 \
		${PYTHON_PKGNAMEPREFIX}yaml>=0:${PORTSDIR}/devel/py-yaml

USE_PYTHON=	2.7
USE_PYDISTUTILS=easy_install
PYDISTUTILS_PKGVERSION=0.1
WRKSRC=		${WRKDIR}/${DISTNAME}/${PORTNAME}

PORTDOCS=	AUTHORS
DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}

PORTEXAMPLES=	README.tools image_export.py
EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}

NO_STAGE=	yes
.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
	@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/tools/,} ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud