# $Id: Portfile,v 1.2 2005/12/23 13:03:52 mww Exp $

PortSystem 1.0

name			postgresql-jdbc
version			8.0-311
categories		java databases
maintainers		decibel@decibel.org
description		PostgreSQL JDBC driver
long_description	Pure Java JDBC driver for connecting to PostgreSQL databases.
homepage		http://jdbc.postgresql.org/

platforms		darwin

distname		${name}-${version}.src
master_sites    ${homepage}/download/
checksums 		md5 e31b6e68141883e5c89a3a9b0fb95c02

depends_build   bin:ant:apache-ant

set workTarget	""

use_configure	no

build.cmd 		ant

destroot {
	xinstall -m 755 -d ${destroot}${prefix}/share/java
	file copy ${worksrcpath}${workTarget}/jars/postgresql.jar \
		${destroot}${prefix}/share/java/
}
