diff options
author | olgeni <olgeni@FreeBSD.org> | 2014-07-23 22:12:35 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2014-07-23 22:12:35 +0800 |
commit | 11ebf42e53b87a6d96d040708dd5596c139d81ed (patch) | |
tree | d8f4c9d1bde668540fcbb6b912aeadce9dfc8e6c /databases | |
parent | 92612380b98f4a2133010a9cca2bbe4325698089 (diff) | |
download | freebsd-ports-gnome-11ebf42e53b87a6d96d040708dd5596c139d81ed.tar.gz freebsd-ports-gnome-11ebf42e53b87a6d96d040708dd5596c139d81ed.tar.zst freebsd-ports-gnome-11ebf42e53b87a6d96d040708dd5596c139d81ed.zip |
Upgrade to version 2.0.0.
- Set LICENSE to BSD3CLAUSE
- Clean up pkg-plist
Diffstat (limited to 'databases')
-rw-r--r-- | databases/epgsql/Makefile | 15 | ||||
-rw-r--r-- | databases/epgsql/distinfo | 4 | ||||
-rw-r--r-- | databases/epgsql/files/patch-src_epgsql.app.src | 13 | ||||
-rw-r--r-- | databases/epgsql/pkg-plist | 39 |
4 files changed, 46 insertions, 25 deletions
diff --git a/databases/epgsql/Makefile b/databases/epgsql/Makefile index 9412819b7df8..6bc6cbf2dbbc 100644 --- a/databases/epgsql/Makefile +++ b/databases/epgsql/Makefile @@ -1,31 +1,34 @@ # $FreeBSD$ PORTNAME= epgsql -PORTVERSION= 1.4 +PORTVERSION= 2.0.0 CATEGORIES= databases MAINTAINER= olgeni@FreeBSD.org COMMENT= Erlang PostgreSQL Database Client -LICENSE= BSD +LICENSE= BSD3CLAUSE -BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang +BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang \ + rebar:${PORTSDIR}/devel/rebar RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang PLIST_SUB= VERSION="${PORTVERSION}" USES= gmake USE_GITHUB= yes -GH_ACCOUNT= wg +GH_ACCOUNT= epgsql GH_PROJECT= epgsql -GH_COMMIT= 6dd2d26 +GH_COMMIT= c7dfb06 GH_TAGNAME= ${PORTVERSION} -ALL_TARGET= app PORTDOCS= * .include <bsd.port.options.mk> +post-patch: + @${REINPLACE_CMD} -e "s/%%PORTVERSION%%/${PORTVERSION}/" ${WRKSRC}/src/epgsql.app.src + do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} diff --git a/databases/epgsql/distinfo b/databases/epgsql/distinfo index fe3d45b0d58b..aca3af94e908 100644 --- a/databases/epgsql/distinfo +++ b/databases/epgsql/distinfo @@ -1,2 +1,2 @@ -SHA256 (epgsql-1.4.tar.gz) = 7814360979ca868534d67d063372aa59c8543a64388fc91f34c2d205f51d5166 -SIZE (epgsql-1.4.tar.gz) = 23842 +SHA256 (epgsql-2.0.0.tar.gz) = 9fc0168e09336feb02e3dc82a69efc04d303e520f2b667beab2215c092feeef5 +SIZE (epgsql-2.0.0.tar.gz) = 31264 diff --git a/databases/epgsql/files/patch-src_epgsql.app.src b/databases/epgsql/files/patch-src_epgsql.app.src new file mode 100644 index 000000000000..2c9b8267d4e8 --- /dev/null +++ b/databases/epgsql/files/patch-src_epgsql.app.src @@ -0,0 +1,13 @@ + +$FreeBSD$ + +--- src/epgsql.app.src.orig ++++ src/epgsql.app.src +@@ -1,6 +1,6 @@ + {application, epgsql, + [{description, "PostgreSQL Client"}, +- {vsn, git}, ++ {vsn, "%%PORTVERSION%%"}, + {modules, []}, + {registered, []}, + {applications, [kernel, diff --git a/databases/epgsql/pkg-plist b/databases/epgsql/pkg-plist index d7ef4f372774..c35e0d989991 100644 --- a/databases/epgsql/pkg-plist +++ b/databases/epgsql/pkg-plist @@ -1,20 +1,25 @@ -%%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 +lib/erlang/lib/epgsql-%%VERSION%%/ebin/apgsql.beam +lib/erlang/lib/epgsql-%%VERSION%%/ebin/epgsql.app +lib/erlang/lib/epgsql-%%VERSION%%/ebin/ipgsql.beam +lib/erlang/lib/epgsql-%%VERSION%%/ebin/pgsql.beam +lib/erlang/lib/epgsql-%%VERSION%%/ebin/pgsql_binary.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%%/ebin/pgsql_wire.beam +lib/erlang/lib/epgsql-%%VERSION%%/include/pgsql.hrl +lib/erlang/lib/epgsql-%%VERSION%%/include/pgsql_binary.hrl +lib/erlang/lib/epgsql-%%VERSION%%/src/apgsql.erl +lib/erlang/lib/epgsql-%%VERSION%%/src/epgsql.app.src +lib/erlang/lib/epgsql-%%VERSION%%/src/ipgsql.erl +lib/erlang/lib/epgsql-%%VERSION%%/src/pgsql.erl +lib/erlang/lib/epgsql-%%VERSION%%/src/pgsql_binary.erl +lib/erlang/lib/epgsql-%%VERSION%%/src/pgsql_fdatetime.erl +lib/erlang/lib/epgsql-%%VERSION%%/src/pgsql_idatetime.erl +lib/erlang/lib/epgsql-%%VERSION%%/src/pgsql_sock.erl +lib/erlang/lib/epgsql-%%VERSION%%/src/pgsql_types.erl +lib/erlang/lib/epgsql-%%VERSION%%/src/pgsql_wire.erl @dirrm %%LIB32DIR%%/erlang/lib/epgsql-%%VERSION%%/src @dirrm %%LIB32DIR%%/erlang/lib/epgsql-%%VERSION%%/include @dirrm %%LIB32DIR%%/erlang/lib/epgsql-%%VERSION%%/ebin |