aboutsummaryrefslogtreecommitdiff
path: root/ftp/py-curl
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-29 14:07:49 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-29 14:07:49 +0000
commit18d779daf5ac98792e4107bfd461400a24b5e06b (patch)
tree5d650097895193535a6df75e62ffcddc4a072284 /ftp/py-curl
parentbe17dde214a20fb2d26b647f8bab4fd7ff23e6d2 (diff)
downloadports-18d779daf5ac98792e4107bfd461400a24b5e06b.tar.gz
ports-18d779daf5ac98792e4107bfd461400a24b5e06b.zip
Notes
Diffstat (limited to 'ftp/py-curl')
-rw-r--r--ftp/py-curl/Makefile9
1 files changed, 2 insertions, 7 deletions
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