Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jul 2014 14:12:35 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r362698 - in head/databases/epgsql: . files
Message-ID:  <201407231412.s6NECZW2083589@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Wed Jul 23 14:12:35 2014
New Revision: 362698
URL: http://svnweb.freebsd.org/changeset/ports/362698
QAT: https://qat.redports.org/buildarchive/r362698/

Log:
  Upgrade to version 2.0.0.
  
  - Set LICENSE to BSD3CLAUSE
  - Clean up pkg-plist

Added:
  head/databases/epgsql/files/
  head/databases/epgsql/files/patch-src_epgsql.app.src   (contents, props changed)
Modified:
  head/databases/epgsql/Makefile
  head/databases/epgsql/distinfo   (contents, props changed)
  head/databases/epgsql/pkg-plist   (contents, props changed)

Modified: head/databases/epgsql/Makefile
==============================================================================
--- head/databases/epgsql/Makefile	Wed Jul 23 14:11:10 2014	(r362697)
+++ head/databases/epgsql/Makefile	Wed Jul 23 14:12:35 2014	(r362698)
@@ -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}

Modified: head/databases/epgsql/distinfo
==============================================================================
--- head/databases/epgsql/distinfo	Wed Jul 23 14:11:10 2014	(r362697)
+++ head/databases/epgsql/distinfo	Wed Jul 23 14:12:35 2014	(r362698)
@@ -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

Added: head/databases/epgsql/files/patch-src_epgsql.app.src
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/epgsql/files/patch-src_epgsql.app.src	Wed Jul 23 14:12:35 2014	(r362698)
@@ -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,

Modified: head/databases/epgsql/pkg-plist
==============================================================================
--- head/databases/epgsql/pkg-plist	Wed Jul 23 14:11:10 2014	(r362697)
+++ head/databases/epgsql/pkg-plist	Wed Jul 23 14:12:35 2014	(r362698)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407231412.s6NECZW2083589>