Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jul 2017 13:08:12 +0000 (UTC)
From:      Torsten Zuehlsdorff <tz@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r445078 - in head/databases: . pgFormatter
Message-ID:  <201707051308.v65D8CY4006498@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tz
Date: Wed Jul  5 13:08:12 2017
New Revision: 445078
URL: https://svnweb.freebsd.org/changeset/ports/445078

Log:
  New port: databases/pgFormatter
  
  This SQL formatter/beautifier supports keywords from SQL-92, SQL-99,
  SQL-2003, SQL-2008, SQL-2011 and PostgreSQL specifics keywords. May
  works with any other databases too. pgFormatter can work as a console
  program or as a CGI. It will automatically detect his environment and
  output as text or as HTML following the context. Keywords highlighting
  will only be available in CGI context.
  
  WWW: https://github.com/darold/pgFormatter
  
  PR:           219681
  Submitted by: Jov <amutu@amutu.com>

Added:
  head/databases/pgFormatter/
  head/databases/pgFormatter/Makefile   (contents, props changed)
  head/databases/pgFormatter/distinfo   (contents, props changed)
  head/databases/pgFormatter/pkg-descr   (contents, props changed)
  head/databases/pgFormatter/pkg-plist   (contents, props changed)
Modified:
  head/databases/Makefile

Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile	Wed Jul  5 12:52:42 2017	(r445077)
+++ head/databases/Makefile	Wed Jul  5 13:08:12 2017	(r445078)
@@ -579,6 +579,7 @@
     SUBDIR += pgbouncer
     SUBDIR += pgdbf
     SUBDIR += pgespresso
+    SUBDIR += pgFormatter
     SUBDIR += pgfouine
     SUBDIR += pgloader
     SUBDIR += pglogical

Added: head/databases/pgFormatter/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pgFormatter/Makefile	Wed Jul  5 13:08:12 2017	(r445078)
@@ -0,0 +1,20 @@
+# Created by: Jov amutu@amutu.com
+# $FreeBSD$
+
+PORTNAME=	pgFormatter
+PORTVERSION=	2.0
+DISTVERSIONPREFIX=	v
+CATEGORIES=	databases
+
+MAINTAINER=	amutu@amutu.com
+COMMENT=	PostgreSQL SQL syntax beautifier
+
+LICENSE=	PostgreSQL
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		perl5
+USE_PERL5=	configure
+USE_GITHUB=	yes
+GH_ACCOUNT=	darold
+
+.include <bsd.port.mk>

Added: head/databases/pgFormatter/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pgFormatter/distinfo	Wed Jul  5 13:08:12 2017	(r445078)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1496217380
+SHA256 (darold-pgFormatter-v2.0_GH0.tar.gz) = ef2f7bc124a694c0384b6bda661582ad2dae7c25b289aba596a23fb17dd5f130
+SIZE (darold-pgFormatter-v2.0_GH0.tar.gz) = 52674

Added: head/databases/pgFormatter/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pgFormatter/pkg-descr	Wed Jul  5 13:08:12 2017	(r445078)
@@ -0,0 +1,8 @@
+This SQL formatter/beautifier supports keywords from SQL-92, SQL-99,
+SQL-2003, SQL-2008, SQL-2011 and PostgreSQL specifics keywords. May
+works with any other databases too. pgFormatter can work as a console
+program or as a CGI. It will automatically detect his environment and
+output as text or as HTML following the context. Keywords highlighting
+will only be available in CGI context.
+
+WWW: https://github.com/darold/pgFormatter

Added: head/databases/pgFormatter/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/pgFormatter/pkg-plist	Wed Jul  5 13:08:12 2017	(r445078)
@@ -0,0 +1,9 @@
+bin/pg_format
+%%PERL5_MAN1%%/pg_format.1.gz
+%%PERL5_MAN3%%/pgFormatter::Beautify.3.gz
+%%PERL5_MAN3%%/pgFormatter::CGI.3.gz
+%%PERL5_MAN3%%/pgFormatter::CLI.3.gz
+%%SITE_PERL%%/pgFormatter/Beautify.pm
+%%SITE_PERL%%/pgFormatter/CGI.pm
+%%SITE_PERL%%/pgFormatter/CLI.pm
+%%SITE_PERL%%/regress_test.pl



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