# $Id: Portfile 73638 2010-11-20 10:23:14Z blair@macports.org $ PortSystem 1.0 name scala-migrations version 1.0.0 categories java platforms darwin maintainers blair 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 http://code.google.com/p/scala-migrations/ master_sites googlecode distfiles ${name}-${version}-2.7.7-jdbc4.jar checksums md5 63d474af2389ed663b19b05026c193bc \ sha1 649bf59cbdbb89dde732d5a8e4d449d819810b9c \ rmd160 d6cc6167bf9c5faf22a80e90a9cc2a2fc8417d86 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 }