svn commit: r397073 - in head/security/vinetto: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Sep 16 16:40:17 UTC 2015
Author: amdmi3
Date: Wed Sep 16 16:40:16 2015
New Revision: 397073
URL: https://svnweb.freebsd.org/changeset/ports/397073
Log:
- Switch to autoplist, fixing .egg-info handling
- Fix PIL dependency handling and detection
- Add LICENSE
- Add NO_ARCH
Deleted:
head/security/vinetto/pkg-plist
Modified:
head/security/vinetto/Makefile
head/security/vinetto/files/patch-vinetto
Modified: head/security/vinetto/Makefile
==============================================================================
--- head/security/vinetto/Makefile Wed Sep 16 16:32:39 2015 (r397072)
+++ head/security/vinetto/Makefile Wed Sep 16 16:40:16 2015 (r397073)
@@ -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 at 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>
Modified: head/security/vinetto/files/patch-vinetto
==============================================================================
--- head/security/vinetto/files/patch-vinetto Wed Sep 16 16:32:39 2015 (r397072)
+++ head/security/vinetto/files/patch-vinetto Wed Sep 16 16:40:16 2015 (r397073)
@@ -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, ""
More information about the svn-ports-head
mailing list