aboutsummaryrefslogtreecommitdiffstats
path: root/www/cowboy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/cowboy/Makefile')
-rw-r--r--www/cowboy/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/www/cowboy/Makefile b/www/cowboy/Makefile
index 2acd959da829..e547887c62f0 100644
--- a/www/cowboy/Makefile
+++ b/www/cowboy/Makefile
@@ -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>