summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2003-01-21 19:09:55 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2003-01-21 19:09:55 +0000
commitad3b9061cf9c101a0d5415eeebe582062d682b85 (patch)
tree313946a6bb2689892ca0acb369f3381ca676c720 /ftp
parentUpdate to 0.1.4 (diff)
Update to 7.10.3
Notes
Notes: svn path=/head/; revision=73741
Diffstat (limited to 'ftp')
-rw-r--r--ftp/py-curl/Makefile17
-rw-r--r--ftp/py-curl/distinfo2
-rw-r--r--ftp/py-curl/pkg-plist28
3 files changed, 42 insertions, 5 deletions
diff --git a/ftp/py-curl/Makefile b/ftp/py-curl/Makefile
index c778bbe24487..2ea4bafa2705 100644
--- a/ftp/py-curl/Makefile
+++ b/ftp/py-curl/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= curl
-PORTVERSION= 7.9.8.4
+PORTVERSION= 7.10.3
CATEGORIES= ftp python
MASTER_SITES= http://pycurl.sourceforge.net/download/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -21,10 +21,19 @@ USE_PYDISTUTILS= yes
USE_REINPLACE= yes
EXTRACT_AFTER_ARGS= | ${TAR} -xf - 2>/dev/null || true
+.include <bsd.port.pre.mk>
+CURL_VERSION!= ${LOCALBASE}/bin/curl-config --version|grep '${PORTVERSION}$$' \
+ 2>&1 || ${TRUE}
+.if empty(CURL_VERSION)
+IGNORE= requires curl-${PORTVERSION}
+.endif
+
post-patch:
${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' \
+ -e 's@^\(include_dirs = \).*@\1["${LOCALBASE}/include"]@' \
+ -e 's@^\(PACKAGE = \).*@\1"py-curl"@' \
+ -e 's@\(os.path.join(\)datadir, "examples")@\1"share/examples/py-curl")@' \
+ -e 's@name=PACKAGE@name="pycurl"@' \
${WRKSRC}/setup.py
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/ftp/py-curl/distinfo b/ftp/py-curl/distinfo
index 71451dedb9c1..68f1fea16015 100644
--- a/ftp/py-curl/distinfo
+++ b/ftp/py-curl/distinfo
@@ -1 +1 @@
-MD5 (pycurl-7.9.8.4.tar.gz) = 64d12cba8c07959e5c26ded3a6fbba4c
+MD5 (pycurl-7.10.3.tar.gz) = 33c2d6b2edd319877454acae643ae2d4
diff --git a/ftp/py-curl/pkg-plist b/ftp/py-curl/pkg-plist
index 0e3cbadea570..dd9ba9182c96 100644
--- a/ftp/py-curl/pkg-plist
+++ b/ftp/py-curl/pkg-plist
@@ -1,13 +1,41 @@
%%PYTHON_SITELIBDIR%%/pycurl.so
+share/doc/py-curl/ChangeLog
share/doc/py-curl/COPYING
share/doc/py-curl/INSTALL
share/doc/py-curl/README
share/doc/py-curl/TODO
+share/doc/py-curl/html/callbacks.html
+share/doc/py-curl/html/curlmultiobjects.html
+share/doc/py-curl/html/curlobject.html
+share/doc/py-curl/html/pycurl.html
+share/doc/py-curl/tests/test.py
+share/doc/py-curl/tests/test_cb.py
+share/doc/py-curl/tests/test_debug.py
+share/doc/py-curl/tests/test_fileupload.py
+share/doc/py-curl/tests/test_getinfo.py
+share/doc/py-curl/tests/test_gtk.py
+share/doc/py-curl/tests/test_internals.py
+share/doc/py-curl/tests/test_memleak.py
+share/doc/py-curl/tests/test_multi.py
+share/doc/py-curl/tests/test_multi2.py
+share/doc/py-curl/tests/test_multi3.py
+share/doc/py-curl/tests/test_multi4.py
+share/doc/py-curl/tests/test_multi5.py
+share/doc/py-curl/tests/test_multi6.py
+share/doc/py-curl/tests/test_multi_vs_thread.py
+share/doc/py-curl/tests/test_post.py
+share/doc/py-curl/tests/test_post2.py
+share/doc/py-curl/tests/test_stringio.py
+share/doc/py-curl/tests/test_xmlrpc.py
+share/doc/py-curl/tests/util.py
share/examples/py-curl/basicfirst.py
share/examples/py-curl/curl.py
share/examples/py-curl/gtkhtml_demo.py
+share/examples/py-curl/retriever-multi.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/tests
+@dirrm share/doc/py-curl/html
@dirrm share/doc/py-curl