Permalink
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (32 sloc) 1.56 KB
# -*- 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
PortSystem 1.0
name adodb
version 5.20.9
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 [join [lrange [split ${version} .] 0 1] ""]
master_sites sourceforge:project/adodb/adodb-php5-only/adodb-${file_version}-for-php5
worksrcdir ${name}${branch}
checksums rmd160 dc435eae56d98fb7fbe115d9d855c9308cf8098c \
sha256 3017d846a5fd2c5cf10b6eda88f462e19907b28798564df55b86eb7d498b3305
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"