1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Update to 3.3.2

- Move plist to Makefile variables

PR:		200297
Submitted by:	tkato432 at yahoo.com
This commit is contained in:
Guido Falsi 2015-06-07 19:55:18 +00:00
parent cefe0d2d80
commit 4538454b4a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=388739
5 changed files with 25 additions and 24 deletions

View File

@ -2,23 +2,29 @@
# $FreeBSD$
PORTNAME= liquibase
PORTVERSION= 2.0.5
PORTVERSION= 3.3.2
DISTVERSIONSUFFIX= -bin
CATEGORIES= databases java
MASTER_SITES= http://cloud.github.com/downloads/liquibase/liquibase/
DISTFILES= ${PORTNAME}-${PORTVERSION}-bin${EXTRACT_SUFX}
MASTER_SITES= SF/${PORTNAME}/Liquibase%20Core
MAINTAINER= ports@FreeBSD.org
COMMENT= Database Change Management
LICENSE= APACHE20
NO_ARCH= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
USE_JAVA= yes
PLIST_FILES= bin/liquibase %%DATADIR%%/liquibase.jar
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/liquibase.jar ${STAGEDIR}${DATADIR}/
${INSTALL_SCRIPT} ${WRKSRC}/liquibase ${STAGEDIR}${PREFIX}/bin/
(cd ${WRKSRC} && ${INSTALL_SCRIPT} liquibase \
${STAGEDIR}${PREFIX}/bin)
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC} && ${INSTALL_DATA} liquibase.jar \
${STAGEDIR}${DATADIR})
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (liquibase-2.0.5-bin.tar.gz) = 8e395ce32f0b35fd7eaeb1b718adc8286ea6002af193b1f0812accf0810b6320
SIZE (liquibase-2.0.5-bin.tar.gz) = 1859514
SHA256 (liquibase-3.3.2-bin.tar.gz) = 879eddb8545a30c816fa674e278b4b8293cc936884eac4bf3f5cf5af47e39784
SIZE (liquibase-3.3.2-bin.tar.gz) = 6517290

View File

@ -1,11 +1,9 @@
--- liquibase.orig 2013-02-11 22:36:23.000000000 +0800
+++ liquibase 2013-02-11 22:38:03.000000000 +0800
@@ -1,51 +1,14 @@
--- liquibase.orig 2015-01-08 14:10:22 UTC
+++ liquibase
@@ -1,49 +1,14 @@
#! /bin/sh
-if [ -n "${LIQUIBASE_HOME+x}" ]; then
-echo "Liquibase Home: $LIQUIBASE_HOME"
-else
-if [ ! -n "${LIQUIBASE_HOME+x}" ]; then
- echo "Liquibase Home is not set."
-
- ## resolve links - $0 may be a symlink
@ -25,9 +23,10 @@
-
- # make it fully qualified
- LIQUIBASE_HOME=`cd "$LIQUIBASE_HOME" && pwd`
- echo "Liquibase Home: $LIQUIBASE_HOME"
- # echo "Liquibase Home: $LIQUIBASE_HOME"
-fi
-
+LIQUIBASE_HOME=`dirname $0`/../share/liquibase
-
-# build classpath from all jars in lib
-if [ -f /usr/bin/cygpath ]; then
@ -49,8 +48,6 @@
- CP="$CP":"$i"
- done
-fi
+LIQUIBASE_HOME=`dirname $0`/../share/liquibase
+
+CP=.
+for i in "$LIQUIBASE_HOME"/liquibase*.jar; do
+ CP="$CP":"$i"
@ -60,4 +57,4 @@
+done
# add any JVM options here
JAVA_OPTS=
JAVA_OPTS="${JAVA_OPTS-}"

View File

@ -1,6 +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.
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/

View File

@ -1,2 +0,0 @@
%%DATADIR%%/liquibase.jar
bin/liquibase