You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
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:
@@ -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 \
|
||||
|
||||
@@ -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 ...
|
||||
|
||||
Reference in New Issue
Block a user