import erl-epgsql-1.4.1

erl-epgsql is the Erlang PostgreSQL database client.

ok aja@
This commit is contained in:
jasper 2013-03-08 10:56:30 +00:00
parent 79d1f58cd9
commit f9b7ef56fa
5 changed files with 68 additions and 0 deletions

View File

@ -0,0 +1,42 @@
# $OpenBSD: Makefile,v 1.1.1.1 2013/03/08 10:56:30 jasper Exp $
COMMENT= Erlang PostgreSQL client
VERSION= 1.4.1
DISTNAME= epgsql-${VERSION}
PKGNAME= erl-${DISTNAME}
CATEGORIES= databases lang/erlang
HOMEPAGE= https://github.com/opscode/epgsql
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://distfiles.nl/
TAR= ${LOCALBASE}/bin/gtar
BUILD_DEPENDS= archivers/gtar \
devel/rebar
RUN_DEPENDS= lang/erlang
USE_GMAKE= Yes
MAKE_ENV+= VERSION=${VERSION}
ALL_TARGET= #empty
FAKE_TARGET= app
# Should actually have a 'dialyzer' target which creates the PLT on the fly.
NO_REGRESS= Yes
SUBST_VARS+= VERSION
# The 'app' target creates a nice directory for us to actually install.
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/erlang/lib/
cp -r ${WRKSRC}/${DISTNAME} ${PREFIX}/lib/erlang/lib/
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/erlang/lib/
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (epgsql-1.4.1.tar.gz) = bkdF8/SWevzYuaZyRKkE5OwpdYEZp+mi8z9ysjuUfPo=
SIZE (epgsql-1.4.1.tar.gz) = 124586

View File

@ -0,0 +1,10 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2013/03/08 10:56:30 jasper Exp $
--- Makefile.orig Mon Feb 25 09:54:57 2013
+++ Makefile Mon Feb 25 09:55:03 2013
@@ -1,5 +1,5 @@
NAME := epgsql
-VERSION := $(shell git describe --always --tags)
+VERSION ?= $(shell git describe --always --tags)
ERL := erl
ERLC := erlc

View File

@ -0,0 +1 @@
epgsql is the Erlang PostgreSQL database client.

View File

@ -0,0 +1,13 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/03/08 10:56:30 jasper Exp $
lib/erlang/lib/epgsql-${VERSION}/
lib/erlang/lib/epgsql-${VERSION}/ebin/
lib/erlang/lib/epgsql-${VERSION}/ebin/epgsql.app
lib/erlang/lib/epgsql-${VERSION}/ebin/pgsql.beam
lib/erlang/lib/epgsql-${VERSION}/ebin/pgsql_binary.beam
lib/erlang/lib/epgsql-${VERSION}/ebin/pgsql_connection.beam
lib/erlang/lib/epgsql-${VERSION}/ebin/pgsql_fdatetime.beam
lib/erlang/lib/epgsql-${VERSION}/ebin/pgsql_idatetime.beam
lib/erlang/lib/epgsql-${VERSION}/ebin/pgsql_sock.beam
lib/erlang/lib/epgsql-${VERSION}/ebin/pgsql_types.beam
lib/erlang/lib/epgsql-${VERSION}/include/
lib/erlang/lib/epgsql-${VERSION}/include/pgsql.hrl