postgresql-tcl stable port information

Package: postgresql-tcl
Version: 8.2.11
Revision: 1
Description: PostgreSQL TCL tools
License: BSD
Maintainer: Benjamin Reed

Depends: <<
postgresql82-shlibs,
postgresql82,
tcltk
<<
BuildDepends: <<
fink (>= 0.28.0-1),
tcltk,
tcltk-dev,
postgresql82-dev,
bison,
readline5,
system-openssl-dev
<<
# lclint installs %p/lib/Makefile, which leads configure to believe
# it has to use tcltk from its builddir, hence failure :
BuildConflicts: lclint
Conflicts: postgresql-ssl-tcl (<< %v-%r)
Replaces: <<
postgresql-ssl-tcl (<< %v-%r),
postgresql,
postgresql-ssl
<<

CustomMirror: <<
afr-ZA: ftp://ftp.za.postgresql.org/mirror/ftp.postgresql.org
asi-CN: ftp://ftp.cn.postgresql.org/pub/postgresql
asi-ID: ftp://ftp9.id.postgresql.org/postgresql
asi-ID: http://ftp9.id.postgresql.org
asi-JP: ftp://ftp2.jp.postgresql.org/pub/postgresql
asi-JP: ftp://ftp3.jp.postgresql.org/pub/db/postgresql
asi-JP: http://ftp2.jp.postgresql.org/pub/postgresql
asi-KR: ftp://ftp2.kr.postgresql.org/pub/postgresql
asi-MY: ftp://ftp.my.postgresql.org/pub/postgresql
asi-TW: ftp://ftp.tw.postgresql.org/pub/postgresql
asi-TW: ftp://ftp4.tw.postgresql.org/pub/postgresql
asi-TW: http://ftp4.tw.postgresql.org/pub/postgresql
asi-VN: ftp://ftp.vn.postgresql.org/postgresql
aus-AU: ftp://ftp2.au.postgresql.org/pub/postgresql
eur-AT: ftp://ftp.at.postgresql.org/db/www.postgresql.org/pub
eur-AT: http://ftp.at.postgresql.org/db/www.postgresql.org/pub
eur-BA: ftp://ftp.ba.postgresql.org/pub/postgresql
eur-BE: ftp://ftp.be.postgresql.org/postgresql
eur-BE: ftp://ftp2.be.postgresql.org/pub/postgresql
eur-BE: http://ftp.be.postgresql.org/postgresql
eur-BE: http://ftp2.be.postgresql.org
eur-BG: ftp://ftp3.bg.postgresql.org/postgresql
eur-CH: ftp://ftp.ch.postgresql.org/mirror/postgresql
eur-CH: ftp://ftp2.ch.postgresql.org/pub/mirrors/postgresql
eur-CH: http://ftp2.ch.postgresql.org/pub/mirrors/postgresql
eur-CZ: ftp://ftp.cz.postgresql.org/pgsql
eur-CZ: ftp://ftp2.cz.postgresql.org/pub/postgresql
eur-CZ: http://ftp.cz.postgresql.org
eur-CZ: http://ftp2.cz.postgresql.org/pub/postgresql
eur-DE: ftp://ftp.de.postgresql.org/packages/databases/PostgreSQL
eur-DE: ftp://ftp10.de.postgresql.org/pub/mirror/postgresql
eur-DE: ftp://ftp7.de.postgresql.org/pub/ftp.postgresql.org
eur-DE: ftp://ftp8.de.postgresql.org/pub/misc/pgsql
eur-DE: ftp://ftp9.de.postgresql.org/unix/databases/postgresql
eur-DE: http://ftp.de.postgresql.org/packages/databases/PostgreSQL
eur-DE: http://ftp8.de.postgresql.org/pub/misc/pgsql
eur-DK: ftp://ftp.dk.postgresql.org/postgresql
eur-DK: http://ftp.dk.postgresql.org/postgresql
eur-EE: ftp://ftp.ee.postgresql.org/pub/postgresql
eur-EE: http://ftp.ee.postgresql.org/pub/postgresql
eur-ES: ftp://ftp5.es.postgresql.org/mirror/postgresql
eur-ES: http://ftp5.es.postgresql.org/mirror/postgresql
eur-FI: ftp://ftp.fi.postgresql.org/pub/postgresql
eur-FR: ftp://ftp.fr.postgresql.org
eur-FR: ftp://ftp4.fr.postgresql.org/pub/mirrors/postgresql
eur-GR: ftp://ftp.gr.postgresql.org/pub/databases/postgresql
eur-GR: ftp://ftp2.gr.postgresql.org/pub/databases/postgresql
eur-GR: ftp://ftp3.gr.postgresql.org/mirrors/postgresql
eur-GR: http://ftp.gr.postgresql.org/pub/databases/postgresql
eur-GR: http://ftp2.gr.postgresql.org/pub/databases/postgresql
eur-GR: http://ftp3.gr.postgresql.org/mirrors/postgresql
eur-IE: ftp://ftp.ie.postgresql.org/mirrors/ftp.postgresql.org/pub
eur-IE: ftp://ftp2.ie.postgresql.org/mirrors/ftp.postgresql.org
eur-IE: http://ftp.ie.postgresql.org/mirrors/ftp.postgresql.org/pub
eur-IE: http://ftp2.ie.postgresql.org/mirrors/ftp.postgresql.org
eur-IL: ftp://ftp.il.postgresql.org/ftp.postgresql.org
eur-IS: ftp://ftp.is.postgresql.org/pub/postgresql
eur-IT: ftp://ftp2.it.postgresql.org/mirrors/postgres
eur-IT: ftp://ftp6.it.postgresql.org/pub/PostgreSQL
eur-IT: ftp://ftp7.it.postgresql.org/pub/unix/postgres
eur-IT: http://ftp2.it.postgresql.org/mirrors/postgres
eur-IT: http://ftp7.it.postgresql.org/pub/unix/postgres
eur-LT: ftp://ftp.lt.postgresql.org
eur-LT: ftp://ftp2.lt.postgresql.org/pub/PostgreSQL
eur-LT: http://ftp.lt.postgresql.org
eur-LT: http://ftp2.lt.postgresql.org/pub/PostgreSQL
eur-LV: ftp://ftp.lv.postgresql.org/mirrors/ftp.postgresql.org
eur-NL: ftp://ftp.nl.postgresql.org/pub/mirror/postgresql
eur-NL: ftp://ftp2.nl.postgresql.org/mirror/postgresql
eur-NL: ftp://ftp4.nl.postgresql.org/postgresql.zeelandnet.nl
eur-NL: http://ftp2.nl.postgresql.org
eur-NL: http://ftp4.nl.postgresql.org
eur-NO: ftp://ftp.no.postgresql.org/pub/databases/postgresql
eur-PL: ftp://ftp6.pl.postgresql.org/pub/postgresql
eur-PL: ftp://ftp7.pl.postgresql.org/pub/mirror/ftp.postgresql.org
eur-PL: ftp://ftp8.pl.postgresql.org/pub/postgresql
eur-PL: ftp://ftp9.pl.postgresql.org/pub/mirrors/ftp.postgresql.org
eur-PL: http://ftp6.pl.postgresql.org/pub/postgresql
eur-PL: http://ftp8.pl.postgresql.org/pub/postgresql
eur-PL: http://ftp9.pl.postgresql.org/pub/mirrors/ftp.postgresql.org
eur-PT: ftp://ftp.pt.postgresql.org/pub/postgresql
eur-PT: http://ftp.pt.postgresql.org/pub/postgresql
eur-RO: ftp://ftp6.ro.postgresql.org/pub/mirrors/ftp.postgresql.org
eur-RO: ftp://ftp7.ro.postgresql.org/1/PostgreSQL
eur-RO: http://ftp6.ro.postgresql.org/pub/mirrors/ftp.postgresql.org
eur-RU: ftp://ftp.ru.postgresql.org/pub/mirrors/pgsql
eur-RU: ftp://ftp2.ru.postgresql.org/pub/databases/postgresql
eur-RU: ftp://ftp3.ru.postgresql.org/pub/mirror/postgresql/pub
eur-RU: http://ftp2.ru.postgresql.org/pub/databases/postgresql
eur-SE: ftp://ftp.se.postgresql.org/pub/databases/relational/postgresql
eur-SE: http://ftp.se.postgresql.org/pub/databases/relational/postgresql
eur-SI: ftp://ftp.si.postgresql.org/pub/mirrors/postgresql
eur-SK: ftp://ftp2.sk.postgresql.org/pub/postgresql
eur-TR: ftp://ftp.tr.postgresql.org/pub/PostgreSQL
eur-UA: ftp://ftp.ua.postgresql.org/pub/mirrors/postgresql.org
eur-UA: ftp://ftp2.ua.postgresql.org/pub/postgresql
eur-UK: ftp://ftp2.uk.postgresql.org/sites/ftp.postgresql.org
eur-UK: http://ftp2.uk.postgresql.org/sites/ftp.postgresql.org
nam-CA: ftp://ftp5.ca.postgresql.org/mirrors/postgresql
nam-US: ftp://ftp.postgresql.org/pub
nam-US: ftp://ftp10.us.postgresql.org/pub/postgresql
nam-US: ftp://ftp2.lv.postgresql.org/postgresql
nam-US: ftp://ftp3.ua.postgresql.org/pub/mirrors/postgresql
nam-US: ftp://ftp5.us.postgresql.org/pub/PostgreSQL
nam-US: ftp://ftp7.us.postgresql.org/pub/postgresql
nam-US: ftp://ftp9.us.postgresql.org/pub/mirrors/postgresql
nam-US: http://ftp2.lv.postgresql.org
nam-US: http://ftp7.us.postgresql.org/pub/postgresql
nam-US: http://ftp9.us.postgresql.org/pub/mirrors/postgresql
sam-AR: ftp://ftp.ar.postgresql.org/pub/mirrors/postgresql
sam-BR: ftp://ftp2.br.postgresql.org/postgresql
sam-BR: http://ftp2.br.postgresql.org/postgresql
<<
Source: mirror:custom:source/v%v/postgresql-%v.tar.bz2
Source-MD5: 84e1fedd5f676e978a3afa744bc71b0a
Source2: http://gborg.postgresql.org/download/pgtclng/stable/pgtcl1.5.2.tar.gz
Source2-MD5: d19dfdcb54c334495d32456a043e0232
PatchFile: postgresql82.patch
PatchFile-MD5: 6b399f03d00dbe624d2dff4d3891c51f
PatchScript: sed 's|@INSTPREFIX@|%p|g' < %{PatchFile} | patch -p1

