aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/arm/Makefile5
-rw-r--r--security/belier/Makefile5
-rw-r--r--security/blindelephant/Makefile5
-rw-r--r--security/botan110/Makefile3
-rw-r--r--security/cfv/Makefile2
-rw-r--r--security/clamav/Makefile2
-rw-r--r--security/flawfinder/Makefile2
-rw-r--r--security/fsh/Makefile2
-rw-r--r--security/gcipher/Makefile2
-rw-r--r--security/gnome-password-generator/Makefile2
-rw-r--r--security/gwee/Makefile3
-rw-r--r--security/hmap/Makefile3
-rw-r--r--security/hotssh/Makefile3
-rw-r--r--security/lasso/Makefile3
-rw-r--r--security/obfsproxy/Makefile5
-rw-r--r--security/openconnect/Makefile2
-rw-r--r--security/parano/Makefile3
-rw-r--r--security/pwman3/Makefile5
-rw-r--r--security/py-AccessControl/Makefile6
-rw-r--r--security/py-PF/Makefile5
-rw-r--r--security/py-Products.PlonePAS/Makefile6
-rw-r--r--security/py-Products.PluggableAuthService/Makefile6
-rw-r--r--security/py-RestrictedPython/Makefile6
-rw-r--r--security/py-SecretStorage/Makefile5
-rw-r--r--security/py-backports.ssl_match_hostname/Makefile5
-rw-r--r--security/py-bcrypt/Makefile5
-rw-r--r--security/py-borg.localrole/Makefile7
-rw-r--r--security/py-cerealizer/Makefile6
-rw-r--r--security/py-clamav/Makefile5
-rw-r--r--security/py-cryptkit/Makefile5
-rw-r--r--security/py-ecdsa/Makefile5
-rw-r--r--security/py-ed25519ll/Makefile5
-rw-r--r--security/py-fail2ban/Makefile4
-rw-r--r--security/py-fchksum/Makefile4
-rw-r--r--security/py-gnutls/Makefile4
-rw-r--r--security/py-htpasswd/Makefile3
-rw-r--r--security/py-kerberos/Makefile5
-rw-r--r--security/py-keyczar/Makefile5
-rw-r--r--security/py-keyring/Makefile6
-rw-r--r--security/py-mcrypt/Makefile5
-rw-r--r--security/py-mhash/Makefile5
-rw-r--r--security/py-oauthlib/Makefile7
-rw-r--r--security/py-openid/Makefile5
-rw-r--r--security/py-openssl/Makefile7
-rw-r--r--security/py-passlib/Makefile5
-rw-r--r--security/py-plone.app.openid/Makefile6
-rw-r--r--security/py-plone.keyring/Makefile6
-rw-r--r--security/py-plone.openid/Makefile7
-rw-r--r--security/py-plone.protect/Makefile7
-rw-r--r--security/py-plone.session/Makefile7
-rw-r--r--security/py-potr/Makefile5
-rw-r--r--security/py-pow/Makefile4
-rw-r--r--security/py-pyclamd/Makefile5
-rw-r--r--security/py-pycryptopp/Makefile5
-rw-r--r--security/py-pyme/Makefile5
-rw-r--r--security/py-pyptlib/Makefile5
-rw-r--r--security/py-pysha3/Makefile5
-rw-r--r--security/py-rsa/Makefile5
-rw-r--r--security/py-slowaes/Makefile5
-rw-r--r--security/py-ssh/Makefile5
-rw-r--r--security/py-sslstrip/Makefile5
-rw-r--r--security/py-stem/Makefile5
-rw-r--r--security/py-tlslite/Makefile5
-rw-r--r--security/py-trustedpickle/Makefile3
-rw-r--r--security/py-twistedConch/Makefile6
-rw-r--r--security/py-twofish/Makefile2
-rw-r--r--security/py-xmlsec/Makefile5
-rw-r--r--security/py-yara/Makefile5
-rw-r--r--security/py-zope.app.authentication/Makefile5
-rw-r--r--security/py-zope.app.localpermission/Makefile5
-rw-r--r--security/py-zope.app.principalannotation/Makefile5
-rw-r--r--security/py-zope.app.security/Makefile5
-rw-r--r--security/py-zope.app.securitypolicy/Makefile5
-rw-r--r--security/py-zope.authentication/Makefile6
-rw-r--r--security/py-zope.login/Makefile6
-rw-r--r--security/py-zope.password/Makefile5
-rw-r--r--security/py-zope.pluggableauth/Makefile5
-rw-r--r--security/py-zope.principalannotation/Makefile5
-rw-r--r--security/py-zope.principalregistry/Makefile5
-rw-r--r--security/py-zope.security/Makefile5
-rw-r--r--security/py-zope.securitypolicy/Makefile5
-rw-r--r--security/py-zope.session/Makefile5
-rw-r--r--security/silktools/Makefile3
-rw-r--r--security/spike-proxy/Makefile3
-rw-r--r--security/sqlmap/Makefile2
-rw-r--r--security/ssh-multiadd/Makefile2
-rw-r--r--security/sssd/Makefile3
-rw-r--r--security/switzerland/Makefile4
-rw-r--r--security/tsshbatch/Makefile2
-rw-r--r--security/w3af/Makefile3
90 files changed, 159 insertions, 252 deletions
diff --git a/security/arm/Makefile b/security/arm/Makefile
index a0c8b71c3845..85a772f4d11c 100644
--- a/security/arm/Makefile
+++ b/security/arm/Makefile
@@ -13,9 +13,8 @@ COMMENT= Terminal status monitor for Tor
LICENSE= GPLv3
-USE_PYTHON= yes
-USE_PYDISTUTILS=yes
-USES= tar:bzip2
+USE_PYTHON= distutils
+USES= python tar:bzip2
WRKSRC= ${WRKDIR}/${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}
diff --git a/security/belier/Makefile b/security/belier/Makefile
index 1b2357184fcf..a87d6a608914 100644
--- a/security/belier/Makefile
+++ b/security/belier/Makefile
@@ -13,8 +13,7 @@ COMMENT= easily cross several machines with ssh
RUN_DEPENDS= expect>=5.42.1:${PORTSDIR}/lang/expect
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/blindelephant/Makefile b/security/blindelephant/Makefile
index c168a61ddbd9..cc3750772517 100644
--- a/security/blindelephant/Makefile
+++ b/security/blindelephant/Makefile
@@ -15,9 +15,8 @@ COMMENT= Fingerprint the web applications used by a web site
LICENSE= LGPL3
-USES= tar:bzip2
-USE_PYTHON= yes
-USE_PYDISTUTILS= YES
+USES= python tar:bzip2
+USE_PYTHON= distutils
SUB_FILES= ${PORTNAME}.sh
SUB_LIST= PYTHON_CMD=${PYTHON_CMD} \
diff --git a/security/botan110/Makefile b/security/botan110/Makefile
index bc9ec8796a3e..9c7fd2bd9b26 100644
--- a/security/botan110/Makefile
+++ b/security/botan110/Makefile
@@ -21,8 +21,7 @@ OPTIONS_DEFINE= SSL GMP ECC DOCS
OPTIONS_DEFAULT= SSL GMP ECC
ECC_DESC= ECC support
-USES= compiler gmake tar:bzip2
-USE_PYTHON_BUILD= yes
+USES= compiler gmake python:build tar:bzip2
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= configure.py
CONFIGURE_ARGS= --prefix=${PREFIX} --with-bzip2 --with-zlib
diff --git a/security/cfv/Makefile b/security/cfv/Makefile
index 8e0713a4ffdd..df597a5916f2 100644
--- a/security/cfv/Makefile
+++ b/security/cfv/Makefile
@@ -9,7 +9,7 @@ MASTER_SITES= SF
MAINTAINER= matthew@reztek.cz
COMMENT= Utility to both test and create .sfv, .csv, and md5sum files
-USE_PYTHON= 2
+USES= python:2
ALL_TARGET= cfv.wrapper
INSTALL_TARGET= install-wrapper
MAKE_ARGS= PYTHON=${PYTHON_CMD}
diff --git a/security/clamav/Makefile b/security/clamav/Makefile
index a89e66656af1..296af38bf45b 100644
--- a/security/clamav/Makefile
+++ b/security/clamav/Makefile
@@ -135,7 +135,7 @@ GROUPS= clamav mail
.if ${PORT_OPTIONS:MLLVM} && ( ${ARCH} == "i386" || ${ARCH} == "amd64" )
CONFIGURE_ARGS+=--enable-llvm
. if ${PORT_OPTIONS:MTESTS}
-USE_PYTHON_BUILD= yes
+USES+= python:build
. endif
.else
CONFIGURE_ARGS+=--disable-llvm
diff --git a/security/flawfinder/Makefile b/security/flawfinder/Makefile
index 4affc521b691..8f374a063e1b 100644
--- a/security/flawfinder/Makefile
+++ b/security/flawfinder/Makefile
@@ -11,7 +11,7 @@ MASTER_SITE_SUBDIR= UNIX/security
MAINTAINER= lx@FreeBSD.org
COMMENT= Examines source code looking for security weaknesses
-USE_PYTHON= yes
+USES= python
NO_BUILD= yes
PLIST_FILES= bin/flawfinder man/man1/flawfinder.1.gz
diff --git a/security/fsh/Makefile b/security/fsh/Makefile
index 829ed19a3644..9f22b1a3aa78 100644
--- a/security/fsh/Makefile
+++ b/security/fsh/Makefile
@@ -12,7 +12,7 @@ MASTER_SITES= http://www.lysator.liu.se/fsh/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Fast remote command execution
-USE_PYTHON= yes
+USES= python
GNU_CONFIGURE= yes
INFO= fsh
diff --git a/security/gcipher/Makefile b/security/gcipher/Makefile
index 070298095e90..1a44ef0a2435 100644
--- a/security/gcipher/Makefile
+++ b/security/gcipher/Makefile
@@ -13,7 +13,7 @@ COMMENT= Simple encryption tool
LICENSE= BSD
USE_GNOME= pygnome2
-USE_PYTHON= yes
+USES= python
MAN1= gcipher.1
LICENSE_FILES= ${WRKSRC}/LICENSE
diff --git a/security/gnome-password-generator/Makefile b/security/gnome-password-generator/Makefile
index 09c7a609e15c..4de759dd3c21 100644
--- a/security/gnome-password-generator/Makefile
+++ b/security/gnome-password-generator/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= GNOME 2 password generator
USE_GNOME= pygnome2
-USE_PYTHON= yes
+USES= python
do-build:
@cd ${WRKSRC} && ${SED} -e 's|/usr/bin/python|${PYTHON_CMD}|g ; \
diff --git a/security/gwee/Makefile b/security/gwee/Makefile
index 896e4507dbb0..3f419599047a 100644
--- a/security/gwee/Makefile
+++ b/security/gwee/Makefile
@@ -10,9 +10,8 @@ MASTER_SITE_SUBDIR= UNIX/utilities
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool to exploit command execution vulnerabilities in web scripts
-USES= perl5
+USES= perl5 python
USE_OPENSSL= yes
-USE_PYTHON= yes
LDFLAGS+= -lssl -lcrypto
CFLAGS+= -DWITH_SSL
diff --git a/security/hmap/Makefile b/security/hmap/Makefile
index 54790a523ee2..d56bdb2389ac 100644
--- a/security/hmap/Makefile
+++ b/security/hmap/Makefile
@@ -14,8 +14,7 @@ COMMENT= Web server fingerprinting utility
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/GPL
-USES= dos2unix
-USE_PYTHON= yes
+USES= dos2unix python
NO_WRKSUBDIR= yes
NO_BUILD= yes
diff --git a/security/hotssh/Makefile b/security/hotssh/Makefile
index 49dbcaa798c2..ab37d78e9466 100644
--- a/security/hotssh/Makefile
+++ b/security/hotssh/Makefile
@@ -25,8 +25,7 @@ RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/dbus-python.pc:${PORTSDIR}/devel/py-
${PYTHON_SITELIBDIR}/gtk-2.0/vtemodule.so:${PORTSDIR}/x11-toolkits/py-vte
USE_GNOME= pygtk2 gnomedocutils libxslt glib20
-USES= gettext tar:bzip2
-USE_PYTHON= yes
+USES= gettext python tar:bzip2
INSTALLS_ICONS= yes
B64DECODE?= /usr/bin/b64decode
diff --git a/security/lasso/Makefile b/security/lasso/Makefile
index 3b25b48b2eac..c0757e6546d9 100644
--- a/security/lasso/Makefile
+++ b/security/lasso/Makefile
@@ -21,7 +21,6 @@ USES= pkgconfig
USE_GNOME= gnomehack glib20 libxml2
USE_LDCONFIG= yes
USE_OPENSSL= yes
-USE_PYTHON_BUILD= yes
OPTIONS_DEFINE= PERL PHP PYTHON DOCS
@@ -52,8 +51,10 @@ PLIST_SUB+= WITH_PHP5="@comment "
.if !empty(PORT_OPTIONS:MPYTHON)
CONFIGURE_ARGS+= --enable-python
PLIST_SUB+= WITH_PYTHON=""
+USES+= python
USE_PYTHON= yes
.else
+USES+= python:build
CONFIGURE_ARGS+= --disable-python
PLIST_SUB+= WITH_PYTHON="@comment "
.endif
diff --git a/security/obfsproxy/Makefile b/security/obfsproxy/Makefile
index c46868dc1473..8aa34146f25d 100644
--- a/security/obfsproxy/Makefile
+++ b/security/obfsproxy/Makefile
@@ -17,9 +17,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyptlib>=0.0.5:${PORTSDIR}/security/py-pyptl
${PYTHON_PKGNAMEPREFIX}pycrypto>=2.1:${PORTSDIR}/security/py-pycrypto \
${PYTHON_PKGNAMEPREFIX}yaml>=0:${PORTSDIR}/devel/py-yaml
-USE_PYTHON= yes
-USES= twisted
-USE_PYDISTUTILS=yes
+USE_PYTHON= distutils
+USES= python twisted
SUB_FILES= pkg-message
PYDISTUTILS_PKGNAME=obfsproxy
diff --git a/security/openconnect/Makefile b/security/openconnect/Makefile
index 6797781899d4..48f90d3740f5 100644
--- a/security/openconnect/Makefile
+++ b/security/openconnect/Makefile
@@ -21,7 +21,7 @@ CONFIGURE_ARGS= --disable-nls --with-vpnc-script=${LOCALBASE}/sbin/vpnc-script \
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \
--without-liboath --without-openssl-version-check \
--without-stoken
-USES= gmake libtool pkgconfig
+USES= gmake libtool pkgconfig python:build
USE_LDCONFIG= yes
USE_PYTHON_BUILD= yes
PORTDOCS= *
diff --git a/security/parano/Makefile b/security/parano/Makefile
index 83c2c644f9e8..ebe9cf080281 100644
--- a/security/parano/Makefile
+++ b/security/parano/Makefile
@@ -11,8 +11,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Gnome program to deal with hashfiles
USE_GNOME= pygnome2
-USE_PYTHON= yes
-USES= desktop-file-utils gettext gmake shared-mime-info
+USES= desktop-file-utils gettext gmake python shared-mime-info
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-update-mime-database
diff --git a/security/pwman3/Makefile b/security/pwman3/Makefile
index d9bf0006dc86..b135bce195a2 100644
--- a/security/pwman3/Makefile
+++ b/security/pwman3/Makefile
@@ -15,8 +15,7 @@ COMMENT= Console password management application with sql storage
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.0:${PORTSDIR}/security/py-pycrypto \
${PYTHON_PKGNAMEPREFIX}sqlite3>=0:${PORTSDIR}/databases/py-sqlite3
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-AccessControl/Makefile b/security/py-AccessControl/Makefile
index 044cd3ded4dc..736af551e3e8 100644
--- a/security/py-AccessControl/Makefile
+++ b/security/py-AccessControl/Makefile
@@ -31,9 +31,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Acquisition>=0:${PORTSDIR}/devel/py-Acquisit
${PYTHON_PKGNAMEPREFIX}zope.security>=0:${PORTSDIR}/security/py-zope.security \
${PYTHON_PKGNAMEPREFIX}zope.testing>=0:${PORTSDIR}/devel/py-zope.testing
-USES= zip
-USE_PYTHON= 2
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python:2 zip
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-PF/Makefile b/security/py-PF/Makefile
index fa7ea76e4443..d9c2b525d76e 100644
--- a/security/py-PF/Makefile
+++ b/security/py-PF/Makefile
@@ -12,9 +12,8 @@ COMMENT= Pure-Python module for managing OpenBSD Packet Filter
LICENSE= BSD3CLAUSE
USE_GITHUB= yes
-USE_PYTHON= 2
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python:2
+USE_PYTHON= distutils autoplist
GH_ACCOUNT= dotpy
GH_PROJECT= py-${PORTNAME:tl}
diff --git a/security/py-Products.PlonePAS/Makefile b/security/py-Products.PlonePAS/Makefile
index 404b2164af96..25205538e550 100644
--- a/security/py-Products.PlonePAS/Makefile
+++ b/security/py-Products.PlonePAS/Makefile
@@ -20,9 +20,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}plone.memoize>=0:${PORTSDIR}/www/py-plone.me
${PYTHON_PKGNAMEPREFIX}Products.GenericSetup>=0:${PORTSDIR}/devel/py-Products.GenericSetup \
${PYTHON_PKGNAMEPREFIX}Products.PluggableAuthService>=0:${PORTSDIR}/security/py-Products.PluggableAuthService
-USE_PYTHON= 2
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
-USES= zope zip
+USES= python:2 zope zip
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-Products.PluggableAuthService/Makefile b/security/py-Products.PluggableAuthService/Makefile
index f58b01049a25..fc2ecdb4e91f 100644
--- a/security/py-Products.PluggableAuthService/Makefile
+++ b/security/py-Products.PluggableAuthService/Makefile
@@ -16,9 +16,7 @@ LICENSE= ZPL21
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Products.PluginRegistry>=0:${PORTSDIR}/devel/py-Products.PluginRegistry \
${PYTHON_PKGNAMEPREFIX}Products.GenericSetup>=0:${PORTSDIR}/devel/py-Products.GenericSetup
-USE_PYTHON= 2
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
-USES= zope
+USES= python:2 zope
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-RestrictedPython/Makefile b/security/py-RestrictedPython/Makefile
index a32636989507..330ba8b0e09c 100644
--- a/security/py-RestrictedPython/Makefile
+++ b/security/py-RestrictedPython/Makefile
@@ -13,9 +13,7 @@ COMMENT= Restricted execution environment for Python
LICENSE= ZPL21
-USES= zip
-USE_PYTHON= 2
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python:2 zip
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-SecretStorage/Makefile b/security/py-SecretStorage/Makefile
index cbb468883668..dd7562522427 100644
--- a/security/py-SecretStorage/Makefile
+++ b/security/py-SecretStorage/Makefile
@@ -14,8 +14,7 @@ LICENSE= BSD
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.84.0:${PORTSDIR}/devel/py-dbus
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-backports.ssl_match_hostname/Makefile b/security/py-backports.ssl_match_hostname/Makefile
index f53d55bf79be..e3b3662a16e0 100644
--- a/security/py-backports.ssl_match_hostname/Makefile
+++ b/security/py-backports.ssl_match_hostname/Makefile
@@ -10,8 +10,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= gblach@FreeBSD.org
COMMENT= Backport of ssl.match_hostname() function
-USE_PYTHON= 2
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python:2
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-bcrypt/Makefile b/security/py-bcrypt/Makefile
index 50541287c452..cd420682ca14 100644
--- a/security/py-bcrypt/Makefile
+++ b/security/py-bcrypt/Makefile
@@ -13,9 +13,8 @@ DISTNAME= py-${PORTNAME}-${PORTVERSION}
MAINTAINER= miwi@FreeBSD.org
COMMENT= Python bcrypt module
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/security/py-borg.localrole/Makefile b/security/py-borg.localrole/Makefile
index 379f24ef3051..27ac4e82c340 100644
--- a/security/py-borg.localrole/Makefile
+++ b/security/py-borg.localrole/Makefile
@@ -24,10 +24,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zope.annotation>=0:${PORTSDIR}/devel/py-zope
${PYTHON_PKGNAMEPREFIX}plone.memoize>=0:${PORTSDIR}/www/py-plone.memoize \
${PYTHON_PKGNAMEPREFIX}Acquisition>=0:${PORTSDIR}/devel/py-Acquisition
-USES= zip
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
-#USE_ZOPE= yes
+USES= python zip
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-cerealizer/Makefile b/security/py-cerealizer/Makefile
index e82ab6e981aa..caf701f9fc6e 100644
--- a/security/py-cerealizer/Makefile
+++ b/security/py-cerealizer/Makefile
@@ -13,9 +13,7 @@ DIST_SUBDIR= python
MAINTAINER= acm@FreeBSD.org
COMMENT= Secure pickle-like module
-USES= tar:bzip2
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python tar:bzip2
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-clamav/Makefile b/security/py-clamav/Makefile
index c8699fdeb5bc..9642e0b28de2 100644
--- a/security/py-clamav/Makefile
+++ b/security/py-clamav/Makefile
@@ -15,9 +15,8 @@ COMMENT= Python binding to libclamav written in C
LIB_DEPENDS= libclamav.so:${PORTSDIR}/security/clamav
DIST_SUBDIR= python
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
PYDISTUTILS_BUILDARGS= build_ext -I${LOCALBASE}/include -L${LOCALBASE}/lib
DOCSDIR?= ${PREFIX}/share/doc/py-${PORTNAME}
diff --git a/security/py-cryptkit/Makefile b/security/py-cryptkit/Makefile
index e84fb72b4817..c3f57c2e888d 100644
--- a/security/py-cryptkit/Makefile
+++ b/security/py-cryptkit/Makefile
@@ -10,8 +10,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Cryptographic Toolkit for Python
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-ecdsa/Makefile b/security/py-ecdsa/Makefile
index a8bb234951b3..2084ff848c20 100644
--- a/security/py-ecdsa/Makefile
+++ b/security/py-ecdsa/Makefile
@@ -13,9 +13,8 @@ COMMENT= ECDSA cryptographic signature library (pure python)
LICENSE= MIT
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
diff --git a/security/py-ed25519ll/Makefile b/security/py-ed25519ll/Makefile
index 634388cde154..5bd2f731dc3b 100644
--- a/security/py-ed25519ll/Makefile
+++ b/security/py-ed25519ll/Makefile
@@ -13,8 +13,7 @@ COMMENT= Low-level ctypes wrapper for Ed25519 digital signatures
LICENSE= MIT
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-fail2ban/Makefile b/security/py-fail2ban/Makefile
index cfa5e60b5a4d..efd00be772e5 100644
--- a/security/py-fail2ban/Makefile
+++ b/security/py-fail2ban/Makefile
@@ -19,8 +19,8 @@ GH_PROJECT= ${PORTNAME}
GH_COMMIT= c7f4c48
GH_TAGNAME= ${PORTVERSION}
-USE_PYTHON= 2
-USE_PYDISTUTILS= yes
+USES= python:2
+USE_PYTHON= distutils
USE_RC_SUBR= fail2ban
SUB_LIST+= PYTHON_CMD=${PYTHON_CMD}
diff --git a/security/py-fchksum/Makefile b/security/py-fchksum/Makefile
index 1617024cfa24..183085611ad5 100644
--- a/security/py-fchksum/Makefile
+++ b/security/py-fchksum/Makefile
@@ -14,8 +14,8 @@ COMMENT= Python module to find the checksum of files
LICENSE= GPLv2
PLIST_FILES= %%PYTHON_SITELIBDIR%%/fchksum.so
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
+USES= python
+USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= python-fchksum
.include <bsd.port.mk>
diff --git a/security/py-gnutls/Makefile b/security/py-gnutls/Makefile
index 187f832ae31b..855c196ea40b 100644
--- a/security/py-gnutls/Makefile
+++ b/security/py-gnutls/Makefile
@@ -14,8 +14,8 @@ COMMENT= Python wrapper for the GNUTLS library
LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
+USES= python
+USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= python_gnutls
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
diff --git a/security/py-htpasswd/Makefile b/security/py-htpasswd/Makefile
index fccc7778de31..7f4d0403d63d 100644
--- a/security/py-htpasswd/Makefile
+++ b/security/py-htpasswd/Makefile
@@ -11,8 +11,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= graudeejs@gmail.com
COMMENT= Replacement for htpasswd
-USES= shebangfix tar:xz
-USE_PYTHON= yes
+USES= python shebangfix tar:xz
PLIST_FILES= bin/${PORTNAME}.py
diff --git a/security/py-kerberos/Makefile b/security/py-kerberos/Makefile
index 74295d986473..7f9f29579ccb 100644
--- a/security/py-kerberos/Makefile
+++ b/security/py-kerberos/Makefile
@@ -16,9 +16,8 @@ LICENSE= APACHE20
BUILD_DEPENDS= libkrb5-config.so:${PORTSDIR}/security/krb5
LIB_DEPENDS= libkrb5support.so:${PORTSDIR}/security/krb5
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
post-patch:
@${REINPLACE_CMD} -e 's|krb5|${PREFIX}/bin/krb5|g' ${WRKSRC}/setup.py
diff --git a/security/py-keyczar/Makefile b/security/py-keyczar/Makefile
index aca3a26b35b8..1bf04c7a35af 100644
--- a/security/py-keyczar/Makefile
+++ b/security/py-keyczar/Makefile
@@ -15,8 +15,7 @@ LICENSE= APACHE20
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.0:${PORTSDIR}/security/py-pycrypto
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-keyring/Makefile b/security/py-keyring/Makefile
index 46b3afbf4778..03c0e98c7711 100644
--- a/security/py-keyring/Makefile
+++ b/security/py-keyring/Makefile
@@ -17,10 +17,8 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:${PORTSDIR}/devel/py-pytes
LATEST_LINK= py-${PORTNAME}
-USES= zip
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python zip
+USE_PYTHON= distutils autoplist
OPTIONS_DEFINE= CRYPT_FILE GNOME_KEYRING KDE_KWALLET KEYCZAR PYFS \
SECRET_SERVICE
diff --git a/security/py-mcrypt/Makefile b/security/py-mcrypt/Makefile
index 3ca1a9a925dc..8a3663461e80 100644
--- a/security/py-mcrypt/Makefile
+++ b/security/py-mcrypt/Makefile
@@ -14,9 +14,8 @@ COMMENT= Comprehensive Python interface to the mcrypt library
LIB_DEPENDS= libmcrypt.so:${PORTSDIR}/security/libmcrypt
-USE_PYTHON= yes
-USE_PYDISTUTILS=yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
PYDISTUTILS_BUILDARGS= -L${LOCALBASE}/lib
PYDISTUTILS_BUILD_TARGET= build_ext
CFLAGS+= -I${LOCALBASE}/include
diff --git a/security/py-mhash/Makefile b/security/py-mhash/Makefile
index 0c4dff116ab0..e1c37033f8e8 100644
--- a/security/py-mhash/Makefile
+++ b/security/py-mhash/Makefile
@@ -13,9 +13,8 @@ COMMENT= Python mhash module
LIB_DEPENDS= libmhash.so:${PORTSDIR}/security/mhash
-USE_PYTHON= yes
-USE_PYDISTUTILS=yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/security/py-oauthlib/Makefile b/security/py-oauthlib/Makefile
index 19c97b8076e2..6d403dd1a7c1 100644
--- a/security/py-oauthlib/Makefile
+++ b/security/py-oauthlib/Makefile
@@ -16,10 +16,9 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto
TEST_DEPENDS= nosetests:${PORTSDIR}/devel/py-nose \
${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto
-USE_GITHUB= yes
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USE_GITHUB= yes
+USES= python
+USE_PYTHON= distutils autoplist
GH_ACCOUNT= idan
GH_COMMIT= 58abd88
diff --git a/security/py-openid/Makefile b/security/py-openid/Makefile
index f232bbabf9b8..e47561bf4220 100644
--- a/security/py-openid/Makefile
+++ b/security/py-openid/Makefile
@@ -13,8 +13,7 @@ MAINTAINER= clsung@FreeBSD.org
COMMENT= Python OpenID version
WRKSRC= ${WRKDIR}/openid-python-openid-b666238
-USE_PYTHON= yes
-USE_PYDISTUTILS=yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-openssl/Makefile b/security/py-openssl/Makefile
index 914995a88b34..17822bba73d7 100644
--- a/security/py-openssl/Makefile
+++ b/security/py-openssl/Makefile
@@ -18,11 +18,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0.2.1:${PORTSDIR}/security/py-
OPTIONS_DEFINE= EXAMPLES
-USES= cpe
-USE_PYTHON= yes
-USE_PYTHON_PREFIX= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= cpe python
+USE_PYTHON= distutils autoplist pythonprefix
CPE_VENDOR= jean-paul_calderone
CPE_PRODUCT= py${PORTNAME}
diff --git a/security/py-passlib/Makefile b/security/py-passlib/Makefile
index 379607214af6..c5b8ea4546f1 100644
--- a/security/py-passlib/Makefile
+++ b/security/py-passlib/Makefile
@@ -12,8 +12,7 @@ COMMENT= Python password hashing framework supporting over 30 schemes
LICENSE= BSD3CLAUSE
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-plone.app.openid/Makefile b/security/py-plone.app.openid/Makefile
index b229ddd1cf48..342658dfbb4f 100644
--- a/security/py-plone.app.openid/Makefile
+++ b/security/py-plone.app.openid/Makefile
@@ -23,9 +23,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}plone.openid>=0:${PORTSDIR}/security/py-plon
${PYTHON_PKGNAMEPREFIX}Products.PlonePAS>=2.0.10:${PORTSDIR}/security/py-Products.PlonePAS \
${PYTHON_PKGNAMEPREFIX}Products.PluggableAuthService>=0:${PORTSDIR}/security/py-Products.PluggableAuthService
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
-#USES= zope
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-plone.keyring/Makefile b/security/py-plone.keyring/Makefile
index edd25f7e5347..c2858baf2090 100644
--- a/security/py-plone.keyring/Makefile
+++ b/security/py-plone.keyring/Makefile
@@ -18,9 +18,7 @@ RUN_DEPENDS= zodb${PYTHON_PKGNAMESUFFIX}>=0:${PORTSDIR}/databases/zodb3 \
${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface \
${PYTHON_PKGNAMEPREFIX}zope.location>=0:${PORTSDIR}/devel/py-zope.location
-USES= zip
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python zip
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-plone.openid/Makefile b/security/py-plone.openid/Makefile
index 7b29232e8f0f..f186380e4705 100644
--- a/security/py-plone.openid/Makefile
+++ b/security/py-plone.openid/Makefile
@@ -19,10 +19,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openid>=0:${PORTSDIR}/security/py-openid \
${PYTHON_PKGNAMEPREFIX}Products.PluggableAuthService>=0:${PORTSDIR}/security/py-Products.PluggableAuthService \
zodb${PYTHON_PKGNAMESUFFIX}>=0:${PORTSDIR}/databases/zodb3
-USES= zip
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
-#USES= zope
+USES= python zip
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-plone.protect/Makefile b/security/py-plone.protect/Makefile
index 1460c07d1064..a4bdf7100768 100644
--- a/security/py-plone.protect/Makefile
+++ b/security/py-plone.protect/Makefile
@@ -17,10 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}plone.keyring>1.0:${PORTSDIR}/security/py-pl
${PYTHON_PKGNAMEPREFIX}zope.component>=0:${PORTSDIR}/devel/py-zope.component \
${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface
-USES= zip
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
-#USES= zope
+USES= python zip
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-plone.session/Makefile b/security/py-plone.session/Makefile
index 43d24b892038..41ce678980dc 100644
--- a/security/py-plone.session/Makefile
+++ b/security/py-plone.session/Makefile
@@ -18,10 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}plone.protect>=0:${PORTSDIR}/security/py-plo
${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface \
${PYTHON_PKGNAMEPREFIX}Products.PluggableAuthService>=0:${PORTSDIR}/security/py-Products.PluggableAuthService
-USES= zip
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
-#USES= zope
+USES= python zip
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-potr/Makefile b/security/py-potr/Makefile
index 80ae75168f91..7368f7a41942 100644
--- a/security/py-potr/Makefile
+++ b/security/py-potr/Makefile
@@ -15,8 +15,7 @@ LICENSE= LGPL3
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-pow/Makefile b/security/py-pow/Makefile
index d49373530dc4..c1da874704cf 100644
--- a/security/py-pow/Makefile
+++ b/security/py-pow/Makefile
@@ -13,8 +13,8 @@ COMMENT= Python OpenSSL Wrappers
OPTIONS_DEFINE= DOCS
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
+USES= python
+USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= POW
USE_OPENSSL= yes
diff --git a/security/py-pyclamd/Makefile b/security/py-pyclamd/Makefile
index 8113a47fd815..6c37d1834482 100644
--- a/security/py-pyclamd/Makefile
+++ b/security/py-pyclamd/Makefile
@@ -10,9 +10,8 @@ DISTFILES= pyclamd.py
MAINTAINER= bsd@dino.sk
COMMENT= Python ClamD interface module
-USE_PYTHON= yes
-USE_PYDISTUTILS=yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.pre.mk>
diff --git a/security/py-pycryptopp/Makefile b/security/py-pycryptopp/Makefile
index 1f113acc1a63..789f0c67e687 100644
--- a/security/py-pycryptopp/Makefile
+++ b/security/py-pycryptopp/Makefile
@@ -15,10 +15,9 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}darcsver>0:${PORTSDIR}/devel/py-darcsver \
${PYTHON_PKGNAMEPREFIX}setuptools_darcs>0:${PORTSDIR}/devel/py-setuptools_darcs
RUN_DEPENDS:= ${BUILD_DEPENDS}
-USE_PYTHON= yes
USE_GCC= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
post-extract:
@${REINPLACE_CMD} -e 's#<malloc.h>#<stdlib.h>#g' \
diff --git a/security/py-pyme/Makefile b/security/py-pyme/Makefile
index e6432d081d4d..e3e0d97864cc 100644
--- a/security/py-pyme/Makefile
+++ b/security/py-pyme/Makefile
@@ -14,9 +14,8 @@ COMMENT= Python interface to GPGME library
BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/swig13
LIB_DEPENDS= libgpgme.so:${PORTSDIR}/security/gpgme
-USES= gmake
-USE_PYTHON= 2
-USE_PYDISTUTILS=yes
+USES= gmake python:2
+USE_PYTHON= distutils
PYDISTUTILS_PKGNAME=pygpgme
MAKE_ARGS= PYTHON=${PYTHON_CMD}
diff --git a/security/py-pyptlib/Makefile b/security/py-pyptlib/Makefile
index 6c28ed895d56..ec978efb474a 100644
--- a/security/py-pyptlib/Makefile
+++ b/security/py-pyptlib/Makefile
@@ -12,8 +12,7 @@ COMMENT= Pluggable transport library
LICENSE= BSD3CLAUSE
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-pysha3/Makefile b/security/py-pysha3/Makefile
index ff6d53f7c793..79a389134796 100644
--- a/security/py-pysha3/Makefile
+++ b/security/py-pysha3/Makefile
@@ -13,9 +13,8 @@ COMMENT= SHA-3 (Keccak) for Python
LICENSE= PSFL
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
diff --git a/security/py-rsa/Makefile b/security/py-rsa/Makefile
index af2fe577048c..5e468b48f5a1 100644
--- a/security/py-rsa/Makefile
+++ b/security/py-rsa/Makefile
@@ -21,9 +21,8 @@ OPTIONS_DEFINE= TESTS
TESTS_DESC= Install tools for unit tests
TESTS_BUILD_DEPENDS= ${TEST_DEPENDS}
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} run_tests.py
diff --git a/security/py-slowaes/Makefile b/security/py-slowaes/Makefile
index f8e81da136e0..63d1c0e5d262 100644
--- a/security/py-slowaes/Makefile
+++ b/security/py-slowaes/Makefile
@@ -13,8 +13,7 @@ COMMENT= Implementation of AES in pure Python
LICENSE= APACHE20
-USE_PYTHON= 2
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python:2
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-ssh/Makefile b/security/py-ssh/Makefile
index 63500c418735..ad34ca20696d 100644
--- a/security/py-ssh/Makefile
+++ b/security/py-ssh/Makefile
@@ -13,8 +13,7 @@ COMMENT= Python SSH2 protocol library
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.1:${PORTSDIR}/security/py-pycrypto
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-sslstrip/Makefile b/security/py-sslstrip/Makefile
index c32b413282c0..447a117c33c2 100644
--- a/security/py-sslstrip/Makefile
+++ b/security/py-sslstrip/Makefile
@@ -14,8 +14,7 @@ COMMENT= Python program for SSL stripping
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openssl>=0:${PORTSDIR}/security/py-openssl \
${PYTHON_PKGNAMEPREFIX}twistedWeb>=0:${PORTSDIR}/www/py-twistedWeb
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-stem/Makefile b/security/py-stem/Makefile
index d770bae9ba4b..1cc3385fea25 100644
--- a/security/py-stem/Makefile
+++ b/security/py-stem/Makefile
@@ -13,8 +13,7 @@ COMMENT= Python controller library for Tor
LICENSE= LGPL3
-USES= tar:bzip2
-USE_PYTHON= yes
-USE_PYDISTUTILS=yes
+USES= python tar:bzip2
+USE_PYTHON= distutils
.include <bsd.port.mk>
diff --git a/security/py-tlslite/Makefile b/security/py-tlslite/Makefile
index 45b43fae6688..90b7f9c7ff98 100644
--- a/security/py-tlslite/Makefile
+++ b/security/py-tlslite/Makefile
@@ -10,8 +10,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python module implementing SSL 3.0, TLS 1.0, and TLS 1.1
-USE_PYTHON= 2
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python:2
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-trustedpickle/Makefile b/security/py-trustedpickle/Makefile
index 8c75f317591a..4513422a284b 100644
--- a/security/py-trustedpickle/Makefile
+++ b/security/py-trustedpickle/Makefile
@@ -11,8 +11,7 @@ DISTNAME= TrustedPickle
MAINTAINER= ports@FreeBSD.org
COMMENT= TrustedPickle is a Python (de)Pickler with a way to verify the data
-USES= dos2unix tar:tgz
-USE_PYTHON= yes
+USES= dos2unix python tar:tgz
PLIST_FILES= %%PYTHON_SITELIBDIR%%/TrustedPickle.py \
%%PYTHON_SITELIBDIR%%/TrustedPickle.pyc \
diff --git a/security/py-twistedConch/Makefile b/security/py-twistedConch/Makefile
index c3ac4b8eca0a..cb69bed237fb 100644
--- a/security/py-twistedConch/Makefile
+++ b/security/py-twistedConch/Makefile
@@ -16,9 +16,7 @@ LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1>=0.0.9a:${PORTSDIR}/devel/py-asn1
-USE_PYTHON= 2
-USE_PYDISTUTILS=yes
-PYDISTUTILS_AUTOPLIST= yes
-USES= tar:bzip2 twisted
+USE_PYTHON= distutils autoplist
+USES= python:2 tar:bzip2 twisted
.include <bsd.port.mk>
diff --git a/security/py-twofish/Makefile b/security/py-twofish/Makefile
index 934576c05274..a7e4851b90ea 100644
--- a/security/py-twofish/Makefile
+++ b/security/py-twofish/Makefile
@@ -12,7 +12,7 @@ DISTNAME= twofishmodule-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Twofish cryptographic module for Python
-USE_PYTHON= 2
+USES= python:2
GNU_CONFIGURE= yes
CFLAGS+= -fPIC
diff --git a/security/py-xmlsec/Makefile b/security/py-xmlsec/Makefile
index cef20e998e17..dfccc75e9f18 100644
--- a/security/py-xmlsec/Makefile
+++ b/security/py-xmlsec/Makefile
@@ -15,9 +15,8 @@ COMMENT= Python bindings for XML Security Library
LIB_DEPENDS= libxmlsec1.so:${PORTSDIR}/security/xmlsec1
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2
-USE_PYTHON= 2
-USE_PYDISTUTILS=yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python:2
+USE_PYTHON= distutils autoplist
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
diff --git a/security/py-yara/Makefile b/security/py-yara/Makefile
index d3e1d39e2713..30a35bd4b31b 100644
--- a/security/py-yara/Makefile
+++ b/security/py-yara/Makefile
@@ -15,9 +15,8 @@ GH_COMMIT= 6530e73
LIB_DEPENDS= libyara.so:${PORTSDIR}/security/yara
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
BUILD_WRKSRC= ${WRKSRC}/yara-python
INSTALL_WRKSRC= ${WRKSRC}/yara-python
diff --git a/security/py-zope.app.authentication/Makefile b/security/py-zope.app.authentication/Makefile
index e57e6da59fdc..e206ec24cdfa 100644
--- a/security/py-zope.app.authentication/Makefile
+++ b/security/py-zope.app.authentication/Makefile
@@ -33,8 +33,7 @@ RUN_DEPENDS= zodb${PYTHON_PKGNAMESUFFIX}>=0:${PORTSDIR}/databases/zodb3 \
${PYTHON_PKGNAMEPREFIX}zope.app.container>=0:${PORTSDIR}/devel/py-zope.app.container \
${PYTHON_PKGNAMEPREFIX}zope.app.component>=0:${PORTSDIR}/devel/py-zope.app.component
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-zope.app.localpermission/Makefile b/security/py-zope.app.localpermission/Makefile
index 70e3d5fb1c17..1d2cf7488943 100644
--- a/security/py-zope.app.localpermission/Makefile
+++ b/security/py-zope.app.localpermission/Makefile
@@ -20,8 +20,7 @@ RUN_DEPENDS= zodb${PYTHON_PKGNAMESUFFIX}>=0:${PORTSDIR}/databases/zodb3 \
${PYTHON_PKGNAMEPREFIX}zope.location>=0:${PORTSDIR}/devel/py-zope.location \
${PYTHON_PKGNAMEPREFIX}zope.security>=0:${PORTSDIR}/security/py-zope.security
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-zope.app.principalannotation/Makefile b/security/py-zope.app.principalannotation/Makefile
index 3c4821c518f8..3ef2e0eeddf7 100644
--- a/security/py-zope.app.principalannotation/Makefile
+++ b/security/py-zope.app.principalannotation/Makefile
@@ -18,8 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}transaction>=0:${PORTSDIR}/devel/py-transact
${PYTHON_PKGNAMEPREFIX}zope.processlifetime>=0:${PORTSDIR}/devel/py-zope.processlifetime \
${PYTHON_PKGNAMEPREFIX}zope.principalannotation>=0:${PORTSDIR}/security/py-zope.principalannotation
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-zope.app.security/Makefile b/security/py-zope.app.security/Makefile
index 7d2abe1a1798..9053aa02dc31 100644
--- a/security/py-zope.app.security/Makefile
+++ b/security/py-zope.app.security/Makefile
@@ -26,8 +26,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zope.app.localpermission>=0:${PORTSDIR}/secu
${PYTHON_PKGNAMEPREFIX}zope.securitypolicy>=0:${PORTSDIR}/security/py-zope.securitypolicy \
${PYTHON_PKGNAMEPREFIX}zope.login>=0:${PORTSDIR}/security/py-zope.login
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-zope.app.securitypolicy/Makefile b/security/py-zope.app.securitypolicy/Makefile
index ef118c011f5c..092a27d5ae93 100644
--- a/security/py-zope.app.securitypolicy/Makefile
+++ b/security/py-zope.app.securitypolicy/Makefile
@@ -29,8 +29,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zope.annotation>=0:${PORTSDIR}/devel/py-zope
${PYTHON_PKGNAMEPREFIX}zope.security>=0:${PORTSDIR}/security/py-zope.security \
${PYTHON_PKGNAMEPREFIX}zope.securitypolicy>=0:${PORTSDIR}/security/py-zope.securitypolicy
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-zope.authentication/Makefile b/security/py-zope.authentication/Makefile
index c82d1fe7b167..b826b2928ebf 100644
--- a/security/py-zope.authentication/Makefile
+++ b/security/py-zope.authentication/Makefile
@@ -20,9 +20,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zope.browser>=0:${PORTSDIR}/devel/py-zope.br
${PYTHON_PKGNAMEPREFIX}zope.schema>=0:${PORTSDIR}/devel/py-zope.schema \
${PYTHON_PKGNAMEPREFIX}zope.security>=0:${PORTSDIR}/security/py-zope.security
-USES= zip
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python zip
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-zope.login/Makefile b/security/py-zope.login/Makefile
index 80176753d8a1..1360369cb5b9 100644
--- a/security/py-zope.login/Makefile
+++ b/security/py-zope.login/Makefile
@@ -18,9 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zope.authentication>=0:${PORTSDIR}/security/
${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface \
${PYTHON_PKGNAMEPREFIX}zope.publisher>=0:${PORTSDIR}/devel/py-zope.publisher
-USES= zip
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python zip
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-zope.password/Makefile b/security/py-zope.password/Makefile
index 9cc9e490dcae..9cfc82447b09 100644
--- a/security/py-zope.password/Makefile
+++ b/security/py-zope.password/Makefile
@@ -17,8 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zope.component>=0:${PORTSDIR}/devel/py-zope.
${PYTHON_PKGNAMEPREFIX}zope.configuration>=0:${PORTSDIR}/devel/py-zope.configuration \
${PYTHON_PKGNAMEPREFIX}zope.interface>=0:${PORTSDIR}/devel/py-zope.interface
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-zope.pluggableauth/Makefile b/security/py-zope.pluggableauth/Makefile
index 6292d22abbc2..a492e9216c7d 100644
--- a/security/py-zope.pluggableauth/Makefile
+++ b/security/py-zope.pluggableauth/Makefile
@@ -28,8 +28,7 @@ RUN_DEPENDS= zodb${PYTHON_PKGNAMESUFFIX}>=0:${PORTSDIR}/databases/zodb3 \
${PYTHON_PKGNAMEPREFIX}zope.site>=0:${PORTSDIR}/devel/py-zope.site \
${PYTHON_PKGNAMEPREFIX}zope.traversing>=0:${PORTSDIR}/devel/py-zope.traversing
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-zope.principalannotation/Makefile b/security/py-zope.principalannotation/Makefile
index 5d1f8422cd89..0ca39d7a9524 100644
--- a/security/py-zope.principalannotation/Makefile
+++ b/security/py-zope.principalannotation/Makefile
@@ -21,8 +21,7 @@ RUN_DEPENDS= zodb${PYTHON_PKGNAMESUFFIX}>=0:${PORTSDIR}/databases/zodb3 \
${PYTHON_PKGNAMEPREFIX}zope.security>=0:${PORTSDIR}/security/py-zope.security \
${PYTHON_PKGNAMEPREFIX}zope.site>=0:${PORTSDIR}/devel/py-zope.site
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-zope.principalregistry/Makefile b/security/py-zope.principalregistry/Makefile
index 479a6120d980..482fd6b716af 100644
--- a/security/py-zope.principalregistry/Makefile
+++ b/security/py-zope.principalregistry/Makefile
@@ -19,8 +19,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zope.authentication>=0:${PORTSDIR}/security/
${PYTHON_PKGNAMEPREFIX}zope.password>=0:${PORTSDIR}/security/py-zope.password \
${PYTHON_PKGNAMEPREFIX}zope.security>=0:${PORTSDIR}/security/py-zope.security
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-zope.security/Makefile b/security/py-zope.security/Makefile
index 5553b4bf47fd..eb6bcf67bcd9 100644
--- a/security/py-zope.security/Makefile
+++ b/security/py-zope.security/Makefile
@@ -24,8 +24,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zope.component>=0:${PORTSDIR}/devel/py-zope.
${PYTHON_PKGNAMEPREFIX}pytz>=0:${PORTSDIR}/devel/py-pytz \
${PYTHON_PKGNAMEPREFIX}zope.configuration>=0:${PORTSDIR}/devel/py-zope.configuration
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-zope.securitypolicy/Makefile b/security/py-zope.securitypolicy/Makefile
index 82602e44bed1..01b5678ac1db 100644
--- a/security/py-zope.securitypolicy/Makefile
+++ b/security/py-zope.securitypolicy/Makefile
@@ -25,8 +25,7 @@ RUN_DEPENDS= zodb${PYTHON_PKGNAMESUFFIX}>=0:${PORTSDIR}/databases/zodb3 \
${PYTHON_PKGNAMEPREFIX}zope.security>=0:${PORTSDIR}/security/py-zope.security \
${PYTHON_PKGNAMEPREFIX}zope.dublincore>=3.7:${PORTSDIR}/devel/py-zope.dublincore
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/py-zope.session/Makefile b/security/py-zope.session/Makefile
index 37ff2a61dff7..92fc48ac8eb1 100644
--- a/security/py-zope.session/Makefile
+++ b/security/py-zope.session/Makefile
@@ -21,8 +21,7 @@ RUN_DEPENDS= zodb${PYTHON_PKGNAMESUFFIX}>=0:${PORTSDIR}/databases/zodb3 \
${PYTHON_PKGNAMEPREFIX}zope.publisher>=0:${PORTSDIR}/devel/py-zope.publisher \
${PYTHON_PKGNAMEPREFIX}zope.minmax>=0:${PORTSDIR}/devel/py-zope.minmax
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python
+USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
diff --git a/security/silktools/Makefile b/security/silktools/Makefile
index daa78476681e..fd45500dbd85 100644
--- a/security/silktools/Makefile
+++ b/security/silktools/Makefile
@@ -18,10 +18,9 @@ LIB_DEPENDS= liblzo2.so:${PORTSDIR}/archivers/lzo2 \
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-lzo=${LOCALBASE} --enable-packing-tools --with-python \
--prefix=${STAGEDIR}/${PREFIX}
-USE_PYTHON= yes
MAKE_ARGS= CC="${CC}" GCC_FLAGS="" CFLAGS_RELEASE=""
USE_LDCONFIG= yes
-USES= gmake perl5 pkgconfig libtool
+USES= gmake perl5 pkgconfig python libtool
USE_PERL5= build
OPTIONS_DEFINE= LOCALTIME
diff --git a/security/spike-proxy/Makefile b/security/spike-proxy/Makefile
index 0d860bf732cc..e8181eb0b42e 100644
--- a/security/spike-proxy/Makefile
+++ b/security/spike-proxy/Makefile
@@ -12,9 +12,8 @@ COMMENT= Tool looking for vulnerabilities in web applications
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openssl>=0:${PORTSDIR}/security/py-openssl
-USES= shebangfix tar:tgz
+USES= python shebangfix tar:tgz
SHEBANG_FILES= *.py
-USE_PYTHON= yes
NO_BUILD= yes
WRKSRC= ${WRKDIR}/spkproxy
diff --git a/security/sqlmap/Makefile b/security/sqlmap/Makefile
index 1985b4e4a5b4..fa0ddb3496d5 100644
--- a/security/sqlmap/Makefile
+++ b/security/sqlmap/Makefile
@@ -13,7 +13,7 @@ COMMENT= Automatic SQL injection tool
LICENSE= GPLv2
-USE_PYTHON= 2
+USES= python:2
WRKSRC= ${WRKDIR}/${PORTNAME}
SUB_FILES= ${PORTNAME}.sh
SUB_LIST= PYTHON_CMD=${PYTHON_CMD} \
diff --git a/security/ssh-multiadd/Makefile b/security/ssh-multiadd/Makefile
index 0ed439f8c320..5429ef605ae3 100644
--- a/security/ssh-multiadd/Makefile
+++ b/security/ssh-multiadd/Makefile
@@ -9,7 +9,7 @@ MASTER_SITES= SUNSITE/system/network/telnet
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool to add multiple ssh keys to the authentication agent
-USE_PYTHON_RUN= yes
+USES= python:run
NO_BUILD= yes
PLIST_FILES= bin/ssh-multiadd man/man1/ssh-multiadd.1.gz
diff --git a/security/sssd/Makefile b/security/sssd/Makefile
index d563ecf4c25e..6fb6ef7c156c 100644
--- a/security/sssd/Makefile
+++ b/security/sssd/Makefile
@@ -54,9 +54,8 @@ SUB_FILES= pkg-message
USE_AUTOTOOLS= libtoolize aclocal autoconf autoheader automake
AUTOMAKE_ARGS= -a -c -f
USE_LDCONFIG= yes
-USE_PYTHON= yes
USE_OPENLDAP= yes
-USES= gettext gmake iconv libtool pathfix pkgconfig shebangfix
+USES= gettext gmake iconv libtool pathfix pkgconfig python shebangfix
PATHFIX_MAKEFILEIN= Makefile.am
SHEBANG_FILES= src/tools/sss_obfuscate
diff --git a/security/switzerland/Makefile b/security/switzerland/Makefile
index fc7777be0b0e..25598bce5cbc 100644
--- a/security/switzerland/Makefile
+++ b/security/switzerland/Makefile
@@ -12,8 +12,8 @@ COMMENT= Test the integrity of communications over networks and firewalls
LICENSE= GPLv3
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
+USES= python
+USE_PYTHON= distutils
PORTDOCS= *
diff --git a/security/tsshbatch/Makefile b/security/tsshbatch/Makefile
index c4662eb33275..3bd2e8cfcbe0 100644
--- a/security/tsshbatch/Makefile
+++ b/security/tsshbatch/Makefile
@@ -16,7 +16,7 @@ LICENSE_PERMS= auto-accept
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}paramiko>=1.7.7.1:${PORTSDIR}/security/py-paramiko
-USE_PYTHON_RUN= yes
+USES= python:run
PLIST_FILES= bin/tsshbatch.py \
man/man1/tsshbatch.1.gz
diff --git a/security/w3af/Makefile b/security/w3af/Makefile
index 52fbb01bbeff..cf3d33cd91de 100644
--- a/security/w3af/Makefile
+++ b/security/w3af/Makefile
@@ -28,8 +28,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=2.1:${PORTSDIR}/devel/py-lxml \
RUN_DEPENDS:= ${BUILD_DEPENDS}
WRKSRC= ${WRKDIR}/${PORTNAME}
-USES= gettext tar:bzip2
-USE_PYTHON= yes
+USES= gettext python tar:bzip2
OPTIONS_DEFINE= GUI
OPTIONS_SUB= yes