aboutsummaryrefslogtreecommitdiff
path: root/ftp/py-curl
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2002-10-25 21:55:45 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2002-10-25 21:55:45 +0000
commit6bf5ff1ae6692d68c8eee75e7b3e523af5c92979 (patch)
treec4fdf3a814a3d41d7cc1b01c1e5b69011106ce25 /ftp/py-curl
parent189b4c69e78513a2c498d006f39c267c0a05a826 (diff)
downloadports-6bf5ff1ae6692d68c8eee75e7b3e523af5c92979.tar.gz
ports-6bf5ff1ae6692d68c8eee75e7b3e523af5c92979.zip
Notes
Diffstat (limited to 'ftp/py-curl')
-rw-r--r--ftp/py-curl/Makefile19
-rw-r--r--ftp/py-curl/distinfo2
-rw-r--r--ftp/py-curl/pkg-plist26
3 files changed, 20 insertions, 27 deletions
diff --git a/ftp/py-curl/Makefile b/ftp/py-curl/Makefile
index 1a6930ad94f9..c778bbe24487 100644
--- a/ftp/py-curl/Makefile
+++ b/ftp/py-curl/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= curl
-PORTVERSION= 7.9.7
+PORTVERSION= 7.9.8.4
CATEGORIES= ftp python
-MASTER_SITES= http://pycurl.sourceforge.net/
+MASTER_SITES= http://pycurl.sourceforge.net/download/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-${PORTVERSION}
@@ -18,18 +18,13 @@ LIB_DEPENDS= curl.2:${PORTSDIR}/ftp/curl
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-PLIST_SUB+= PYTHON_SITELIBDIR="lib/${PYTHON_VERSION}/site-packages"
+USE_REINPLACE= yes
+EXTRACT_AFTER_ARGS= | ${TAR} -xf - 2>/dev/null || true
post-patch:
-.for file in ${REPATCHFILES}
- ${PERL} -pi -e 's@"include"@"${LOCALBASE}/include"],library_dirs=["${LOCALBASE}/lib"@' \
+ ${REINPLACE_CMD} -e 's@\(curl-config --\)@${LOCALBASE}/bin/\1@g' \
+ -e 's@os.path.join("doc", "pycurl")@"share/doc/py-curl"@g' \
+ -e 's@os.path.join("d.*"examples")@"share/examples/py-curl"@g' \
${WRKSRC}/setup.py
-.endfor
-
-.if !defined(NOPORTDOCS)
-post-install:
- ${MKDIR} ${PREFIX}/share/examples/py-curl
- cd ${WRKSRC} && ${INSTALL_DATA} tests/* ${PREFIX}/share/examples/py-curl
-.endif
.include <bsd.port.mk>
diff --git a/ftp/py-curl/distinfo b/ftp/py-curl/distinfo
index 137967e84707..71451dedb9c1 100644
--- a/ftp/py-curl/distinfo
+++ b/ftp/py-curl/distinfo
@@ -1 +1 @@
-MD5 (pycurl-7.9.7.tar.gz) = be5380290653b0b2569eb9cb5197f530
+MD5 (pycurl-7.9.8.4.tar.gz) = 64d12cba8c07959e5c26ded3a6fbba4c
diff --git a/ftp/py-curl/pkg-plist b/ftp/py-curl/pkg-plist
index bb62baa4d2b9..0e3cbadea570 100644
--- a/ftp/py-curl/pkg-plist
+++ b/ftp/py-curl/pkg-plist
@@ -1,15 +1,13 @@
%%PYTHON_SITELIBDIR%%/pycurl.so
-%%PORTDOCS%%share/examples/py-curl/basicfirst.py
-%%PORTDOCS%%share/examples/py-curl/basicfirst2.py
-%%PORTDOCS%%share/examples/py-curl/test.py
-%%PORTDOCS%%share/examples/py-curl/test_cb.py
-%%PORTDOCS%%share/examples/py-curl/test_debug.py
-%%PORTDOCS%%share/examples/py-curl/test_getinfo.py
-%%PORTDOCS%%share/examples/py-curl/test_gtk.py
-%%PORTDOCS%%share/examples/py-curl/test_post.py
-%%PORTDOCS%%share/examples/py-curl/test_post2.py
-%%PORTDOCS%%share/examples/py-curl/test_stringio.py
-%%PORTDOCS%%share/examples/py-curl/test_xmlrpc.py
-%%PORTDOCS%%share/examples/py-curl/test_xmlrpc2.py
-%%PORTDOCS%%share/examples/py-curl/xmlrpc_curl.py
-%%PORTDOCS%%@dirrm share/examples/py-curl
+share/doc/py-curl/COPYING
+share/doc/py-curl/INSTALL
+share/doc/py-curl/README
+share/doc/py-curl/TODO
+share/examples/py-curl/basicfirst.py
+share/examples/py-curl/curl.py
+share/examples/py-curl/gtkhtml_demo.py
+share/examples/py-curl/retriever.py
+share/examples/py-curl/sfquery.py
+share/examples/py-curl/xmlrpc_curl.py
+@dirrm share/examples/py-curl
+@dirrm share/doc/py-curl