SetCPPFLAGS: -I%p/include/postgresql -I%p/include
SetLIBS: -L%p/lib -lpq
NoSetCPPFLAGS: true
NoSetLDFLAGS: true
ConfigureParams: --prefix=%p --with-docdir=%p/share/doc --mandir=%p/share/man --enable-multibyte --enable-recode --with-CXX --without-perl --without-python --with-openssl --with-libraries=%p/lib --with-includes=%p/include --with-tcl --with-tclconfig=%p/lib --with-tkconfig=%p/lib --without-java --enable-odbc --with-pam --with-rendezvous
CompileScript: <<
#!/bin/sh -ev

export lt_cv_sys_max_cmd_len=65536
export CPPFLAGS="-I%p/lib/system-openssl/include -I%p/include/postgresql -I%p/include -DHAVE_OPTRESET -fno-common"
export LDFLAGS="-L%p/lib/system-openssl/lib -L%p/lib"

pushd ../pgtcl1.5.2
./configure --prefix=%p --with-postgres-lib=%p/lib --with-postgres-include=%p/include/postgresql --with-tcl=%p/lib
make
popd

./configure %c

pushd src/pl/tcl
make BE_DLLLIBS="-bundle_loader %p/bin/postgres-8.2"
popd
<<

InstallScript: <<
#!/bin/sh -ev

