Ticket #15155: Portfile

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