summaryrefslogtreecommitdiff
path: root/security/vinetto/Makefile
blob: 158579447916a9ddf3718e9b53f9270a790bee1c (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
# New ports collection makefile for:	vinetto
# Date created:		2006-12-26
# Whom:			Aleksander Fafula <alex@BSDGuru.org>
#
# $FreeBSD$
#

PORTNAME=	vinetto
PORTVERSION=	0.07
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=	${PORTNAME}-beta-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A forensics tool to examine Thumbs.db files

OPTIONS=	IMAGING "Build with ability to extract graphic thumbnails" on

USE_PYTHON=	2.3+
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGVERSION=	0.06alpha

.include <bsd.port.pre.mk>

.if !defined(WITHOUT_IMAGING)
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/PIL/_imaging.so:${PORTSDIR}/graphics/py-imaging
.endif

do-patch:
	${REINPLACE_CMD} -e "s|/usr/share/vinetto|${DATADIR}|g" ${WRKSRC}/setup.py
	${REINPLACE_CMD} -e "s|/usr/share/vinetto|${DATADIR}|g" ${WRKSRC}/vinreport.py
	${REINPLACE_CMD} -e "s|/usr/share/vinetto|${DATADIR}|g" ${WRKSRC}/vinetto

.include <bsd.port.post.mk>