aboutsummaryrefslogtreecommitdiff
path: root/security/vinetto/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/vinetto/Makefile')
-rw-r--r--security/vinetto/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/security/vinetto/Makefile b/security/vinetto/Makefile
index 6f9b03d44134..836e20c54a01 100644
--- a/security/vinetto/Makefile
+++ b/security/vinetto/Makefile
@@ -14,22 +14,16 @@ COMMENT= Forensics tool to examine Thumbs.db files
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
+RUN_DEPENDS= ${PY_PILLOW}
+
USES= python
USE_PYTHON= autoplist distutils concurrent optsuffix
PYDISTUTILS_PKGVERSION= 0.06alpha
NO_ARCH= yes
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 3500
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow6>0:graphics/py-pillow6@${PY_FLAVOR}
-.else
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR}
-.endif
-
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.post.mk>
+.include <bsd.port.mk>