Permalink
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (32 sloc) 1.25 KB
# -*- 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
PortSystem 1.0
PortGroup php 1.1
name php-text-template
set cap_name Text_Template
version 1.1.4
categories-append devel
maintainers nomaintainer
license BSD
homepage https://github.com/sebastianbergmann/php-text-template
master_sites http://pear.phpunit.de/get/
distname ${cap_name}-${version}
extract.suffix .tgz
platforms darwin freebsd
checksums rmd160 6a627a1cb7637d7921b3114baaece377b6b0483c \
sha256 905e9ed8f26cbe41b3c6ab5d0a8f760aee83c5abbccba48d27aa2975decf937b
description simple template engine for 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}/Text ${destroot}${prefix}/lib/php/Text
}
livecheck.type none
} else {
livecheck.type regex
livecheck.url ${homepage}/tags
livecheck.regex {/([0-9.]+)"}
}