aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2015-07-03 19:23:03 +0800
committerolgeni <olgeni@FreeBSD.org>2015-07-03 19:23:03 +0800
commita4d15526705da51f3a1cf86896661ce7855764f6 (patch)
treeaf05bca92585b04c5f99620a3470df0c068ceb89 /www
parentde58c1ce96cf3aad59d2a04c11ed47d9bf4badc0 (diff)
downloadfreebsd-ports-gnome-a4d15526705da51f3a1cf86896661ce7855764f6.tar.gz
freebsd-ports-gnome-a4d15526705da51f3a1cf86896661ce7855764f6.tar.zst
freebsd-ports-gnome-a4d15526705da51f3a1cf86896661ce7855764f6.zip
Move devel/erlang-cowlib to www.
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/erlang-cowboy/Makefile4
-rw-r--r--www/erlang-cowlib/Makefile32
-rw-r--r--www/erlang-cowlib/distinfo2
-rw-r--r--www/erlang-cowlib/pkg-descr7
-rw-r--r--www/erlang-cowlib/pkg-plist23
6 files changed, 67 insertions, 2 deletions
diff --git a/www/Makefile b/www/Makefile
index e9516dd8479e..8079ab3b1890 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -172,6 +172,7 @@
SUBDIR += ephemera
SUBDIR += epiphany
SUBDIR += erlang-cowboy
+ SUBDIR += erlang-cowlib
SUBDIR += erlang-hackney
SUBDIR += erlang-mochiweb
SUBDIR += erlang-mochiweb-basho
diff --git a/www/erlang-cowboy/Makefile b/www/erlang-cowboy/Makefile
index 8449309052f1..cd471d84e698 100644
--- a/www/erlang-cowboy/Makefile
+++ b/www/erlang-cowboy/Makefile
@@ -11,9 +11,9 @@ COMMENT= Small, fast and modular HTTP server written in Erlang
LICENSE= ISCL
BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang \
- erlang-cowlib>=1.0.0:${PORTSDIR}/devel/erlang-cowlib
+ erlang-cowlib>=1.0.0:${PORTSDIR}/www/erlang-cowlib
RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang \
- erlang-cowlib>=1.0.0:${PORTSDIR}/devel/erlang-cowlib \
+ erlang-cowlib>=1.0.0:${PORTSDIR}/www/erlang-cowlib \
erlang-ranch>=1.0.0:${PORTSDIR}/net/erlang-ranch
PLIST_SUB= VERSION="${PORTVERSION}"
diff --git a/www/erlang-cowlib/Makefile b/www/erlang-cowlib/Makefile
new file mode 100644
index 000000000000..dc51909b38c4
--- /dev/null
+++ b/www/erlang-cowlib/Makefile
@@ -0,0 +1,32 @@
+# $FreeBSD$
+
+PORTNAME= cowlib
+PORTVERSION= 1.0.0
+PORTEPOCH= 1
+CATEGORIES= www
+PKGNAMEPREFIX= erlang-
+
+MAINTAINER= olgeni@FreeBSD.org
+COMMENT= Erlang support library for manipulating Web protocols
+
+LICENSE= ISCL
+
+BUILD_DEPENDS= erl:${PORTSDIR}/lang/erlang
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+PLIST_SUB= VERSION="${PORTVERSION}"
+
+USES= gmake
+USE_GITHUB= yes
+GH_ACCOUNT= ninenines
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/include
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
+ ${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
+ ${INSTALL_DATA} ${WRKSRC}/include/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/include
+ ${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
+
+.include <bsd.port.mk>
diff --git a/www/erlang-cowlib/distinfo b/www/erlang-cowlib/distinfo
new file mode 100644
index 000000000000..68541132a49a
--- /dev/null
+++ b/www/erlang-cowlib/distinfo
@@ -0,0 +1,2 @@
+SHA256 (ninenines-cowlib-1.0.0_GH0.tar.gz) = 48a8784ae7d266724276f9842b3a06cfbbfe69469f58c27237c602232f7ebe5a
+SIZE (ninenines-cowlib-1.0.0_GH0.tar.gz) = 41538
diff --git a/www/erlang-cowlib/pkg-descr b/www/erlang-cowlib/pkg-descr
new file mode 100644
index 000000000000..a732025b0df8
--- /dev/null
+++ b/www/erlang-cowlib/pkg-descr
@@ -0,0 +1,7 @@
+Cowlib provides Erlang libraries for parsing and building messages
+for various Web protocols, including SPDY, HTTP and Websocket.
+
+It is optimized for completeness rather than speed. No value is
+ignored, they are all returned.
+
+WWW: https://github.com/extend/cowlib
diff --git a/www/erlang-cowlib/pkg-plist b/www/erlang-cowlib/pkg-plist
new file mode 100644
index 000000000000..b09068e468fc
--- /dev/null
+++ b/www/erlang-cowlib/pkg-plist
@@ -0,0 +1,23 @@
+lib/erlang/lib/cowlib-%%VERSION%%/ebin/cow_cookie.beam
+lib/erlang/lib/cowlib-%%VERSION%%/ebin/cow_date.beam
+lib/erlang/lib/cowlib-%%VERSION%%/ebin/cow_http.beam
+lib/erlang/lib/cowlib-%%VERSION%%/ebin/cow_http_hd.beam
+lib/erlang/lib/cowlib-%%VERSION%%/ebin/cow_http_te.beam
+lib/erlang/lib/cowlib-%%VERSION%%/ebin/cow_mimetypes.beam
+lib/erlang/lib/cowlib-%%VERSION%%/ebin/cow_multipart.beam
+lib/erlang/lib/cowlib-%%VERSION%%/ebin/cow_qs.beam
+lib/erlang/lib/cowlib-%%VERSION%%/ebin/cow_spdy.beam
+lib/erlang/lib/cowlib-%%VERSION%%/ebin/cowlib.app
+lib/erlang/lib/cowlib-%%VERSION%%/include/cow_inline.hrl
+lib/erlang/lib/cowlib-%%VERSION%%/src/cow_cookie.erl
+lib/erlang/lib/cowlib-%%VERSION%%/src/cow_date.erl
+lib/erlang/lib/cowlib-%%VERSION%%/src/cow_http.erl
+lib/erlang/lib/cowlib-%%VERSION%%/src/cow_http_hd.erl
+lib/erlang/lib/cowlib-%%VERSION%%/src/cow_http_te.erl
+lib/erlang/lib/cowlib-%%VERSION%%/src/cow_mimetypes.erl
+lib/erlang/lib/cowlib-%%VERSION%%/src/cow_mimetypes.erl.src
+lib/erlang/lib/cowlib-%%VERSION%%/src/cow_multipart.erl
+lib/erlang/lib/cowlib-%%VERSION%%/src/cow_qs.erl
+lib/erlang/lib/cowlib-%%VERSION%%/src/cow_spdy.erl
+lib/erlang/lib/cowlib-%%VERSION%%/src/cow_spdy.hrl
+lib/erlang/lib/cowlib-%%VERSION%%/src/cowlib.app.src