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:
parent
a1dfd95dc0
commit
29f4670534
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=461632
@ -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
|
||||
|
17
devel/pecl-jsmin2/Makefile
Normal file
17
devel/pecl-jsmin2/Makefile
Normal 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>
|
2
devel/pecl-jsmin2/distinfo
Normal file
2
devel/pecl-jsmin2/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (PECL/jsmin-2.0.1.tgz) = 0ce689c6c605bad2440f0627364603a051168a6b4dd13f9d4c3020cd0a607efa
|
||||
SIZE (PECL/jsmin-2.0.1.tgz) = 13123
|
11
devel/pecl-jsmin2/files/patch-utf8.c
Normal file
11
devel/pecl-jsmin2/files/patch-utf8.c
Normal 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
|
3
devel/pecl-jsmin2/pkg-descr
Normal file
3
devel/pecl-jsmin2/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
This extension provides an API for minifying JavaScript.
|
||||
|
||||
WWW: https://pecl.php.net/package/jsmin
|
Loading…
Reference in New Issue
Block a user