# $Id: Portfile,v 1.13 2003/10/08 12:51:35 fkr Exp $ PortSystem 1.0 name pycurl version 7.10.5 categories python net devel maintainers jpm@opendarwin.org description python interface to libcurl long_description Python module interface to the cURL library which is \ a tool for transferring files with URL syntax, supporting many \ protocols. platforms darwin master_sites http://pycurl.sourceforge.net/download/ checksums md5 0245b6962b9104e00079e166dd74cd53 # libcurl needs version dependency - horrible interim solution depends_lib bin:XXX:curl bin:python:python patchfiles setup.py.diff post-patch { reinplace "s|@include_dirs@|${prefix}/include|g" "${worksrcpath}/setup.py" } configure {} build {} build.cmd python setup.py install --prefix=${destroot}${prefix} \ --curl-config=${prefix}/bin/curl-config destroot.target {} destroot.destdir {} post-destroot { # remind user to define/add installed path to python path ui_msg "\nbe sure the install path is included in your python path:" ui_msg "setenv PYTHONPATH \$PYTHONPATH:${prefix}/lib/python2.2/site-packages\n" }