[78893] trunk/dports/php

singingwolfboy at macports.org singingwolfboy at macports.org
Wed May 25 13:31:36 PDT 2011


Revision: 78893
          http://trac.macports.org/changeset/78893
Author:   singingwolfboy at macports.org
Date:     2011-05-25 13:31:34 -0700 (Wed, 25 May 2011)
Log Message:
-----------
New port: php5-simpletest

Added Paths:
-----------
    trunk/dports/php/php5-simpletest/
    trunk/dports/php/php5-simpletest/Portfile

Added: trunk/dports/php/php5-simpletest/Portfile
===================================================================
--- trunk/dports/php/php5-simpletest/Portfile	                        (rev 0)
+++ trunk/dports/php/php5-simpletest/Portfile	2011-05-25 20:31:34 UTC (rev 78893)
@@ -0,0 +1,47 @@
+# -*- 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                    php5-simpletest
+set real_name           simpletest
+set cap_name            SimpleTest
+version                 1.1alpha3
+categories              php devel
+maintainers             singingwolfboy openmaintainer
+supported_archs         noarch
+license                 LGPL2
+
+homepage                http://simpletest.org/
+master_sites            sourceforge:simpletest
+distname                ${real_name}_${version}
+worksrcdir              ${real_name}
+platforms               darwin freebsd
+checksums               md5     a4cc387df57320b7583173508056a453 \
+                        sha1    e8a049a50ab0261a23dad135adabe4198df71027 \
+                        rmd160  8915af133ff85833d525b2ecb427361b2a2cc941
+
+description             unit testing for PHP
+long_description \
+    SimpleTest is a PHP unit test and web test framework. Users of JUnit will \
+    be familiar with most of the interface. The JWebUnit style functionality \
+    is more complete now. It has support for SSL, forms, frames, proxies and \
+    basic authentication. The idea is that common but fiddly PHP tasks, such \
+    as logging into a site, can be tested easily.
+
+depends_lib             port:php5
+
+use_configure           no
+build                   {}
+destroot {
+    set docdir ${destroot}${prefix}/share/doc/${name}
+    xinstall -d ${docdir}
+    delete ${worksrcpath}/LICENSE
+    delete ${worksrcpath}/VERSION
+    foreach d {docs README HELP_MY_TESTS_DONT_WORK_ANYMORE} {
+        move ${worksrcpath}/${d} ${docdir}
+    }
+
+    xinstall -d ${destroot}${prefix}/lib/php
+    file copy ${worksrcpath} ${destroot}${prefix}/lib/php/${cap_name}
+}


Property changes on: trunk/dports/php/php5-simpletest/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110525/e1888ff2/attachment.html>


More information about the macports-changes mailing list