# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 name adodb version 5.19 set branch [join [lrange [split ${version} .] 0 0] .] categories databases license BSD maintainers nomaintainer description Database library for PHP long_description ${description} homepage http://adodb.sourceforge.net/ platforms darwin set file_version [string map {. ""} ${version}] master_sites sourceforge:project/adodb/adodb-php5-only/adodb-${file_version}-for-php5 distfiles ${name}${file_version}${extract.suffix} worksrcdir ${name}${branch} checksums rmd160 a227d36ca5ee83e9890d729a53c9f9af789b342d \ sha256 2a83383766ca46a77506ac2a0c1ed43662bc39b478c30a6da45c788c7fd13419 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" } livecheck.url http://sourceforge.net/projects/adodb/files/adodb-php5-only/ livecheck.type regex livecheck.version ${file_version} livecheck.regex "${name}-(\\d+\[a-z\]?)-for-php5"