import erl-epgsql-1.4.1
erl-epgsql is the Erlang PostgreSQL database client. ok aja@
This commit is contained in:
parent
79d1f58cd9
commit
f9b7ef56fa
42
databases/erl-epgsql/Makefile
Normal file
42
databases/erl-epgsql/Makefile
Normal 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>
|
2
databases/erl-epgsql/distinfo
Normal file
2
databases/erl-epgsql/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (epgsql-1.4.1.tar.gz) = bkdF8/SWevzYuaZyRKkE5OwpdYEZp+mi8z9ysjuUfPo=
|
||||
SIZE (epgsql-1.4.1.tar.gz) = 124586
|
10
databases/erl-epgsql/patches/patch-Makefile
Normal file
10
databases/erl-epgsql/patches/patch-Makefile
Normal 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
|
1
databases/erl-epgsql/pkg/DESCR
Normal file
1
databases/erl-epgsql/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
epgsql is the Erlang PostgreSQL database client.
|
13
databases/erl-epgsql/pkg/PLIST
Normal file
13
databases/erl-epgsql/pkg/PLIST
Normal 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
|
Loading…
Reference in New Issue
Block a user