source: trunk/dports/databases/adodb/Portfile

Last change on this file was 139101, checked in by khindenburg@…, 2 years ago

adodb: update to 5.19 #42854

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- 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
2# $Id: Portfile 139101 2015-08-02 14:39:55Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name                    adodb
7version                 5.19
8set branch              [join [lrange [split ${version} .] 0 0] .]
9categories              databases
10license                 BSD
11maintainers             nomaintainer
12description             Database library for PHP
13long_description        ${description}
14homepage                http://adodb.sourceforge.net/
15platforms               darwin
16
17set file_version        [string map {. ""} ${version}]
18master_sites            sourceforge:project/adodb/adodb-php5-only/adodb-${file_version}-for-php5
19distfiles               ${name}${file_version}${extract.suffix}
20worksrcdir              ${name}${branch}
21
22checksums               rmd160  a227d36ca5ee83e9890d729a53c9f9af789b342d \
23                        sha256  2a83383766ca46a77506ac2a0c1ed43662bc39b478c30a6da45c788c7fd13419
24
25use_configure           no
26build {}
27
28set adodbdir ${prefix}/share
29set docsdir ${prefix}/share/doc/${name}/cute_icons_for_site
30
31destroot {
32    xinstall -m 755 -d ${destroot}${adodbdir}
33    xinstall -m 755 -d ${destroot}${docsdir}/cute_icons_for_site
34    system "cp -R ${worksrcpath} ${destroot}${adodbdir}"
35    system "cp ${worksrcpath}/docs/* ${destroot}${docsdir}"
36    system "cp ${worksrcpath}/cute_icons_for_site/*.* ${destroot}${docsdir}/cute_icons_for_site"
37}
38
39livecheck.url       http://sourceforge.net/projects/adodb/files/adodb-php5-only/
40livecheck.type      regex
41livecheck.version   ${file_version}
42livecheck.regex     "${name}-(\\d+\[a-z\]?)-for-php5"
Note: See TracBrowser for help on using the repository browser.