source: trunk/dports/python/pycurl/Portfile @ 3612

Last change on this file since 3612 was 3612, checked in by fkr, 17 years ago

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

first category is python now.

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1# $Id: Portfile,v 1.13 2003/10/08 12:51:35 fkr Exp $
2
3PortSystem 1.0
4name            pycurl
5version         7.10.5
6categories      python net devel
7maintainers     jpm@opendarwin.org
8description     python interface to libcurl
9long_description        Python module interface to the cURL library which is \
10        a tool for transferring files with URL syntax, supporting many \
11        protocols.
12platforms       darwin
13master_sites    http://pycurl.sourceforge.net/download/
14checksums       md5 0245b6962b9104e00079e166dd74cd53
15# libcurl needs version dependency - horrible interim solution
16depends_lib     bin:XXX:curl bin:python:python
17patchfiles      setup.py.diff
18post-patch {
19        reinplace "s|@include_dirs@|${prefix}/include|g" "${worksrcpath}/setup.py"
20}
21configure       {}
22build           {}
23build.cmd       python setup.py install --prefix=${destroot}${prefix} \
24        --curl-config=${prefix}/bin/curl-config
25destroot.target {}
26destroot.destdir        {}
27post-destroot {
28        # remind user to define/add installed path to python path
29        ui_msg "\nbe sure the install path is included in your python path:"
30        ui_msg "setenv PYTHONPATH \$PYTHONPATH:${prefix}/lib/python2.2/site-packages\n"
31}
Note: See TracBrowser for help on using the repository browser.