import erl-fast_log

erl-fast_log is a logging library used for Chef.

ok aja@
This commit is contained in:
jasper 2013-03-08 11:57:12 +00:00
parent 5991212a7c
commit 351dca12b2
6 changed files with 92 additions and 0 deletions

View File

@ -0,0 +1,37 @@
# $OpenBSD: Makefile,v 1.1.1.1 2013/03/08 11:57:12 jasper Exp $
COMMENT= mix in functions from other modules
# git clone of 0db6ec3238e012aad64956fbbb9d48bb457113a3
VERSION= 0.2.0.1
DISTNAME= fast_log-${VERSION}
PKGNAME= erl-${DISTNAME}
CATEGORIES= devel lang/erlang
HOMEPAGE= https://github.com/opscode/fast-log-erlang
# Apache2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://distfiles.nl/
USE_GMAKE= Yes
ALL_TARGET= compile
REGRESS_TARGET= eunit
ERL_LIBDIR= ${PREFIX}/lib/erlang/lib/${DISTNAME}
SUBST_VARS+= VERSION
pre-configure:
${SUBST_CMD} ${WRKSRC}/src/fast_log.app.src
do-install:
${INSTALL_DATA_DIR} ${ERL_LIBDIR}/{ebin,include,src}
${INSTALL_DATA} ${WRKSRC}/ebin/*.{app,beam} ${ERL_LIBDIR}/ebin/
${INSTALL_DATA} ${WRKSRC}/include/*.hrl ${ERL_LIBDIR}/include
${INSTALL_DATA} ${WRKSRC}/src/*.erl ${ERL_LIBDIR}/src
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (fast_log-0.2.0.1.tar.gz) = ilihh4xahygs+Gl0J8v5l5LClpV/IF2/KRD3o9HWHdM=
SIZE (fast_log-0.2.0.1.tar.gz) = 9369

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2013/03/08 11:57:12 jasper Exp $
--- Makefile.orig Mon Feb 25 11:13:21 2013
+++ Makefile Mon Feb 25 11:13:40 2013
@@ -1,7 +1,7 @@
## DEPS = deps/foo deps/bar
DEPS =
-all: compile eunit
+all: compile eunit dialyzer
clean:
@rebar clean
@@ -12,6 +12,8 @@ distclean:
compile: $(DEPS)
@rebar compile
+
+dialyzer:
@dialyzer -Wrace_conditions -Wunderspecs -r ebin
$(DEPS):

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_fast_log_app_src,v 1.1.1.1 2013/03/08 11:57:12 jasper Exp $
--- src/fast_log.app.src.orig Mon Feb 25 11:12:15 2013
+++ src/fast_log.app.src Mon Feb 25 11:12:26 2013
@@ -18,7 +18,7 @@
{application, fast_log,
[
{description, "Simple, fast application logging"},
- {vsn, git},
+ {vsn, "${VERSION}"},
{registered, []},
{applications, [
kernel,

View File

@ -0,0 +1 @@
erl-fast_log is a logging library used for Chef.

View File

@ -0,0 +1,19 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/03/08 11:57:12 jasper Exp $
lib/erlang/
lib/erlang/lib/
lib/erlang/lib/fast_log-${VERSION}/
lib/erlang/lib/fast_log-${VERSION}/ebin/
lib/erlang/lib/fast_log-${VERSION}/ebin/fast_log.app
lib/erlang/lib/fast_log-${VERSION}/ebin/fast_log.beam
lib/erlang/lib/fast_log-${VERSION}/ebin/fast_log_app.beam
lib/erlang/lib/fast_log-${VERSION}/ebin/fast_log_sup.beam
lib/erlang/lib/fast_log-${VERSION}/ebin/fast_log_util.beam
lib/erlang/lib/fast_log-${VERSION}/ebin/fast_log_writer.beam
lib/erlang/lib/fast_log-${VERSION}/include/
lib/erlang/lib/fast_log-${VERSION}/include/fast_log.hrl
lib/erlang/lib/fast_log-${VERSION}/src/
lib/erlang/lib/fast_log-${VERSION}/src/fast_log.erl
lib/erlang/lib/fast_log-${VERSION}/src/fast_log_app.erl
lib/erlang/lib/fast_log-${VERSION}/src/fast_log_sup.erl
lib/erlang/lib/fast_log-${VERSION}/src/fast_log_util.erl
lib/erlang/lib/fast_log-${VERSION}/src/fast_log_writer.erl