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

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

jabref: update to 2.7.2

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 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 86731 2011-11-02 11:21:50Z nicos@macports.org $
3
4PortSystem          1.0
5
6name                jabref
7version             2.7.2
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    aa55ccfcf58c4f168275104649e58e189e855044 \
23                    rmd160  c68609d8f0960a53f4b11553280f448d0ed71a43
24
25worksrcdir          ${name}-${version}
26
27use_bzip2           yes
28
29depends_build       port:apache-ant \
30                    port:jarbundler
31
32use_configure       no
33
34build.cmd           ant
35build.target        jars
36
37destroot.cmd        ant
38destroot.target     osxjar
39destroot.destdir   
40
41pre-configure {
42    #Using macports jarbundler
43    reinplace "s|classpath=\"\${lib.dir}/jarbundler-2.2.0.jar\"|classpath=\"${prefix}/share/java/jarbundler.jar\"|g" \
44        ${worksrcpath}/build.xml
45    #Putting destination to destroot
46    reinplace "s|<jarbundler dir=\"\${build.lib}\"|<jarbundler \
47        dir=\"${destroot}${applications_dir}\"|g" ${worksrcpath}/build.xml
48}
49
50livecheck.type      sourceforge
51livecheck.url       http://sourceforge.net/projects/jabref/files/jabref/
Note: See TracBrowser for help on using the repository browser.