You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-07-10 12:19:27 -07:00
157ebbff36
Generated with the following command: rg -l -g Portfile ':openssl\b' ../macports-ports | grep -v '/lang/php/' | grep -v '/aqua/qt5' | xargs ./revbump-ports.sh revbump-ports.sh is from https://github.com/yan12125/revbump-ports/tree/4a47ad53d5bc1553b86f48dfbf946bc9a466306c Skipping lang/php and aqua/qt5 as only php*-{ftp,openssl} and qt*-qtbase subports need revbumping, respectively.
111 lines
3.1 KiB
Plaintext
111 lines
3.1 KiB
Plaintext
PortSystem 1.0
|
|
PortGroup deprecated 1.0
|
|
|
|
# Final release was on 2010-11-08
|
|
deprecated.upstream_support no
|
|
|
|
name postgresql81
|
|
version 8.1.23
|
|
revision 4
|
|
|
|
categories databases
|
|
platforms darwin
|
|
maintainers nomaintainer
|
|
license Permissive
|
|
description The most advanced open-source database available anywhere
|
|
long_description PostgreSQL is Object-Relational Database Management System. \
|
|
It supports almost all SQL constructs, including transactions, \
|
|
subselects, and user-defined types and functions. Write-ahead \
|
|
logging means increased performance while retaining data \
|
|
integrity.
|
|
|
|
homepage https://www.postgresql.org/
|
|
master_sites http://ftp3.de.postgresql.org/pub/Mirrors/ftp.postgresql.org/source/v${version}/ \
|
|
postgresql:source/v${version}
|
|
|
|
checksums md5 b511c1c6d5de2417096dba48912e6f18 \
|
|
sha1 418b8c2e5a076e2e3c3e28455ee16b6550210352 \
|
|
rmd160 cb2c9572ecefe49303e49f458116d51d3f1e6c36
|
|
|
|
use_bzip2 yes
|
|
distname postgresql-${version}
|
|
|
|
depends_lib port:readline path:lib/libssl.dylib:openssl port:zlib port:libxml2 port:libxslt
|
|
depends_build port:bison
|
|
|
|
patchfiles src_pl_plpython_Makefile.patch
|
|
|
|
set libdir ${prefix}/lib/${name}
|
|
configure.args --sysconfdir=${prefix}/etc/${name} \
|
|
--bindir=${libdir}/bin \
|
|
--libdir=${libdir} \
|
|
--includedir=${prefix}/include/${name} \
|
|
--datadir=${prefix}/share/${name} \
|
|
--mandir=${prefix}/share/man \
|
|
--without-docdir \
|
|
--with-includes=${prefix}/include \
|
|
--with-libraries=${prefix}/lib \
|
|
--with-openssl \
|
|
--with-bonjour \
|
|
--with-readline \
|
|
--with-zlib \
|
|
--enable-thread-safety \
|
|
--enable-integer-datetimes
|
|
|
|
build.type gnu
|
|
build.target
|
|
|
|
test.run yes
|
|
test.target check
|
|
|
|
livecheck.type none
|
|
livecheck.url ${homepage}
|
|
livecheck.regex (8.1.\[0-9\]+)
|
|
|
|
platform darwin {
|
|
if {${os.major} >= 13} {
|
|
configure.args-replace --with-bonjour --without-bonjour
|
|
}
|
|
}
|
|
|
|
set contribs "dblink fulltextindex fuzzystrmatch pg_buffercache pg_trgm pgcrypto tsearch2 vacuumlo xml2"
|
|
|
|
post-build {
|
|
foreach contrib ${contribs} {
|
|
system "cd ${worksrcpath}/contrib/${contrib}/ && ${build.cmd}"
|
|
}
|
|
}
|
|
|
|
post-destroot {
|
|
foreach contrib ${contribs} {
|
|
system "echo contrib: \"${contrib}\""
|
|
system "cd ${worksrcpath}/contrib/${contrib}/ && \
|
|
${destroot.cmd} install ${destroot.destdir} && touch DONE"
|
|
}
|
|
system "cd ${destroot}${prefix}/bin && ln -sf ${libdir}/bin/psql psql81"
|
|
file delete -force ${destroot}${prefix}/share/doc/${name} \
|
|
${destroot}${prefix}/share/man
|
|
}
|
|
|
|
variant python description {add support for python} {
|
|
depends_lib-append port:python26
|
|
configure.args-append --with-python
|
|
configure.python ${prefix}/bin/python2.6
|
|
}
|
|
|
|
variant krb5 description {add support for Kerberos 5 authentication} {
|
|
# depends_lib-append bin:kerberos:kerberos5
|
|
configure.args-append --with-krb5
|
|
}
|
|
|
|
variant perl description {add Perl support} {
|
|
depends_lib-append bin:perl:perl5
|
|
configure.args-append --with-perl
|
|
}
|
|
|
|
post-install {
|
|
ui_msg "\nTo use the postgresql server, install the postgresql81-server port"
|
|
}
|
|
|
|
notes "This is the last upgrade to 8.1 PostgreSQL, pls upgrade"
|