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

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

jabref: improving OSX integration

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