diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-16 16:40:16 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-16 16:40:16 +0000 |
commit | 5e3ea69f14cae58cb84c41c536c33f33172a89b4 (patch) | |
tree | 96b5b6cd5898d4f6efe8e5e87a3557dd61c3d6aa /security/vinetto | |
parent | 14b0ff255278cb68bb7370b26a682b4fe78cff0b (diff) | |
download | ports-5e3ea69f14cae58cb84c41c536c33f33172a89b4.tar.gz ports-5e3ea69f14cae58cb84c41c536c33f33172a89b4.zip |
Notes
Diffstat (limited to 'security/vinetto')
-rw-r--r-- | security/vinetto/Makefile | 26 | ||||
-rw-r--r-- | security/vinetto/files/patch-vinetto | 8 | ||||
-rw-r--r-- | security/vinetto/pkg-plist | 11 |
3 files changed, 15 insertions, 30 deletions
diff --git a/security/vinetto/Makefile b/security/vinetto/Makefile index b86ea3f3a730..3d7bfca32fae 100644 --- a/security/vinetto/Makefile +++ b/security/vinetto/Makefile @@ -3,7 +3,7 @@ PORTNAME= vinetto PORTVERSION= 0.07 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-beta-${PORTVERSION} DISTNAME= ${PORTNAME}-beta-${PORTVERSION} @@ -11,23 +11,19 @@ DISTNAME= ${PORTNAME}-beta-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Forensics tool to examine Thumbs.db files -OPTIONS_DEFINE= THUMBNAILS -OPTIONS_DEFAULT=THUMBNAILS -IMAGING_DESC= Build with ability to extract graphic thumbnails +LICENSE= GPLv2 # or later +LICENSE_FILE= ${WRKSRC}/COPYING + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow USES= python -USE_PYTHON= distutils +USE_PYTHON= autoplist distutils PYDISTUTILS_PKGVERSION= 0.06alpha +NO_ARCH= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MIMAGING} -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow -.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 +post-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.mk> diff --git a/security/vinetto/files/patch-vinetto b/security/vinetto/files/patch-vinetto index 49203e9b10d5..bcf4efe7ae98 100644 --- a/security/vinetto/files/patch-vinetto +++ b/security/vinetto/files/patch-vinetto @@ -1,11 +1,11 @@ ---- vinetto.orig 2014-10-07 11:39:47 UTC +--- vinetto.orig 2015-09-16 16:24:54 UTC +++ vinetto -@@ -149,7 +149,7 @@ +@@ -149,7 +149,7 @@ if outputdir != None : outputdir += "/" try: -- from PIL import Image -+ import Image +- import Image ++ from PIL import Image PIL = "imported" except ImportError, e: print >> sys.stderr, "" diff --git a/security/vinetto/pkg-plist b/security/vinetto/pkg-plist deleted file mode 100644 index 2441b909ed00..000000000000 --- a/security/vinetto/pkg-plist +++ /dev/null @@ -1,11 +0,0 @@ -bin/vinetto -%%PYTHON_SITELIBDIR%%/vinreport.py -%%PYTHON_SITELIBDIR%%/vinreport.pyc -%%PYTHON_SITELIBDIR%%/vinreport.pyo -%%PYTHON_SITELIBDIR%%/vinutils.py -%%PYTHON_SITELIBDIR%%/vinutils.pyc -%%PYTHON_SITELIBDIR%%/vinutils.pyo -%%DATADIR%%/HtRepTemplate.html -%%DATADIR%%/header -%%DATADIR%%/huffman -%%DATADIR%%/quantization |