# $Id$

PortSystem		1.0

name			pgintcl
version			3.4.0
categories		databases
maintainers		mac.com:giorgio_v
description 		Pure Tcl PostgreSQL interface
long_description	This is a Tcl interface to PostgreSQL, which is \
			itself written entirely in Tcl, and does not rely \
			on libpq. \
			It is highly but not entirely compatible with \
			other Tcl interfaces, although it is slower.

homepage		http://pgintcl.sourceforge.net/
master_sites    sourceforge:pgintcl
extract.suffix  .tgz
livecheck.regex {([a-zA-Z0-9.]+\.[a-zA-Z0-9.]+)/pgintcl-([a-zA-Z0-9.]+\.[a-zA-Z0-9.]+)/}

platforms		darwin
checksums		md5 1b0eed093e719e8eb0fa617c6e1e6773  \
			    sha1 fda86d5177cf7ff7d580f12c47ceb18f3d1c5c24 \
			    rmd160 3d99a2393fd6f86ea3716369016a17412b9407b4
depends_run		port:tcl
use_configure		no
universal_variant 	no
build			{}
destroot		{
			set sw_dest_dir ${destroot}${prefix}/lib/$name-$version/
			set share_dest_dir ${destroot}${prefix}/share/$name-$version/
			set doc_dest_dir ${destroot}${prefix}/share/doc/$name-$version/
			file mkdir -p $sw_dest_dir
			file mkdir -p $share_dest_dir
			file mkdir -p $doc_dest_dir
			xinstall ${worksrcpath}/pgin.tcl ${worksrcpath}/pkgIndex.tcl $sw_dest_dir
			xinstall ${worksrcpath}/tkpsql.tcl $share_dest_dir
			xinstall ${worksrcpath}/README ${worksrcpath}/REFERENCE \
			${worksrcpath}/INTERNALS  ${worksrcpath}/NEWS $doc_dest_dir
}