1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Upgrade to version 1.0.1.

- Add LICENSE
- Remove unnecessary GitHub variables
- Cleanup and remove @dirrmtry
This commit is contained in:
Jimmy Olgeni 2015-05-05 11:19:15 +00:00
parent 06197bd47f
commit 88a8000653
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=385467
3 changed files with 10 additions and 62 deletions

View File

@ -1,12 +1,14 @@
# $FreeBSD$
PORTNAME= cowboy
PORTVERSION= 1.0.0
PORTVERSION= 1.0.1
CATEGORIES= www
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Small, fast and modular HTTP server written in Erlang
LICENSE= ISCL
BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang \
cowlib>=1.0.0:${PORTSDIR}/devel/cowlib
RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang \
@ -18,17 +20,14 @@ PLIST_SUB= VERSION="${PORTVERSION}"
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= ninenines
GH_PROJECT= cowboy
GH_COMMIT= 021f4f6
GH_TAGNAME= ${PORTVERSION}
do-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/cowboy-${PORTVERSION}
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/cowboy-${PORTVERSION}/ebin
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/cowboy-${PORTVERSION}/src
${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/cowboy-${PORTVERSION}/ebin
${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/cowboy-${PORTVERSION}/src
@${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}/src
${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (cowboy-1.0.0.tar.gz) = 62e0c37dd96094914d9d565b15c8f8c02a72514dd32ffefb36fea6f9ab3c7f60
SIZE (cowboy-1.0.0.tar.gz) = 4790037
SHA256 (ninenines-cowboy-1.0.1_GH0.tar.gz) = 23c7acbfbc2017c60f645ebd1fc0d000952cefedae47701a122ccd6c68b6437e
SIZE (ninenines-cowboy-1.0.1_GH0.tar.gz) = 4790457

View File

@ -186,54 +186,3 @@ lib/erlang/lib/cowboy-%%VERSION%%/src/cowboy_websocket_handler.erl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/websocket/src/websocket_app.erl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/websocket/src/websocket_sup.erl
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/websocket/src/ws_handler.erl
@dirrmtry lib/erlang/lib/cowboy-%%VERSION%%/src
@dirrmtry lib/erlang/lib/cowboy-%%VERSION%%/ebin
@dirrmtry lib/erlang/lib/cowboy-%%VERSION%%
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/websocket/src
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/websocket/priv/static
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/websocket/priv
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/websocket
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/web_server/src
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/web_server/priv
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/web_server
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/upload/src
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/upload/priv
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/upload
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/static_world/src
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/static_world/priv
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/static_world
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/ssl_hello_world/src
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/ssl_hello_world/priv/ssl
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/ssl_hello_world/priv
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/ssl_hello_world
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/rest_stream_response/src
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/rest_stream_response
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/rest_pastebin/src
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/rest_pastebin/priv
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/rest_pastebin
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/rest_hello_world/src
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/rest_hello_world
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/rest_basic_auth/src
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/rest_basic_auth
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/markdown_middleware/src
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/markdown_middleware/priv
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/markdown_middleware
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/hello_world/src
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/hello_world
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/eventsource/src
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/eventsource/priv
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/eventsource
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/error_hook/src
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/error_hook
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/echo_post/src
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/echo_post
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/echo_get/src
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/echo_get
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/cookie/templates
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/cookie/src
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/cookie
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/compress_response/src
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/compress_response
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/chunked_hello_world/src
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%/chunked_hello_world
%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%