From owner-svn-ports-head@FreeBSD.ORG Tue Feb 12 10:30:28 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5A120C0F; Tue, 12 Feb 2013 10:30:28 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 3C40F314; Tue, 12 Feb 2013 10:30:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r1CAUSm0087294; Tue, 12 Feb 2013 10:30:28 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r1CAURxY087282; Tue, 12 Feb 2013 10:30:27 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201302121030.r1CAURxY087282@svn.freebsd.org> From: Martin Wilke Date: Tue, 12 Feb 2013 10:30:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r312093 - in head/databases: . liquibase liquibase/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2013 10:30:28 -0000 Author: miwi Date: Tue Feb 12 10:30:26 2013 New Revision: 312093 URL: http://svnweb.freebsd.org/changeset/ports/312093 Log: Liquibase is an open source (Apache 2.0 Licensed), database-independent library for tracking, managing and applying database changes. It is built on a simple premise: All database changes are stored in a human readable yet trackable form and checked into source control. WWW: http://www.liquibase.org/ PR: ports/176032 Submitted by: Gea-Suan Lin Added: head/databases/liquibase/ head/databases/liquibase/Makefile (contents, props changed) head/databases/liquibase/distinfo (contents, props changed) head/databases/liquibase/files/ head/databases/liquibase/files/patch-liquibase (contents, props changed) head/databases/liquibase/pkg-descr (contents, props changed) head/databases/liquibase/pkg-plist (contents, props changed) Modified: head/databases/Makefile Modified: head/databases/Makefile ============================================================================== --- head/databases/Makefile Tue Feb 12 10:20:51 2013 (r312092) +++ head/databases/Makefile Tue Feb 12 10:30:26 2013 (r312093) @@ -178,6 +178,7 @@ SUBDIR += linux-oracle-instantclient-basic SUBDIR += linux-oracle-instantclient-sdk SUBDIR += linux-oracle-instantclient-sqlplus + SUBDIR += liquibase SUBDIR += lsdb SUBDIR += luasql-mysql SUBDIR += luasql-postgres Added: head/databases/liquibase/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/liquibase/Makefile Tue Feb 12 10:30:26 2013 (r312093) @@ -0,0 +1,24 @@ +# Created by: Gea-Suan Lin +# $FreeBSD$ + +PORTNAME= liquibase +PORTVERSION= 2.0.5 +CATEGORIES= databases java +MASTER_SITES= http://cloud.github.com/downloads/liquibase/liquibase/ +DISTFILES= ${PORTNAME}-${PORTVERSION}-bin${EXTRACT_SUFX} + +MAINTAINER= gslin@gslin.org +COMMENT= Database Change Management + +LICENSE= AL2 + +NO_BUILD= yes +NO_WRKSUBDIR= yes +USE_JAVA= yes + +do-install: + ${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/liquibase.jar ${DATADIR}/ + ${INSTALL_SCRIPT} ${WRKSRC}/liquibase ${PREFIX}/bin/ + +.include Added: head/databases/liquibase/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/liquibase/distinfo Tue Feb 12 10:30:26 2013 (r312093) @@ -0,0 +1,2 @@ +SHA256 (liquibase-2.0.5-bin.tar.gz) = 8e395ce32f0b35fd7eaeb1b718adc8286ea6002af193b1f0812accf0810b6320 +SIZE (liquibase-2.0.5-bin.tar.gz) = 1859514 Added: head/databases/liquibase/files/patch-liquibase ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/liquibase/files/patch-liquibase Tue Feb 12 10:30:26 2013 (r312093) @@ -0,0 +1,63 @@ +--- liquibase.orig 2013-02-11 22:36:23.000000000 +0800 ++++ liquibase 2013-02-11 22:38:03.000000000 +0800 +@@ -1,51 +1,14 @@ + #! /bin/sh + +-if [ -n "${LIQUIBASE_HOME+x}" ]; then +-echo "Liquibase Home: $LIQUIBASE_HOME" +-else +- echo "Liquibase Home is not set." +- +- ## resolve links - $0 may be a symlink +- PRG="$0" +- while [ -h "$PRG" ] ; do +- ls=`ls -ld "$PRG"` +- link=`expr "$ls" : '.*-> \(.*\)$'` +- if expr "$link" : '/.*' > /dev/null; then +- PRG="$link" +- else +- PRG=`dirname "$PRG"`"/$link" +- fi +- done +- +- +- LIQUIBASE_HOME=`dirname "$PRG"` +- +- # make it fully qualified +- LIQUIBASE_HOME=`cd "$LIQUIBASE_HOME" && pwd` +- echo "Liquibase Home: $LIQUIBASE_HOME" +-fi +- +- +-# build classpath from all jars in lib +-if [ -f /usr/bin/cygpath ]; then +- CP=. +- for i in "$LIQUIBASE_HOME"/liquibase*.jar; do +- i=`cygpath --windows "$i"` +- CP="$CP;$i" +- done +- for i in "$LIQUIBASE_HOME"/lib/*.jar; do +- i=`cygpath --windows "$i"` +- CP="$CP;$i" +- done +-else +- CP=. +- for i in "$LIQUIBASE_HOME"/liquibase*.jar; do +- CP="$CP":"$i" +- done +- for i in "$LIQUIBASE_HOME"/lib/*.jar; do +- CP="$CP":"$i" +- done +-fi ++LIQUIBASE_HOME=`dirname $0`/../share/liquibase ++ ++CP=. ++for i in "$LIQUIBASE_HOME"/liquibase*.jar; do ++ CP="$CP":"$i" ++done ++for i in "$LIQUIBASE_HOME"/lib/*.jar; do ++ CP="$CP":"$i" ++done + + # add any JVM options here + JAVA_OPTS= Added: head/databases/liquibase/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/liquibase/pkg-descr Tue Feb 12 10:30:26 2013 (r312093) @@ -0,0 +1,6 @@ +Liquibase is an open source (Apache 2.0 Licensed), database-independent +library for tracking, managing and applying database changes. It is built on +a simple premise: All database changes are stored in a human readable yet +trackable form and checked into source control. + +WWW: http://www.liquibase.org/ Added: head/databases/liquibase/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/liquibase/pkg-plist Tue Feb 12 10:30:26 2013 (r312093) @@ -0,0 +1,4 @@ +@comment $FreeBSD$ +%%DATADIR%%/liquibase.jar +bin/liquibase +@dirrmtry %%DATADIR%%