# $Id: Portfile,v 1.10 2003/07/30 22:20:53 fkr Exp $ PortSystem 1.0 name pycurl version 7.10.5 revision 0 categories net devel python 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 install.target {} install.destroot {} post-install { # 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" }