9183da971c
erl-ibrowse is a HTTP client written in Erlang. Featuring: - RFC2616 compliant - Supports GET, POST, OPTIONS, HEAD, PUT, DELETE, TRACE, MKCOL, PROPFIND, PROPPATCH, LOCK, UNLOCK, MOVE and COPY - Understands HTTP/0.9, HTTP/1.0 and HTTP/1.1 - Understands chunked encoding - Can generate requests using Chunked Transfer-Encoding - Pools of connections to each webserver - Pipelining support - Download to file - Asynchronous requests. Responses are streamed to a process - and much more ok aja@
37 lines
865 B
Makefile
37 lines
865 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2013/03/08 12:03:28 jasper Exp $
|
|
|
|
COMMENT= Erlang HTTP client
|
|
|
|
VERSION= 4.0.1.1
|
|
DISTNAME= ibrowse-${VERSION}
|
|
PKGNAME= erl-${DISTNAME}
|
|
CATEGORIES= net lang/erlang
|
|
|
|
HOMEPAGE= https://github.com/opscode/ibrowse
|
|
|
|
# LGPL / BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://distfiles.nl/
|
|
TAR= ${LOCALBASE}/bin/gtar
|
|
|
|
BUILD_DEPENDS= archivers/gtar
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
REGRESS_TARGET= test
|
|
|
|
ERL_LIBDIR= ${PREFIX}/lib/erlang/lib/${DISTNAME}
|
|
SUBST_VARS+= VERSION
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${ERL_LIBDIR}/{ebin,include,priv,src}
|
|
${INSTALL_DATA} ${WRKSRC}/ebin/*.{app,beam} ${ERL_LIBDIR}/ebin/
|
|
${INSTALL_DATA} ${WRKSRC}/include/*.hrl ${ERL_LIBDIR}/include
|
|
${INSTALL_DATA} ${WRKSRC}/priv/* ${ERL_LIBDIR}/priv
|
|
${INSTALL_DATA} ${WRKSRC}/src/*.erl ${ERL_LIBDIR}/src
|
|
|
|
.include <bsd.port.mk>
|