source: trunk/dports/php/php5-simpletest/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.8 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-simpletest
7set real_name           simpletest
8set cap_name            SimpleTest
9version                 1.1.0
10set branch              [join [lrange [split ${version} .] 0 1] .]
11categories              php devel
12maintainers             nomaintainer
13supported_archs         noarch
14license                 LGPL-2
15
16homepage                http://simpletest.org/
17master_sites            sourceforge:project/simpletest/simpletest/simpletest_${branch}
18distname                ${real_name}_${version}
19worksrcdir              ${real_name}
20platforms               darwin freebsd
21
22checksums               rmd160  a253e6a4424326455a00908e660d7d29a1730f54 \
23                        sha256  c9843becf2cec9022e11a05c8e95ae9e8d23624054c5c4e8e2b68f153e98d665
24
25description             unit testing for PHP
26long_description \
27    SimpleTest is a PHP unit test and web test framework. Users of JUnit will \
28    be familiar with most of the interface. The JWebUnit style functionality \
29    is more complete now. It has support for SSL, forms, frames, proxies and \
30    basic authentication. The idea is that common but fiddly PHP tasks, such \
31    as logging into a site, can be tested easily.
32
33depends_lib             path:bin/php:php5
34
35use_configure           no
36build                   {}
37destroot {
38    set docdir ${destroot}${prefix}/share/doc/${name}
39    xinstall -d ${docdir}
40    delete ${worksrcpath}/LICENSE
41    delete ${worksrcpath}/VERSION
42    foreach d {docs README HELP_MY_TESTS_DONT_WORK_ANYMORE} {
43        move ${worksrcpath}/${d} ${docdir}
44    }
45
46    xinstall -d ${destroot}${prefix}/lib/php
47    file copy ${worksrcpath} ${destroot}${prefix}/lib/php/${cap_name}
48}
Note: See TracBrowser for help on using the repository browser.