Skip to content
Permalink
Browse files

remove postgis extension, inc. revision

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@15619 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Markus W. Weißmann
Markus W. Weißmann committed Dec 29, 2005
1 parent 16ff87b commit 54b672ae094e9c20e6b8d72bd72e76db578634e3
Showing with 8 additions and 19 deletions.
  1. +8 −19 databases/postgresql8/Portfile
@@ -1,10 +1,10 @@
# $Id: Portfile,v 1.31 2005/12/13 12:25:21 mww Exp $
# $Id: Portfile,v 1.32 2005/12/29 06:45:05 mww Exp $

PortSystem 1.0

name postgresql8
version 8.1.1
set postgisver 1.0.6
revision 2
categories databases
platforms darwin
maintainers mww@opendarwin.org
@@ -13,33 +13,22 @@ 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. Includes support for postgis.
integrity.

homepage http://www.postgresql.org/
master_sites postgresql:source/v${version} \
ftp://ftp.postgresql.org/pub/source/v${version}/ \
http://postgis.refractions.net/download/:postgis
ftp://ftp.postgresql.org/pub/source/v${version}/
set dbase postgresql-base-${version}.tar.bz2
set dopt postgresql-opt-${version}.tar.bz2
set dtest postgresql-test-${version}.tar.bz2
set postgis postgis-${postgisver}.tar.gz
distfiles ${dbase} ${dopt} ${dtest} ${postgis}:postgis
distfiles ${dbase} ${dopt} ${dtest}

checksums ${dbase} md5 24326d48b90c5081af000a70268d821c \
${dopt} md5 743993bd0d19a781358c99a9abfaed6a \
${dtest} md5 b7d7bb5847f5bcbee908f2e3ec4d4ce6 \
${postgis} md5 34925b24c77045b1b23a9a06e47a9a22
${dtest} md5 b7d7bb5847f5bcbee908f2e3ec4d4ce6
use_bzip2 yes
extract.only ${dbase} ${dopt} ${dtest}
post-extract {
set con ${worksrcpath}/contrib
system "cd ${con} && gunzip -dc ${distpath}/${postgis} | gnutar --no-same-owner -xf -"
file rename ${con}/postgis-${postgisver} ${con}/postgis
}

depends_lib port:readline \
port:openssl \
port:zlib
depends_lib port:readline port:openssl port:zlib
depends_build port:bison

worksrcdir postgresql-${version}
@@ -75,7 +64,7 @@ set dbdir ${prefix}/var/db/pgsql8/defaultdb
set logdir ${prefix}/var/log/pgsql8
set dbuser postgres8
set dbgrp postgres
set contribs "fulltextindex fuzzystrmatch pg_buffercache pg_trgm postgis tsearch2 vacuumlo"
set contribs "fulltextindex fuzzystrmatch pg_buffercache pg_trgm tsearch2 vacuumlo"

post-build {
foreach contrib ${contribs} {

0 comments on commit 54b672a

Please sign in to comment.
You can’t perform that action at this time.