From owner-svn-ports-all@freebsd.org Wed Jul 5 13:08:14 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 772A8DAADED; Wed, 5 Jul 2017 13:08:14 +0000 (UTC) (envelope-from tz@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 540DE8008A; Wed, 5 Jul 2017 13:08:14 +0000 (UTC) (envelope-from tz@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v65D8D2t006503; Wed, 5 Jul 2017 13:08:13 GMT (envelope-from tz@FreeBSD.org) Received: (from tz@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v65D8CY4006498; Wed, 5 Jul 2017 13:08:12 GMT (envelope-from tz@FreeBSD.org) Message-Id: <201707051308.v65D8CY4006498@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tz set sender to tz@FreeBSD.org using -f From: Torsten Zuehlsdorff Date: Wed, 5 Jul 2017 13:08:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r445078 - in head/databases: . pgFormatter X-SVN-Group: ports-head X-SVN-Commit-Author: tz X-SVN-Commit-Paths: in head/databases: . pgFormatter X-SVN-Commit-Revision: 445078 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2017 13:08:14 -0000 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 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 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