pushd ../pgtcl1.5.2
make install DESTDIR=%d
popd

pushd src/pl/tcl
make install DESTDIR=%d INSTALLSITEMAN3DIR=%i/share/man/man3
popd

install_name_tool -id %p/lib/pgtcl1.5.2/libpgtcl1.5.2.dylib %i/lib/pgtcl1.5.2/libpgtcl1.5.2.dylib

rm -R %i/include
<<
Shlibs: !%p/lib/pgtcl1.5.2/libpgtcl1.5.2.dylib
DocFiles: COPYRIGHT HISTORY INSTALL
SplitOff2: <<
Package: postgresql-ssl-tcl
Depends: postgresql-tcl (>= %v-%r)
DocFiles: COPYRIGHT HISTORY INSTALL
<<

PostInstScript: <<
cat < *** WARNING ***

To be able to use this (pltcl) in PostgreSQL, you will need to
start your database:

sudo %p/bin/pgsql.sh start

...and then run:

sudo -u postgres %p/bin/createlang pltcl template1

...or, for the "untrusted" interpreter:

sudo -u postgres %p/bin/createlang pltclu template1

*** WARNING ***
END
<<
PostRmScript: <<
if [ "$1" != "upgrade" ]; then
sudo -u postgres %p/bin/droplang pltcl template1 >/dev/null 2>&1 || :
fi
<<

Homepage: http://www.postgresql.org/
DescDetail: <<
To be able to use this (pltcl) in PostgreSQL, you will need to
start your database:

sudo %p/bin/pgsql.sh start

