[108242] trunk/dports/php

sean at macports.org sean at macports.org
Tue Jul 16 17:46:43 PDT 2013


Revision: 108242
          https://trac.macports.org/changeset/108242
Author:   sean at macports.org
Date:     2013-07-16 17:46:42 -0700 (Tue, 16 Jul 2013)
Log Message:
-----------
php-timer: add php port group and update to 1.0.4

Added Paths:
-----------
    trunk/dports/php/php-timer/
    trunk/dports/php/php-timer/Portfile

Removed Paths:
-------------
    trunk/dports/php/php5-timer/

Added: trunk/dports/php/php-timer/Portfile
===================================================================
--- trunk/dports/php/php-timer/Portfile	                        (rev 0)
+++ trunk/dports/php/php-timer/Portfile	2013-07-17 00:46:42 UTC (rev 108242)
@@ -0,0 +1,40 @@
+# -*- 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
+PortGroup               php 1.1
+
+name                    php-timer
+set cap_name            PHP_Timer
+version                 1.0.4
+categories-append       devel
+maintainers             nomaintainer
+license                 BSD
+
+homepage                https://github.com/sebastianbergmann/php-timer
+master_sites            http://pear.phpunit.de/get/
+distname                ${cap_name}-${version}
+extract.suffix          .tgz
+platforms               darwin freebsd
+checksums               rmd160  11ce7b395234b2f1e0c9f7107067f2b2d3354c9d \
+                        sha256  f51965eea8ec722843f0a10cd4b9c35aaecf0a816ac80929dbab87c8a6d8692b
+description             utility class for timing in PHP
+long_description \
+    ${description}
+
+php.branches            5.3 5.4 5.5
+
+php.build_dirs
+
+if {$name ne $subport} {
+    destroot {
+        xinstall -d ${destroot}${prefix}/lib/php
+        file copy ${worksrcpath}/PHP ${destroot}${prefix}/lib/php/PHP
+    }
+
+    livecheck.type      none
+} else {
+    livecheck.type      regex
+    livecheck.url       ${homepage}/tags
+    livecheck.regex     {/([0-9.]+)"}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130716/94577099/attachment.html>


More information about the macports-changes mailing list