source: trunk/dports/java/jabref/Portfile @ 95220

Last change on this file since 95220 was 95220, checked in by nicos@…, 8 years ago

jabref: upgrading to 2.8.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- 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
2# $Id: Portfile 95220 2012-07-07 09:30:06Z nicos@macports.org $
3
4PortSystem          1.0
5
6name                jabref
7version             2.8.1
8categories          java
9platforms           darwin
10license             GPL-2
11maintainers         nicos openmaintainer
12
13description         JabRef is an java-based bibliography reference manager.
14long_description    JabRef is an open source bibliography reference manager. \
15                    The native file format used by JabRef is BibTeX, the standard \
16                    LaTeX bibliography format.\
17
18homepage            http://jabref.sourceforge.net/index.php
19distname            JabRef-${version}-src
20master_sites        sourceforge:project/jabref/jabref/${version}
21
22checksums           sha1    d46a31decf5e2f8894c0632d45bf44bd3a2d408a \
23                    rmd160  98dc727bcb83cb85b103c127a4a3add1c928d695 \
24                    sha256  5ed7413bc97344c8bddfd48a8ca7a3708a28af05334e88eeecf4a4bfae197e92
25
26worksrcdir          ${name}-${version}
27
28use_bzip2           yes
29
30depends_build       port:apache-ant \
31                    port:jarbundler
32
33patchfiles          OSXAdapter.java.diff
34
35use_configure       no
36
37build.cmd           ant
38build.target        build osx
39
40destroot.cmd        ant
41destroot.target     jars osxjar
42destroot.destdir   
43
44pre-configure {
45    #Using macports jarbundler
46    reinplace "s|classpath=\"\${lib.dir}/jarbundler-2.2.0.jar\"|classpath=\"${prefix}/share/java/jarbundler.jar\"|g" \
47        ${worksrcpath}/build.xml
48    #Putting destination to destroot
49    reinplace "s|<jarbundler dir=\"\${build.lib}\"|<jarbundler \
50        dir=\"${destroot}${applications_dir}\"|g" ${worksrcpath}/build.xml
51}
52
53livecheck.type      sourceforge
54livecheck.url       http://sourceforge.net/projects/jabref/files/jabref/
Note: See TracBrowser for help on using the repository browser.