source: trunk/dports/php/php5-unit-db/Portfile

Last change on this file was 99643, checked in by singingwolfboy@…, 5 years ago

Dropped maintainership on all my ports

I'm moving to homebrew, and I haven't actually touched most of these in ages, anyway

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 99643 2012-11-13 04:26:02Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    php5-unit-db
7set real_name           dbunit
8set cap_name            DbUnit
9version                 1.0.1
10categories              php devel
11maintainers             nomaintainer
12supported_archs         noarch
13license                 BSD
14
15homepage                https://github.com/sebastianbergmann/dbunit/
16master_sites            http://pear.phpunit.de/get/
17distname                ${cap_name}-${version}
18extract.suffix          .tgz
19platforms               darwin freebsd
20checksums               md5     cc150251100b74879ba22a211079e8f4 \
21                        sha1    9f3052e7b825a7dc7a54b9832e90345350b8b491 \
22                        rmd160  00a5a5fbe4e2d4ef87eaca9338dd6a829ca2a516
23description             DbUnit for PHP
24long_description \
25    Port of DbUnit for integration with PHPUnit
26
27depends_lib             path:bin/php:php5
28
29use_configure           no
30build                   {}
31destroot {
32    reinplace "s|@php_bin@|${prefix}/bin/php|" ${worksrcpath}/${real_name}.php   
33    reinplace "s|#!/usr/bin/env php|#!${prefix}/bin/php|" ${worksrcpath}/${real_name}.php
34    xinstall -m 755 ${worksrcpath}/${real_name}.php ${destroot}${prefix}/bin/${real_name}
35
36    xinstall -d ${destroot}${prefix}/lib/php
37    file copy ${worksrcpath}/PHPUnit ${destroot}${prefix}/lib/php/PHPUnit
38
39    set docdir ${destroot}${prefix}/share/doc/${name}
40    xinstall -d ${docdir}
41    xinstall -m 644 -W ${worksrcpath} ChangeLog.markdown ${docdir}
42}
43
44livecheck.type          regex
45livecheck.url           ${homepage}/downloads
46livecheck.regex         {/([0-9.]+)"}
Note: See TracBrowser for help on using the repository browser.