Ticket #15117: Portfile

File Portfile, 1.3 KB (added by giorgio_v@…, 16 years ago)
Line 
1# $Id$
2PortSystem              1.0
3name                    pgintcl
4version                 3.0.1
5categories              databases
6maintainers             giorgio_v
7description             Pure Tcl PostgreSQL interface
8long_description        This is a Tcl interface to PostgreSQL, which is \
9                        itself written entirely in Tcl, and does not rely \
10                        on libpq. \
11                        It is highly but not entirely compatible with \
12                        other Tcl interfaces, although it is slower.
13homepage                http://pgintcl.projects.postgresql.org/
14master_sites            http://pgfoundry.org/frs/download.php/1060/
15platforms               darwin
16checksums               md5 c0e0deb2fa0feb66eab8502b83ff9dce \
17                        sha1 348f96944c99e4cf76caad08efc84146c8138b6a \
18                        rmd160  a8fd371439ab9719c4ad35b4d1088da987fff602
19depends_lib             port:tcl
20use_configure           no
21universal_variant       no
22build                   {}
23destroot                {
24                        set sw_dest_dir ${destroot}${prefix}/lib/$name-$version/
25                        set share_dest_dir ${destroot}${prefix}/share/$name-$version/
26                        set doc_dest_dir ${destroot}${prefix}/share/doc/$name-$version/
27                        file mkdir -p $sw_dest_dir
28                        file mkdir -p $share_dest_dir
29                        file mkdir -p $doc_dest_dir
30                        xinstall ${worksrcpath}/pgin.tcl ${worksrcpath}/pkgIndex.tcl $sw_dest_dir
31                        xinstall ${worksrcpath}/tkpsql.tcl $share_dest_dir
32                        xinstall ${worksrcpath}/README ${worksrcpath}/REFERENCE \
33                        ${worksrcpath}/INTERNALS  ${worksrcpath}/NEWS $doc_dest_dir
34}