PortSystem 1.0

name                    scala-migrations
version                 1.0.1
categories              java
platforms               darwin
maintainers             {blair @blair} openmaintainer
description             Database migrations written in Scala

long_description        Scala Migrations is a library to manage upgrades and \
                        rollbacks to database schemas.  Migrations allow a \
                        source control system to manage together the database \
                        schema and the code using the schema.  It is designed \
                        to allow multiple developers working on a project with \
                        a database backend to design schema modifications \
                        independently, apply the migrations to their local \
                        database for debugging and when complete, check them \
                        into a source control system to manage as one manages \
                        normal source code.  Other developers then check out \
                        the new migrations and apply them to their local \
                        database.  Finally, the migrations are used to migrate \
                        the production databases to the latest schema version. \
                        The Scala Migrations library is written in Scala and \
                        makes use of the clean Scala language to write easy to \
                        understand migrations, which are also written in \
                        Scala.  Scala Migrations provides a database \
                        abstraction layer that allows migrations to target any \
                        supported database vendor.

homepage                https://code.google.com/p/scala-migrations/

master_sites            googlecode
distfiles               ${name}-${version}-2.7.7-jdbc4.jar

checksums               md5 313dd712d8d8f9929f611bcd54e7d42e \
                        sha1 cd6ff9673f6b4357addb49130a71ecbcd970770b \
                        rmd160 f017c7bc92d29b7e46dfd699ea1a685d5858d4d0
extract.only

depends_lib             bin:java:kaffe

use_configure           no

build { }

destroot {
        set javadir ${destroot}${prefix}/share/java

        xinstall -d -m 755 ${javadir}
        file copy ${distpath}/${name}-${version}-2.7.7-jdbc4.jar ${javadir}/${name}.jar
}
