Commit 88cd1377 authored by olgeni's avatar olgeni
Browse files

Add devel/erlang-syslog, an Erlang port driver for interacting with syslog.

parent 10b87b87
......@@ -415,6 +415,7 @@
SUBDIR += erlang-msgpack
SUBDIR += erlang-mustache
SUBDIR += erlang-protobuffs
SUBDIR += erlang-syslog
SUBDIR += esdl
SUBDIR += etcd
SUBDIR += etcdctl
......
# $FreeBSD$
PORTNAME= syslog
PORTVERSION= 1.0.3
CATEGORIES= devel
PKGNAMEPREFIX= erlang-
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Erlang port driver for interacting with syslog
BUILD_DEPENDS= ${LOCALBASE}/bin/erl:${PORTSDIR}/lang/erlang
RUN_DEPENDS:= ${BUILD_DEPENDS}
PLIST_SUB= VERSION="${PORTVERSION}"
USE_GITHUB= yes
GH_ACCOUNT= Vagabond
GH_PROJECT= ${PKGNAMEPREFIX}${PORTNAME}
do-build:
cd ${WRKSRC} && ./rebar compile
do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
@${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}/priv
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
${INSTALL_DATA} ${WRKSRC}/ebin/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/ebin
${INSTALL_DATA} ${WRKSRC}/priv/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/priv
${INSTALL_DATA} ${WRKSRC}/src/* ${STAGEDIR}${PREFIX}/lib/erlang/lib/${PORTNAME}-${PORTVERSION}/src
.include <bsd.port.mk>
SHA256 (Vagabond-erlang-syslog-1.0.3_GH0.tar.gz) = 7eff5b8e823c1db209a52847e7f4b81b56cc653011b892428200b388e93a66b1
SIZE (Vagabond-erlang-syslog-1.0.3_GH0.tar.gz) = 103841
--- c_src/syslog_drv.c.orig 2015-05-24 12:12:35 UTC
+++ c_src/syslog_drv.c
@@ -25,6 +25,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBI
#include <syslog.h>
#include <stdarg.h>
#include <string.h>
+#include <netinet/in.h>
#include <ei.h>
#include <erl_driver.h>
Erlang port driver for interacting with syslog via syslog(3).
WWW: https://github.com/Vagabond/erlang-syslog
lib/erlang/lib/syslog-%%VERSION%%/ebin/syslog.app
lib/erlang/lib/syslog-%%VERSION%%/ebin/syslog.beam
lib/erlang/lib/syslog-%%VERSION%%/ebin/syslog_app.beam
lib/erlang/lib/syslog-%%VERSION%%/ebin/syslog_sup.beam
lib/erlang/lib/syslog-%%VERSION%%/priv/syslog_drv.so
lib/erlang/lib/syslog-%%VERSION%%/src/syslog.app.src
lib/erlang/lib/syslog-%%VERSION%%/src/syslog.erl
lib/erlang/lib/syslog-%%VERSION%%/src/syslog_app.erl
lib/erlang/lib/syslog-%%VERSION%%/src/syslog_sup.erl
%%PORTDOCS%%%%DOCSDIR%%/README.md
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment