aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-04-29 22:07:49 +0800
committerijliao <ijliao@FreeBSD.org>2002-04-29 22:07:49 +0800
commitcb5581d80c4c46e74cf3523a1cab7b6e1f27a8cd (patch)
treef2556343a13d0dc9717fc63c4480fda127465526 /ftp
parenta7fd05043d849693c5c478e5b01af13f1b10263e (diff)
downloadfreebsd-ports-gnome-cb5581d80c4c46e74cf3523a1cab7b6e1f27a8cd.tar.gz
freebsd-ports-gnome-cb5581d80c4c46e74cf3523a1cab7b6e1f27a8cd.tar.zst
freebsd-ports-gnome-cb5581d80c4c46e74cf3523a1cab7b6e1f27a8cd.zip
use USE_PYDISTUTILS
Diffstat (limited to 'ftp')
-rw-r--r--ftp/ftpcube/Makefile9
-rw-r--r--ftp/py-curl/Makefile9
2 files changed, 3 insertions, 15 deletions
diff --git a/ftp/ftpcube/Makefile b/ftp/ftpcube/Makefile
index 35ee98ebaee3..8c2c3062ff22 100644
--- a/ftp/ftpcube/Makefile
+++ b/ftp/ftpcube/Makefile
@@ -17,13 +17,6 @@ MAINTAINER= ports@FreeBSD.org
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk.py:${PORTSDIR}/x11-toolkits/py-gtk
USE_PYTHON= yes
-
-SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
-
-do-build:
- @${SETUP_CMD} build
-
-do-install:
- @${SETUP_CMD} install
+USE_PYDISTUTILS= yes
.include <bsd.port.mk>
diff --git a/ftp/py-curl/Makefile b/ftp/py-curl/Makefile
index 9d73d134fe37..13d24a2ecbfb 100644
--- a/ftp/py-curl/Makefile
+++ b/ftp/py-curl/Makefile
@@ -14,12 +14,11 @@ DISTNAME= py${PORTNAME}-${PORTVERSION}
MAINTAINER= perky@fallin.lv
-BUILD_DEPENDS= ${PYDISTUTILS}
LIB_DEPENDS= curl.2:${PORTSDIR}/ftp/curl
USE_PYTHON= yes
+USE_PYDISTUTILS= yes
PLIST_SUB+= PYTHON_SITELIBDIR="lib/${PYTHON_VERSION}/site-packages"
-PYDIST_SETUP= cd ${WRKSRC} && ${PYTHON_CMD} setup.py
post-patch:
.for file in ${REPATCHFILES}
@@ -27,12 +26,8 @@ post-patch:
${WRKSRC}/setup.py
.endfor
-do-build:
- ${PYDIST_SETUP} build
-
-do-install:
- ${PYDIST_SETUP} install -c -O1 --prefix=${PREFIX}
.if !defined(NOPORTDOCS)
+post-install:
${MKDIR} ${PREFIX}/share/examples/py-curl
cd ${WRKSRC} && ${INSTALL_DATA} tests/* ${PREFIX}/share/examples/py-curl
.endif