From 60529af9e86c7caf70cf059d48c4772520eb7b54 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Sat, 30 Aug 2014 09:58:03 +0000 Subject: [PATCH] Convert to USES=python --- devel/libesedb/Makefile | 3 +-- devel/liblnk/Makefile | 5 ++--- devel/libmsiecf/Makefile | 3 +-- devel/libolecf/Makefile | 3 +-- devel/libpff/Makefile | 3 +-- devel/libqcow/Makefile | 3 +-- devel/libregf/Makefile | 3 +-- devel/libsmdev/Makefile | 3 +-- devel/libvhdi/Makefile | 3 +-- devel/libvmdk/Makefile | 3 +-- devel/py-pydasm/Makefile | 5 ++--- 11 files changed, 13 insertions(+), 24 deletions(-) diff --git a/devel/libesedb/Makefile b/devel/libesedb/Makefile index af99c56019f0..7680b1cf880b 100644 --- a/devel/libesedb/Makefile +++ b/devel/libesedb/Makefile @@ -15,8 +15,7 @@ LICENSE= LGPL3 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-python --with-libintl-prefix=${LOCALBASE} ${ICONV_CONFIGURE_ARG} -USES= gettext iconv libtool pathfix -USE_PYTHON= 2 +USES= gettext iconv libtool pathfix python:2 USE_LDCONFIG= yes INSTALL_TARGET= install-strip WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:E} diff --git a/devel/liblnk/Makefile b/devel/liblnk/Makefile index 5eca7706629d..31ddde758f88 100644 --- a/devel/liblnk/Makefile +++ b/devel/liblnk/Makefile @@ -3,10 +3,10 @@ PORTNAME= liblnk PORTVERSION= 20140731 +DISTVERSIONPREFIX= alpha- CATEGORIES= devel MASTER_SITES= https://googledrive.com/host/0B3fBvzttpiiSQmluVC1YeDVvZWM/ \ LOCAL/antoine -DISTNAME= ${PORTNAME}-alpha-${PORTVERSION} MAINTAINER= antoine@FreeBSD.org COMMENT= Library and tools to access the Windows shortcut file (LNK) format @@ -15,8 +15,7 @@ LICENSE= LGPL3 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-python --with-libintl-prefix=${LOCALBASE} ${ICONV_CONFIGURE_ARG} -USES= gettext iconv libtool pathfix -USE_PYTHON= 2 +USES= gettext iconv libtool pathfix python:2 USE_LDCONFIG= yes INSTALL_TARGET= install-strip WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} diff --git a/devel/libmsiecf/Makefile b/devel/libmsiecf/Makefile index 90d28cc24a4a..46fa6cbe3a79 100644 --- a/devel/libmsiecf/Makefile +++ b/devel/libmsiecf/Makefile @@ -14,8 +14,7 @@ LICENSE= LGPL3 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-python --with-libintl-prefix=${LOCALBASE} ${ICONV_CONFIGURE_ARG} -USES= gettext iconv libtool pathfix -USE_PYTHON= 2 +USES= gettext iconv libtool pathfix python:2 USE_LDCONFIG= yes INSTALL_TARGET= install-strip WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:E} diff --git a/devel/libolecf/Makefile b/devel/libolecf/Makefile index 9f727ee0a02c..0af672eb0128 100644 --- a/devel/libolecf/Makefile +++ b/devel/libolecf/Makefile @@ -14,8 +14,7 @@ LICENSE= LGPL3 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-python --with-libintl-prefix=${LOCALBASE} ${ICONV_CONFIGURE_ARG} -USES= fuse gettext iconv libtool pathfix pkgconfig -USE_PYTHON= 2 +USES= fuse gettext iconv libtool pathfix pkgconfig python:2 USE_LDCONFIG= yes INSTALL_TARGET= install-strip WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:E} diff --git a/devel/libpff/Makefile b/devel/libpff/Makefile index 9a798be69575..95d7491d6f0b 100644 --- a/devel/libpff/Makefile +++ b/devel/libpff/Makefile @@ -15,8 +15,7 @@ LICENSE= LGPL3 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-python --with-libintl-prefix=${LOCALBASE} ${ICONV_CONFIGURE_ARG} -USES= gettext iconv libtool pathfix -USE_PYTHON= 2 +USES= gettext iconv libtool pathfix python:2 USE_LDCONFIG= yes # Remove when configure gets LDFLAGS for python correctly LDFLAGS+= -L${LOCALBASE}/lib diff --git a/devel/libqcow/Makefile b/devel/libqcow/Makefile index a0c8607c8d11..fe70d68453cd 100644 --- a/devel/libqcow/Makefile +++ b/devel/libqcow/Makefile @@ -14,9 +14,8 @@ LICENSE= LGPL3 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-python --with-libintl-prefix=${LOCALBASE} ${ICONV_CONFIGURE_ARG} -USES= fuse gettext iconv libtool pathfix pkgconfig +USES= fuse gettext iconv libtool pathfix pkgconfig python:2 USE_OPENSSL= yes -USE_PYTHON= 2 USE_LDCONFIG= yes INSTALL_TARGET= install-strip WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:E} diff --git a/devel/libregf/Makefile b/devel/libregf/Makefile index f96dd4a14b45..8c19ab70f3fc 100644 --- a/devel/libregf/Makefile +++ b/devel/libregf/Makefile @@ -14,8 +14,7 @@ LICENSE= LGPL3 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-python --with-libintl-prefix=${LOCALBASE} ${ICONV_CONFIGURE_ARG} -USES= fuse gettext iconv libtool pathfix pkgconfig -USE_PYTHON= 2 +USES= fuse gettext iconv libtool pathfix pkgconfig python:2 USE_LDCONFIG= yes INSTALL_TARGET= install-strip WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:E} diff --git a/devel/libsmdev/Makefile b/devel/libsmdev/Makefile index 25ba0d3639d0..e75a5ee8e323 100644 --- a/devel/libsmdev/Makefile +++ b/devel/libsmdev/Makefile @@ -14,8 +14,7 @@ LICENSE= LGPL3 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-python --with-libintl-prefix=${LOCALBASE} ${ICONV_CONFIGURE_ARG} -USES= gettext iconv libtool pathfix -USE_PYTHON= 2 +USES= gettext iconv libtool pathfix python:2 USE_LDCONFIG= yes INSTALL_TARGET= install-strip WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:E} diff --git a/devel/libvhdi/Makefile b/devel/libvhdi/Makefile index c7c07d46765b..3bdbc77b248b 100644 --- a/devel/libvhdi/Makefile +++ b/devel/libvhdi/Makefile @@ -15,8 +15,7 @@ LICENSE= LGPL3 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-python --with-libintl-prefix=${LOCALBASE} ${ICONV_CONFIGURE_ARG} -USES= fuse gettext iconv libtool pathfix pkgconfig -USE_PYTHON= 2 +USES= fuse gettext iconv libtool pathfix pkgconfig python:2 USE_LDCONFIG= yes INSTALL_TARGET= install-strip WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} diff --git a/devel/libvmdk/Makefile b/devel/libvmdk/Makefile index 1cb4734f400d..e9a6cd11e36c 100644 --- a/devel/libvmdk/Makefile +++ b/devel/libvmdk/Makefile @@ -15,8 +15,7 @@ LICENSE= LGPL3 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-python --with-libintl-prefix=${LOCALBASE} ${ICONV_CONFIGURE_ARG} -USES= fuse gettext iconv libtool pathfix pkgconfig -USE_PYTHON= 2 +USES= fuse gettext iconv libtool pathfix pkgconfig python:2 USE_LDCONFIG= yes INSTALL_TARGET= install-strip WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} diff --git a/devel/py-pydasm/Makefile b/devel/py-pydasm/Makefile index f93bf5e72f91..f16657c1fcd6 100644 --- a/devel/py-pydasm/Makefile +++ b/devel/py-pydasm/Makefile @@ -14,10 +14,9 @@ COMMENT= Python interface to libdasm LICENSE= BSD2CLAUSE +USES= python +USE_PYTHON= distutils autoplist WRKSRC_SUBDIR= ${PORTNAME} -USE_PYTHON= yes -USE_PYDISTUTILS=yes -PYDISTUTILS_AUTOPLIST=yes PORTDOCS= README.txt PORTEXAMPLES= das.py