2017-11-30 07:37:37 +01:00
|
|
|
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
|
|
|
|
|
|
PortSystem 1.0
|
|
|
|
|
PortGroup select 1.0
|
2020-03-19 14:23:17 -05:00
|
|
|
PortGroup java 1.0
|
2017-11-30 07:37:37 +01:00
|
|
|
|
|
|
|
|
name flyway
|
2026-02-07 23:37:14 +01:00
|
|
|
version 11.8.2
|
2017-11-30 07:37:37 +01:00
|
|
|
|
|
|
|
|
categories java devel
|
|
|
|
|
license Apache-2
|
2018-04-23 03:17:51 -05:00
|
|
|
maintainers {emcrisostomo @emcrisostomo} openmaintainer
|
2024-01-11 11:40:46 +11:00
|
|
|
platforms any
|
2017-11-30 07:37:37 +01:00
|
|
|
supported_archs noarch
|
|
|
|
|
|
|
|
|
|
description Database Migrations Made Easy.
|
|
|
|
|
long_description Flyway is an open-source database migration tool. \
|
|
|
|
|
It strongly favors simplicity and convention over \
|
|
|
|
|
configuration.
|
|
|
|
|
|
|
|
|
|
homepage https://flywaydb.org/
|
|
|
|
|
|
|
|
|
|
master_sites https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/${version}/
|
|
|
|
|
distname ${name}-commandline-${version}
|
|
|
|
|
worksrcdir ${name}-${version}
|
2018-12-02 23:28:47 +01:00
|
|
|
|
2026-02-07 23:37:14 +01:00
|
|
|
checksums rmd160 e97eb749fe62150d5c47a7ef3341fc220ffdecf6 \
|
|
|
|
|
sha256 b01677117b6be97e669314cc502da85bdce20b426bafc291738368ab980c8ca5 \
|
|
|
|
|
size 202118239
|
2018-12-02 23:28:47 +01:00
|
|
|
|
2020-03-19 14:23:17 -05:00
|
|
|
java.version 1.8+
|
2023-10-08 08:55:57 +03:00
|
|
|
java.fallback openjdk17
|
2017-11-30 07:37:37 +01:00
|
|
|
|
|
|
|
|
use_configure no
|
|
|
|
|
|
|
|
|
|
# The default build is a binary install of the jars.
|
|
|
|
|
build {}
|
|
|
|
|
|
|
|
|
|
destroot {
|
|
|
|
|
set flywaydir ${destroot}${prefix}/share/java/${name}
|
|
|
|
|
|
|
|
|
|
# Create the target directory if it does not exist
|
|
|
|
|
xinstall -m 755 -d ${flywaydir}
|
|
|
|
|
|
|
|
|
|
# Copy over the needed elements of our directory tree
|
|
|
|
|
foreach f [glob -dir ${worksrcpath} *] {
|
|
|
|
|
file copy $f ${flywaydir}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
file attributes ${flywaydir}/flyway -permissions 0755
|
|
|
|
|
|
|
|
|
|
# Symlink flyway into the bin directory
|
|
|
|
|
ln -s ../share/java/${name}/flyway ${destroot}${prefix}/bin/flyway
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
livecheck.type regex
|
|
|
|
|
livecheck.url https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/maven-metadata.xml
|
|
|
|
|
livecheck.regex >(\\d+\\.\\d+(\\.\\d+)*)</
|