Changeset 5225


Ignore:
Timestamp:
Feb 5, 2004, 10:56:30 PM (20 years ago)
Author:
mww
Message:

update to 1.1.11, xinstall instead

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-psycopg/Portfile

    r4086 r5225  
    1 # $Id: Portfile,v 1.3 2003/11/29 15:29:49 mww Exp $
     1# $Id: Portfile,v 1.4 2004/02/05 22:56:30 mww Exp $
    22
    33PortSystem 1.0
    44
    55name            py-psycopg
    6 version         1.1.10
     6version         1.1.11
    77categories      python databases
    88maintainers     mww@opendarwin.org
     
    1717master_sites    http://initd.org/pub/software/psycopg/
    1818distname        psycopg-${version}
    19 checksums       md5 2279a6aaddf8a8fbec44f782e5cdaa02
     19checksums       md5 707555418936d386e86d2c6276b38428
    2020
    2121#depends on postgresql +devel variant!
    2222depends_lib     lib:libpq:postgresql \
    23                 lib:mxDateTime.h:py-mx \
     23                lib:XXX:py-mx \
    2424                bin:python:python
    2525
    2626configure.env   LDFLAGS="-L${prefix}/lib" \
     27                CFLAGS="-I${prefix}/include" \
    2728                CPPFLAGS="-I${prefix}/include \
    2829        -I${prefix}/lib/python2.3/site-packages/mx/DateTime/mxDateTime/ \
    2930        -I${prefix}/lib/python2.2/site-packages/mx/DateTime/mxDateTime/ \
    30         -I${prefix}/lib/python2.1/site-packages/mx/DateTime/mxDateTime/"
    31 configure.args  --with-postgres-includes=${prefix}/include/postgresql/server
     31        -I${prefix}/lib/python2.1/site-packages/mx/DateTime/mxDateTime/" \
     32                PATH="${prefix}/bin:/usr/bin:/bin"
     33configure.args  --with-postgres-includes=${prefix}/include/
    3234
    3335post-configure {
     
    4446
    4547post-destroot   {
    46         file mkdir ${destroot}${prefix}/share/doc/${name}
    47         file copy ${worksrcpath}/AUTHORS ${worksrcpath}/COPYING \
    48                 ${worksrcpath}/RELEASE-1.0 ${worksrcpath}/CREDITS \
    49                 ${worksrcpath}/SUCCESS ${worksrcpath}/ChangeLog \
    50                 ${worksrcpath}/VERSION ${worksrcpath}/doc/examples \
    51                 ${worksrcpath}/NEWS ${worksrcpath}/README ${worksrcpath}/FAQ \
    52                 ${worksrcpath}/INSTALL ${worksrcpath}/doc/python-taylor.txt \
    53                 ${worksrcpath}/TODO ${destroot}${prefix}/share/doc/${name}
     48        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples
     49        xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING RELEASE-1.0 CREDITS \
     50                SUCCESS ChangeLog VERSION NEWS README FAQ INSTALL TODO \
     51                doc/python-taylor.txt ${destroot}${prefix}/share/doc/${name}
     52        xinstall -m 644 -W ${worksrcpath}/doc/examples binary.py bool.py \
     53                commit.py copy_from.py copy_from2.py copy_to.py dictfetch.py \
     54                dt.py first.py integrity.py notify.py oid.py somehackers.jpg \
     55                threads.py usercast.py whereareyou.jpg work.py \
     56                ${destroot}${prefix}/share/doc/${name}/examples
    5457}
Note: See TracChangeset for help on using the changeset viewer.