aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authormva <mva@FreeBSD.org>2014-10-20 01:18:24 +0800
committermva <mva@FreeBSD.org>2014-10-20 01:18:24 +0800
commit7ef046b70810601dfd2a14bf5ef9fe08db3e2280 (patch)
treeceb0deb49d4ce529d80f76432ab85612c9377d7f /ftp
parent4b28e3ef41b41ae0cb3f634461e996aa79f1d6d5 (diff)
downloadfreebsd-ports-gnome-7ef046b70810601dfd2a14bf5ef9fe08db3e2280.tar.gz
freebsd-ports-gnome-7ef046b70810601dfd2a14bf5ef9fe08db3e2280.tar.zst
freebsd-ports-gnome-7ef046b70810601dfd2a14bf5ef9fe08db3e2280.zip
- Convert ports from french/ and ftp/ to new USES=python
Approved by: portmgr (implicit)
Diffstat (limited to 'ftp')
-rw-r--r--ftp/ftpcube/Makefile11
-rw-r--r--ftp/py-ftputil/Makefile4
-rw-r--r--ftp/py-pyftpdlib/Makefile4
3 files changed, 9 insertions, 10 deletions
diff --git a/ftp/ftpcube/Makefile b/ftp/ftpcube/Makefile
index 29d2ce526009..1a657fffb3e5 100644
--- a/ftp/ftpcube/Makefile
+++ b/ftp/ftpcube/Makefile
@@ -14,12 +14,11 @@ LICENSE= ART10
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/paramiko/__init__.py:${PORTSDIR}/security/py-paramiko
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
-PYDISTUTILS_AUTOPLIST= yes
-USE_WX= 2.6+
-WX_COMPS= python
-WX_UNICODE= yes
+USES= python
+USE_PYTHON= distutils autoplist
+USE_WX= 2.6+
+WX_COMPS= python
+WX_UNICODE= yes
post-patch:
@${REINPLACE_CMD} 's,/usr/local,${PREFIX},' ${WRKSRC}/setup.cfg
diff --git a/ftp/py-ftputil/Makefile b/ftp/py-ftputil/Makefile
index 1349dbdc81c3..b1edb4bbeb81 100644
--- a/ftp/py-ftputil/Makefile
+++ b/ftp/py-ftputil/Makefile
@@ -11,8 +11,8 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= High-level FTP client library
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
+USES= python
+USE_PYTHON= distutils
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
PORTDOC_FILES= README.html README.txt ftputil.html ftputil.txt ftputil_ru_utf8.txt
diff --git a/ftp/py-pyftpdlib/Makefile b/ftp/py-pyftpdlib/Makefile
index 5780a11e38ed..fef29f7ceed5 100644
--- a/ftp/py-pyftpdlib/Makefile
+++ b/ftp/py-pyftpdlib/Makefile
@@ -13,8 +13,8 @@ COMMENT= Python FTP server library
LICENSE= MIT
-USE_PYTHON= 2
-USE_PYDISTUTILS= yes
+USES= python:2
+USE_PYTHON= distutils
OPTIONS_DEFINE= SENDFILE OPENSSL EXAMPLES
OPTIONS_DEFAULT= SENDFILE OPENSSL