update to postgresql8, inc. revision

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@13118 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
Markus W. Weißmann
2005-07-18 19:34:46 +00:00
parent 7ea332f8db
commit 1a7b8d9344
2 changed files with 7 additions and 7 deletions
+5 -5
View File
@@ -1,11 +1,11 @@
# $Id: Portfile,v 1.2 2004/12/28 07:12:34 mww Exp $
# $Id: Portfile,v 1.3 2005/07/18 19:34:45 mww Exp $
PortSystem 1.0
PortGroup python24 1.0
name py-pgsql
version 2.4
revision 1
revision 2
categories python databases
platforms darwin
maintainers mww@opendarwin.org
@@ -26,15 +26,15 @@ distname pyPgSQL-${version}
checksums md5 56d4003e5192de9a09de468a7641bd11
patchfiles patch-setup.py.diff
depends_lib-append lib:libpq:postgresql
depends_lib-append port:postgresql8
worksrcdir pypgsql
post-patch {
post-patch {
reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/setup.py
}
post-destroot {
post-destroot {
xinstall -m 644 -W ${worksrcpath} Announce ChangeLog README \
README.html TODO ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath}/examples basic.py demo1a.py \
+2 -2
View File
@@ -6,8 +6,8 @@
elif sys.platform == "darwin": # Mac OS X
- include_dirs = ["/usr/local/pgsql/include"]
- library_dirs = ["/usr/local/pgsql/lib"]
+ include_dirs = ["__PREFIX__/include"]
+ library_dirs = ["__PREFIX__/lib"]
+ include_dirs = ["__PREFIX__/include/pgsql8"]
+ library_dirs = ["__PREFIX__/lib/pgsql8"]
optional_libs += ["ssl", "crypto"]
elif sys.platform == "win32":
# This works with the PostgreSQL source tree, so it's a bit ugly ...