svn commit: r312093 - in head/databases: . liquibase liquibase/files
Martin Wilke
miwi at FreeBSD.org
Tue Feb 12 10:30:28 UTC 2013
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 <gslin at gslin.org>
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 <gslin at gslin.org>
+# $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 at 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 <bsd.port.mk>
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 @@
+ at comment $FreeBSD$
+%%DATADIR%%/liquibase.jar
+bin/liquibase
+ at dirrmtry %%DATADIR%%
More information about the svn-ports-head
mailing list