1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name pgtcl |
---|
6 | version 1.5 |
---|
7 | categories databases |
---|
8 | maintainers mac.com:giorgio_v |
---|
9 | description Tcl PostgreSQL interface |
---|
10 | long_description Tcl client interface to PostgreSQL |
---|
11 | homepage http://pgtcl.projects.postgresql.org/ |
---|
12 | master_sites http://pgfoundry.org/frs/download.php/338/ |
---|
13 | platforms darwin |
---|
14 | checksums md5 6eed1c338fc3bb7a844797c92b79b936 \ |
---|
15 | sha1 8d2be537c123100ab4f1a6ddc11684fd4e0ccd23 \ |
---|
16 | rmd160 f198066c538a9566f9044e8899423ee31e123349 |
---|
17 | configure.env PATH=$env(PATH):${prefix}/lib/postgresql83/bin |
---|
18 | configure.args --bindir=${prefix}/sbin/${name} \ |
---|
19 | --mandir=${prefix}/share/man/${name} \ |
---|
20 | --sysconfdir=${prefix}/etc/${name} |
---|
21 | depends_lib port:tcl \ |
---|
22 | port:postgresql83 |
---|
23 | extract { |
---|
24 | cd $workpath |
---|
25 | exec gzip -dc $distpath/$distfiles | \ |
---|
26 | /usr/bin/gnutar --no-same-owner -xf - |
---|
27 | # ugly hack |
---|
28 | exec mv $name$version $name-$version |
---|
29 | } |
---|
30 | |
---|
31 | destroot { |
---|
32 | # another ugly hack? |
---|
33 | cd $workpath/$name-$version |
---|
34 | exec make install-binaries DESTDIR=${destroot} |
---|
35 | exec make install-libraries DESTDIR=${destroot} |
---|
36 | } |
---|