1b1b29c5e6
Note: Python 2.3 is't longer supported and have a lot of security issues. Convert 2.3+ to yes/or 2.4/5+ With hat: portmgr
34 lines
957 B
Makefile
34 lines
957 B
Makefile
# 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= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-beta-${PORTVERSION}
|
|
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.4+
|
|
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>
|