# $Id: Portfile,v 1.1 2006/06/26 00:02:03 markd Exp $
PortSystem      1.0

name                    adodb
version                 4.90
categories              databases
maintainers             markd@opendarwin.org
description             Database library for PHP
long_description        ${description}
homepage                http://adodb.sourceforge.net/
platforms               darwin
master_sites            sourceforge
checksums               md5 5d3710f8c1b638f5eb3fd6b094d0a785
distfiles		${name}490.tgz
worksrcdir		${name}

use_configure		no
build {}

set adodbdir ${prefix}/share
set docsdir ${prefix}/share/doc/${name}/cute_icons_for_site

destroot {
	xinstall -m 755 -d ${destroot}${adodbdir}
	xinstall -m 755 -d ${destroot}${docsdir}/cute_icons_for_site
	system "cp -R ${worksrcpath} ${destroot}${adodbdir}"
	system "cp ${worksrcpath}/docs/* ${destroot}${docsdir}"
	system "cp ${worksrcpath}/cute_icons_for_site/*.* ${destroot}${docsdir}/cute_icons_for_site"
}