...and then run:

sudo -u postgres %p/bin/createlang pltcl template1

...or, for the "untrusted" interpreter:

sudo -u postgres %p/bin/createlang pltclu template1
<<

postgresql-tcl _unstable_ port information

Package: postgresql-tcl
Version: 8.2.16
Revision: 1
Description: PostgreSQL TCL tools
License: BSD
Maintainer: Benjamin Reed

Depends: <<
postgresql82-shlibs,
postgresql82,
tcltk
<<
BuildDepends: <<
fink (>= 0.29.7-1),
fink-mirrors (>= 0.28.7.1-2),
tcltk,
tcltk-dev,
postgresql82-dev,
bison,
readline5,
system-openssl-dev
<<
BuildConflicts: lclint
Conflicts: postgresql-ssl-tcl (<< %v-%r)
Replaces: <<
postgresql-ssl-tcl (<< %v-%r),
postgresql,
postgresql-ssl
<<

Source: mirror:postgresql:source/v%v/postgresql-%v.tar.bz2
Source-MD5: cb3be1e35ca9bba64d65a2ab337fb1a0
Source2: http://gborg.postgresql.org/download/pgtclng/stable/pgtcl1.5.2.tar.gz
Source2-MD5: d19dfdcb54c334495d32456a043e0232
PatchScript: sed 's|@INSTPREFIX@|%p|g' < %{PatchFile} | patch -p1
PatchFile: postgresql82.patch
PatchFile-MD5: 964107a0f601e15937e79df17ffea814

SetCPPFLAGS: -I%p/include/postgresql -I%p/include
SetLIBS: -L%p/lib -lpq
NoSetCPPFLAGS: true
NoSetLDFLAGS: true
ConfigureParams: --prefix=%p --with-docdir=%p/share/doc --mandir=%p/share/man --enable-multibyte --enable-recode --with-CXX --without-perl --without-python --with-openssl --with-libraries=%p/lib --with-includes=%p/include --with-tcl --with-tclconfig=%p/lib --with-tkconfig=%p/lib --without-java --enable-odbc --with-pam --with-rendezvous
CompileScript: <<
#!/bin/sh -ev

export lt_cv_sys_max_cmd_len=65536
export CPPFLAGS="-I%p/lib/system-openssl/include -I%p/include/postgresql -I%p/include -DHAVE_OPTRESET -fno-common"
export LDFLAGS="-L%p/lib/system-openssl/lib -L%p/lib"

pushd ../pgtcl1.5.2
./configure --prefix=%p --with-postgres-lib=%p/lib --with-postgres-include=%p/include/postgresql --with-tcl=%p/lib
make
popd

./configure %c

pushd src/pl/tcl
make BE_DLLLIBS="-bundle_loader %p/bin/postgres-8.2"
popd
<<

InstallScript: <<
#!/bin/sh -ev

pushd ../pgtcl1.5.2
make install DESTDIR=%d
popd

pushd src/pl/tcl
make install DESTDIR=%d INSTALLSITEMAN3DIR=%i/share/man/man3
popd

install_name_tool -id %p/lib/pgtcl1.5.2/libpgtcl1.5.2.dylib %i/lib/pgtcl1.5.2/libpgtcl1.5.2.dylib

rm -R %i/include
<<
DocFiles: COPYRIGHT HISTORY INSTALL
SplitOff2: <<
Package: postgresql-ssl-tcl
Depends: postgresql-tcl (>= %v-%r)
DocFiles: COPYRIGHT HISTORY INSTALL
<<
Shlibs: !%p/lib/pgtcl1.5.2/libpgtcl1.5.2.dylib

PostInstScript: <<
cat < *** WARNING ***

To be able to use this (pltcl) in PostgreSQL, you will need to
start your database:

sudo %p/bin/pgsql.sh start

...and then run:

sudo -u postgres %p/bin/createlang pltcl template1

...or, for the "untrusted" interpreter:

sudo -u postgres %p/bin/createlang pltclu template1

*** WARNING ***
END
<<
PostRmScript: <<
if [ "$1" != "upgrade" ]; then
sudo -u postgres %p/bin/droplang pltcl template1 >/dev/null 2>&1 || :
fi
<<

Homepage: http://www.postgresql.org/
DescDetail: <<
To be able to use this (pltcl) in PostgreSQL, you will need to
start your database:

sudo %p/bin/pgsql.sh start

...and then run:

sudo -u postgres %p/bin/createlang pltcl template1

...or, for the "untrusted" interpreter:

sudo -u postgres %p/bin/createlang pltclu template1
<<