diff options
Diffstat (limited to 'databases')
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/epgsql/Makefile | 43 | ||||
-rw-r--r-- | databases/epgsql/distinfo | 2 | ||||
-rw-r--r-- | databases/epgsql/pkg-descr | 3 | ||||
-rw-r--r-- | databases/epgsql/pkg-plist | 21 |
5 files changed, 70 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index cc63f8d4c1ab..673778272c5f 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -60,6 +60,7 @@ SUBDIR += drizzle SUBDIR += embedded_innodb SUBDIR += emma + SUBDIR += epgsql SUBDIR += erlang-mysql SUBDIR += evolution-data-server SUBDIR += exist diff --git a/databases/epgsql/Makefile b/databases/epgsql/Makefile new file mode 100644 index 000000000000..f77255eec171 --- /dev/null +++ b/databases/epgsql/Makefile @@ -0,0 +1,43 @@ +# $FreeBSD$ + +PORTNAME= epgsql +PORTVERSION= 1.4 +CATEGORIES= databases +MASTER_SITES= GH + +MAINTAINER= olgeni@FreeBSD.org +COMMENT= Erlang PostgreSQL Database Client + +LICENSE= BSD + +BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang +RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang + +PLIST_SUB= VERSION="${PORTVERSION}" + +USE_GITHUB= yes +GH_ACCOUNT= wg +GH_PROJECT= epgsql +GH_COMMIT= 6dd2d26 +GH_TAGNAME= ${PORTVERSION} +USE_GMAKE= yes +ALL_TARGET= app + +PORTDOCS= * + +.include <bsd.port.options.mk> + +do-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif + @${MKDIR} ${PREFIX}/lib/erlang/lib/epgsql-${PORTVERSION} + @${MKDIR} ${PREFIX}/lib/erlang/lib/epgsql-${PORTVERSION}/ebin + @${MKDIR} ${PREFIX}/lib/erlang/lib/epgsql-${PORTVERSION}/include + @${MKDIR} ${PREFIX}/lib/erlang/lib/epgsql-${PORTVERSION}/src + ${INSTALL_DATA} ${WRKSRC}/ebin/* ${PREFIX}/lib/erlang/lib/epgsql-${PORTVERSION}/ebin + ${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/lib/erlang/lib/epgsql-${PORTVERSION}/include + ${INSTALL_DATA} ${WRKSRC}/src/* ${PREFIX}/lib/erlang/lib/epgsql-${PORTVERSION}/src + +.include <bsd.port.mk> diff --git a/databases/epgsql/distinfo b/databases/epgsql/distinfo new file mode 100644 index 000000000000..fe3d45b0d58b --- /dev/null +++ b/databases/epgsql/distinfo @@ -0,0 +1,2 @@ +SHA256 (epgsql-1.4.tar.gz) = 7814360979ca868534d67d063372aa59c8543a64388fc91f34c2d205f51d5166 +SIZE (epgsql-1.4.tar.gz) = 23842 diff --git a/databases/epgsql/pkg-descr b/databases/epgsql/pkg-descr new file mode 100644 index 000000000000..b0ee9081eef5 --- /dev/null +++ b/databases/epgsql/pkg-descr @@ -0,0 +1,3 @@ +A PostgreSQL client library written in Erlang. + +WWW: https://github.com/wg/epgsql diff --git a/databases/epgsql/pkg-plist b/databases/epgsql/pkg-plist new file mode 100644 index 000000000000..d7ef4f372774 --- /dev/null +++ b/databases/epgsql/pkg-plist @@ -0,0 +1,21 @@ +%%LIB32DIR%%/erlang/lib/epgsql-%%VERSION%%/ebin/epgsql.app +%%LIB32DIR%%/erlang/lib/epgsql-%%VERSION%%/ebin/pgsql.beam +%%LIB32DIR%%/erlang/lib/epgsql-%%VERSION%%/ebin/pgsql_binary.beam +%%LIB32DIR%%/erlang/lib/epgsql-%%VERSION%%/ebin/pgsql_connection.beam +%%LIB32DIR%%/erlang/lib/epgsql-%%VERSION%%/ebin/pgsql_fdatetime.beam +%%LIB32DIR%%/erlang/lib/epgsql-%%VERSION%%/ebin/pgsql_idatetime.beam +%%LIB32DIR%%/erlang/lib/epgsql-%%VERSION%%/ebin/pgsql_sock.beam +%%LIB32DIR%%/erlang/lib/epgsql-%%VERSION%%/ebin/pgsql_types.beam +%%LIB32DIR%%/erlang/lib/epgsql-%%VERSION%%/include/pgsql.hrl +%%LIB32DIR%%/erlang/lib/epgsql-%%VERSION%%/src/epgsql.app.src +%%LIB32DIR%%/erlang/lib/epgsql-%%VERSION%%/src/pgsql.erl +%%LIB32DIR%%/erlang/lib/epgsql-%%VERSION%%/src/pgsql_binary.erl +%%LIB32DIR%%/erlang/lib/epgsql-%%VERSION%%/src/pgsql_connection.erl +%%LIB32DIR%%/erlang/lib/epgsql-%%VERSION%%/src/pgsql_fdatetime.erl +%%LIB32DIR%%/erlang/lib/epgsql-%%VERSION%%/src/pgsql_idatetime.erl +%%LIB32DIR%%/erlang/lib/epgsql-%%VERSION%%/src/pgsql_sock.erl +%%LIB32DIR%%/erlang/lib/epgsql-%%VERSION%%/src/pgsql_types.erl +@dirrm %%LIB32DIR%%/erlang/lib/epgsql-%%VERSION%%/src +@dirrm %%LIB32DIR%%/erlang/lib/epgsql-%%VERSION%%/include +@dirrm %%LIB32DIR%%/erlang/lib/epgsql-%%VERSION%%/ebin +@dirrm %%LIB32DIR%%/erlang/lib/epgsql-%%VERSION%% |