svn commit: r301257 - head/security/vinetto
Baptiste Daroussin
bapt at FreeBSD.org
Fri Jul 20 22:14:16 UTC 2012
Author: bapt
Date: Fri Jul 20 22:14:15 2012
New Revision: 301257
URL: http://svn.freebsd.org/changeset/ports/301257
Log:
Convert to new options framework
Modified:
head/security/vinetto/Makefile
Modified: head/security/vinetto/Makefile
==============================================================================
--- head/security/vinetto/Makefile Fri Jul 20 22:12:58 2012 (r301256)
+++ head/security/vinetto/Makefile Fri Jul 20 22:14:15 2012 (r301257)
@@ -15,15 +15,17 @@ DISTNAME= ${PORTNAME}-beta-${PORTVERSION
MAINTAINER= ports at FreeBSD.org
COMMENT= A forensics tool to examine Thumbs.db files
-OPTIONS= IMAGING "Build with ability to extract graphic thumbnails" on
+OPTIONS_DEFINE= IMAGING
+OPTIONS_DEFAULT= IMAGING
+IMAGING_DESC= Build with ability to extract graphic thumbnails
USE_PYTHON= 2.5+
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGVERSION= 0.06alpha
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if !defined(WITHOUT_IMAGING)
+.if ${PORT_OPTIONS:MIMAGING}
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/PIL/_imaging.so:${PORTSDIR}/graphics/py-imaging
.endif
@@ -32,4 +34,4 @@ do-patch:
${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>
More information about the svn-ports-head
mailing list