Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Apr 2020 11:55:50 +0000 (UTC)
From:      Dmitri Goutnik <dmgk@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r530969 - head/databases/pspg
Message-ID:  <202004071155.037BtoC6072402@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dmgk
Date: Tue Apr  7 11:55:49 2020
New Revision: 530969
URL: https://svnweb.freebsd.org/changeset/ports/530969

Log:
  databases/pspg: Update to 3.0.0
  
  - Unbreak inotify support, add INOTIFY knob
  - Pet portfmt while here

Modified:
  head/databases/pspg/Makefile
  head/databases/pspg/distinfo

Modified: head/databases/pspg/Makefile
==============================================================================
--- head/databases/pspg/Makefile	Tue Apr  7 11:50:43 2020	(r530968)
+++ head/databases/pspg/Makefile	Tue Apr  7 11:55:49 2020	(r530969)
@@ -1,9 +1,13 @@
 # $FreeBSD$
 
 PORTNAME=	pspg
-DISTVERSION=	2.7.2
+DISTVERSION=	3.0.0
 CATEGORIES=	databases
 
+# https://github.com/okbob/pspg/issues/128
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES=	96330321c187e6ee199ff0c41c65002e17c25f33.patch:-p1
+
 MAINTAINER=	dmgk@FreeBSD.org
 COMMENT=	Tabular data pager designed to be used with psql
 
@@ -17,21 +21,26 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	okbob
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--without-inotify
 
 SUB_FILES=	pkg-message
 
 PLIST_FILES=	bin/pspg
 PORTDOCS=	README.md
 
-OPTIONS_DEFINE=	DOCS PGSQL
-OPTIONS_DEFAULT=	PGSQL
+OPTIONS_DEFINE=		DOCS INOTIFY PGSQL
+OPTIONS_DEFAULT=	INOTIFY PGSQL
 
+INOTIFY_DESC=	Use inotify instead of polling
 PGSQL_DESC=	Work as PostgreSQL interactive client
 
-PGSQL_USES=	pgsql
+INOTIFY_LIB_DEPENDS=	libinotify.so:devel/libinotify
+# configure script doesn't understand --with-inotify
+INOTIFY_CONFIGURE_OFF=	--without-inotify
+INOTIFY_LDFLAGS=	-linotify
+
+PGSQL_USES=		pgsql
 PGSQL_CONFIGURE_WITH=	postgresql=yes
-PGSQL_VARS=	WANT_PGSQL=client
+PGSQL_VARS=		WANT_PGSQL=client
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pspg

Modified: head/databases/pspg/distinfo
==============================================================================
--- head/databases/pspg/distinfo	Tue Apr  7 11:50:43 2020	(r530968)
+++ head/databases/pspg/distinfo	Tue Apr  7 11:55:49 2020	(r530969)
@@ -1,3 +1,5 @@
-TIMESTAMP = 1585571346
-SHA256 (okbob-pspg-2.7.2_GH0.tar.gz) = d657c53d9571ce97553295f407ae6c041705663c6b0e78bc01ac37d2868b513e
-SIZE (okbob-pspg-2.7.2_GH0.tar.gz) = 1358445
+TIMESTAMP = 1586259706
+SHA256 (okbob-pspg-3.0.0_GH0.tar.gz) = ff70db2a820b87862d067b225ffd2a09cdff98772ad1a8b960433b868516cc82
+SIZE (okbob-pspg-3.0.0_GH0.tar.gz) = 1360449
+SHA256 (96330321c187e6ee199ff0c41c65002e17c25f33.patch) = b2199eda3d03b1198d4e2083bc6d72558b127f4ca4910f045b45964175e3c705
+SIZE (96330321c187e6ee199ff0c41c65002e17c25f33.patch) = 811



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