# -*- 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 # $Id$ PortSystem 1.0 name jabref version 2.8.1 categories java platforms darwin license GPL-2 maintainers nicos openmaintainer description JabRef is an java-based bibliography reference manager. long_description JabRef is an open source bibliography reference manager. \ The native file format used by JabRef is BibTeX, the standard \ LaTeX bibliography format.\ homepage http://jabref.sourceforge.net/index.php distname JabRef-${version}-src master_sites sourceforge:project/jabref/jabref/${version} checksums sha1 d46a31decf5e2f8894c0632d45bf44bd3a2d408a \ rmd160 98dc727bcb83cb85b103c127a4a3add1c928d695 \ sha256 5ed7413bc97344c8bddfd48a8ca7a3708a28af05334e88eeecf4a4bfae197e92 worksrcdir ${name}-${version} use_bzip2 yes depends_build port:apache-ant \ port:jarbundler patchfiles OSXAdapter.java.diff use_configure no build.cmd ant build.target build osx destroot.cmd ant destroot.target jars osxjar destroot.destdir pre-configure { #Using macports jarbundler reinplace "s|classpath=\"\${lib.dir}/jarbundler-2.2.0.jar\"|classpath=\"${prefix}/share/java/jarbundler.jar\"|g" \ ${worksrcpath}/build.xml #Putting destination to destroot reinplace "s|