aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2010-04-06 23:24:39 +0800
committerkuriyama <kuriyama@FreeBSD.org>2010-04-06 23:24:39 +0800
commitcad03b042f688e7df363c84a15702500307ff902 (patch)
tree0bf3e2910f950f311533811faf00e21f3d9595bd
parentac8c0f54864f5818cf194941ac5c66d3c50278e4 (diff)
downloadfreebsd-ports-gnome-cad03b042f688e7df363c84a15702500307ff902.tar.gz
freebsd-ports-gnome-cad03b042f688e7df363c84a15702500307ff902.tar.zst
freebsd-ports-gnome-cad03b042f688e7df363c84a15702500307ff902.zip
Plack::Middleware::JSConcat allows you to concatenate multiple
javascripts files into one. It provides a content-hashed key as the url for including all the javascript files you specified. You can also provide a filter program to minimize the concatenated file. WWW: http://search.cpan.org/dist/Plack-Middleware-JSConcat/
-rw-r--r--www/Makefile1
-rw-r--r--www/p5-Plack-Middleware-JSConcat/Makefile26
-rw-r--r--www/p5-Plack-Middleware-JSConcat/distinfo3
-rw-r--r--www/p5-Plack-Middleware-JSConcat/pkg-descr6
-rw-r--r--www/p5-Plack-Middleware-JSConcat/pkg-plist7
5 files changed, 43 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 35faa331aaca..3a97e4d744de 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1095,6 +1095,7 @@
SUBDIR += p5-Plack-Middleware-Debug
SUBDIR += p5-Plack-Middleware-Deflater
SUBDIR += p5-Plack-Middleware-Header
+ SUBDIR += p5-Plack-Middleware-JSConcat
SUBDIR += p5-Plack-Middleware-ReverseProxy
SUBDIR += p5-Plack-Middleware-Session
SUBDIR += p5-Plack-Server-AnyEvent
diff --git a/www/p5-Plack-Middleware-JSConcat/Makefile b/www/p5-Plack-Middleware-JSConcat/Makefile
new file mode 100644
index 000000000000..f6ab517778cd
--- /dev/null
+++ b/www/p5-Plack-Middleware-JSConcat/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: Plack::Middleware::JSConcat
+# Date created: 07 Apr 2010
+# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Plack-Middleware-JSConcat
+PORTVERSION= 0.29
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= kuriyama@FreeBSD.org
+COMMENT= Perl extension to concatenate javascripts
+
+RUN_DEPENDS= \
+ p5-IPC-Run3>0:${PORTSDIR}/devel/p5-IPC-Run3 \
+ p5-Plack>0:${PORTSDIR}/www/p5-Plack
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Plack::Middleware::JSConcat.3
+
+.include <bsd.port.mk>
diff --git a/www/p5-Plack-Middleware-JSConcat/distinfo b/www/p5-Plack-Middleware-JSConcat/distinfo
new file mode 100644
index 000000000000..24a26f636417
--- /dev/null
+++ b/www/p5-Plack-Middleware-JSConcat/distinfo
@@ -0,0 +1,3 @@
+MD5 (Plack-Middleware-JSConcat-0.29.tar.gz) = a7b46665d0b7c0acb5d3a132f104d3cf
+SHA256 (Plack-Middleware-JSConcat-0.29.tar.gz) = 586bb40c0b294b867e783767351e85a16c7082011e59ee03f8067f45f90d7c5e
+SIZE (Plack-Middleware-JSConcat-0.29.tar.gz) = 40137
diff --git a/www/p5-Plack-Middleware-JSConcat/pkg-descr b/www/p5-Plack-Middleware-JSConcat/pkg-descr
new file mode 100644
index 000000000000..cccd8482efe2
--- /dev/null
+++ b/www/p5-Plack-Middleware-JSConcat/pkg-descr
@@ -0,0 +1,6 @@
+Plack::Middleware::JSConcat allows you to concatenate multiple
+javascripts files into one. It provides a content-hashed key as the
+url for including all the javascript files you specified. You can
+also provide a filter program to minimize the concatenated file.
+
+WWW: http://search.cpan.org/dist/Plack-Middleware-JSConcat/
diff --git a/www/p5-Plack-Middleware-JSConcat/pkg-plist b/www/p5-Plack-Middleware-JSConcat/pkg-plist
new file mode 100644
index 000000000000..596601764373
--- /dev/null
+++ b/www/p5-Plack-Middleware-JSConcat/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Middleware/JSConcat/.packlist
+%%SITE_PERL%%/Plack/Middleware/JSConcat.pm
+@dirrmtry %%SITE_PERL%%/Plack/Middleware
+@dirrmtry %%SITE_PERL%%/Plack
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Middleware/JSConcat
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack/Middleware
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Plack