1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00

Add pecl-jsmin2 2.0.1 (copied from pecl-jsmin)

PR:		225425
Submitted by:	Pascal Christen <pascal.christen@hostpoint.ch>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-02-12 19:04:49 +00:00
parent a1dfd95dc0
commit 29f4670534
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=461632
5 changed files with 34 additions and 0 deletions

View File

@ -3976,6 +3976,7 @@
SUBDIR += pecl-inotify
SUBDIR += pecl-intl
SUBDIR += pecl-jsmin
SUBDIR += pecl-jsmin2
SUBDIR += pecl-json_post
SUBDIR += pecl-jsonc
SUBDIR += pecl-jsond

View File

@ -0,0 +1,17 @@
# Created by: Gasol Wu <gasol.wu@gmail.com>
# $FreeBSD$
PORTNAME= jsmin
PORTVERSION= 2.0.1
CATEGORIES= devel
PKGNAMESUFFIX= 2
MAINTAINER= pascal.christen@hostpoint.ch
COMMENT= PHP extension for minifying JavaScript
LICENSE= PHP301
USES= php:pecl
IGNORE_WITH_PHP=70 71 72
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (PECL/jsmin-2.0.1.tgz) = 0ce689c6c605bad2440f0627364603a051168a6b4dd13f9d4c3020cd0a607efa
SIZE (PECL/jsmin-2.0.1.tgz) = 13123

View File

@ -0,0 +1,11 @@
--- utf8.c.orig 2015-11-19 03:00:13 UTC
+++ utf8.c
@@ -18,8 +18,6 @@
#include <stdarg.h>
#ifdef WIN32
#include <malloc.h>
-#else
-#include <alloca.h>
#endif
#ifdef WIN32

View File

@ -0,0 +1,3 @@
This extension provides an API for minifying JavaScript.
WWW: https://pecl.php.net/package/jsmin