1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Upgrade to version 2.0.0.

- Set LICENSE to BSD3CLAUSE
- Clean up pkg-plist
This commit is contained in:
Jimmy Olgeni 2014-07-23 14:12:35 +00:00
parent 392d6b7db9
commit bf0272f8b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362698
4 changed files with 46 additions and 25 deletions

View File

@ -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}

View File

@ -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

View File

@ -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,

View File

@ -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