You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
38 lines
1.4 KiB
Tcl
38 lines
1.4 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
|
||
|
||
PortSystem 1.0
|
||
PortGroup php 1.1
|
||
|
||
name php-jsmin
|
||
categories-append devel
|
||
maintainers {ryandesign @ryandesign} {mathiesen.info:macintosh @BjarneDMat} openmaintainer
|
||
license PHP-3.01
|
||
|
||
php.branches 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 8.5
|
||
php.pecl yes
|
||
|
||
if {[vercmp ${php.branch} >= 7.0]} {
|
||
version 3.0.0
|
||
revision 1
|
||
checksums rmd160 d30dca684b4472fb6f022ef6581a87387755a530 \
|
||
sha256 f936ccd01df91eb73236ecfdacfd1e2d3de92e7e776ad5d0f3c6f65d17948783 \
|
||
size 13156
|
||
|
||
if {[vercmp ${php.branch} >= 8.0]} {
|
||
patchfiles-append patch_php8.diff
|
||
}
|
||
} else {
|
||
version 2.0.1
|
||
revision 0
|
||
checksums rmd160 d05f3499f3e338d6573bf7dd1901c728b1f80722 \
|
||
sha256 0ce689c6c605bad2440f0627364603a051168a6b4dd13f9d4c3020cd0a607efa \
|
||
size 13123
|
||
}
|
||
|
||
patchfiles-append patch_zend-smart-string.diff
|
||
|
||
description PHP API for minifying and uglifying JavaScript
|
||
|
||
long_description This extension provides a PHP API to Douglas Crockford’s \
|
||
jsmin method for minifying and uglifying JavaScript.
|