Ticket #11059: py-pgsql.patch
File py-pgsql.patch, 1.4 KB (added by pyrios@…, 18 years ago) |
---|
-
Portfile
old new 1 # $Id: Portfile 20384 2006-11-02 23:27:36Z blair@macports.org$1 # $Id: $ 2 2 3 3 PortSystem 1.0 4 4 PortGroup python24 1.0 5 5 6 6 name py-pgsql 7 version 2. 48 revision 27 version 2.5.1 8 revision 3 9 9 categories python databases 10 10 platforms darwin 11 11 maintainers mww@opendarwin.org … … 23 23 homepage http://pypgsql.sourceforge.net/ 24 24 master_sites sourceforge:pypgsql 25 25 distname pyPgSQL-${version} 26 checksums md5 56d4003e5192de9a09de468a7641bd11 27 patchfiles patch-setup.py.diff 26 checksums pyPgSQL-2.5.1.tar.gz md5 82670f6f1652aa4766fdaec2cb43debd\ 27 pyPgSQL-2.5.1.tar.gz sha1 ae286d2b0b0e6896223430887dd244e9eeef705b\ 28 pyPgSQL-2.5.1.tar.gz rmd160 c41bc3d56e09cedc2022a6a80a620ca27dde8ca3 28 29 29 depends_lib-append port:postgresql8 30 depends_lib-append port:postgresql81 30 31 31 worksrcdir pypgsql 32 33 post-patch { 34 reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py 35 } 32 build.env {PATH=/opt/local/lib/postgresql81/bin:$PATH} 36 33 37 34 post-destroot { 38 35 xinstall -m 644 -W ${worksrcpath} Announce ChangeLog README \ 39 README.html TODO ${destroot}${prefix}/share/doc/${name}36 README.html PKG-INFO ${destroot}${prefix}/share/doc/${name} 40 37 xinstall -m 644 -W ${worksrcpath}/examples basic.py demo1a.py \ 41 38 demo1b.py demo2a.py demo2b.py \ 42 39 ${destroot}${prefix}/share/doc/${name}/examples