Revision: 86709 http://trac.macports.org/changeset/86709 Author: nicos@macports.org Date: 2011-11-01 10:04:06 -0700 (Tue, 01 Nov 2011) Log Message: ----------- jabref: adding portfile Added Paths: ----------- trunk/dports/java/jabref/ trunk/dports/java/jabref/Portfile Added: trunk/dports/java/jabref/Portfile =================================================================== --- trunk/dports/java/jabref/Portfile (rev 0) +++ trunk/dports/java/jabref/Portfile 2011-11-01 17:04:06 UTC (rev 86709) @@ -0,0 +1,51 @@ +# -*- 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.7.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 3b7845087476bccc913b2ebd30392f525c77c0b6 \ + rmd160 93e4514038a54070701a7b3f9a8f0980fe8b9be9 + +worksrcdir ${name}-${version} + +use_bzip2 yes + +depends_build port:apache-ant \ + port:jarbundler + +use_configure no + +build.cmd ant +build.target jars + +destroot.cmd ant +destroot.target 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|<jarbundler dir=\"\${build.lib}\"|<jarbundler \ + dir=\"${destroot}${applications_dir}\"|g" ${worksrcpath}/build.xml +} + +livecheck.type sourceforge +livecheck.url http://sourceforge.net/projects/jabref/files/jabref/ Property changes on: trunk/dports/java/jabref/Portfile ___________________________________________________________________ Added: svn:keywords + Id Added: svn:eol-style + native
participants (1)
-
nicos@macports.org