source: trunk/dports/java/ditaa/Portfile

Last change on this file was 129144, checked in by petr@…, 3 years ago

ditaa: set nomaintainer

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 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 129144 2014-12-07 19:02:39Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                ditaa
7version             0.9
8revision            3
9categories          java editors
10platforms           darwin
11supported_archs     noarch
12license             GPL-2+
13maintainers         nomaintainer
14
15description         ditaa is a small command-line utility written in Java \
16                    that can convert diagrams drawn using ascii art
17
18long_description    ${description}
19
20homepage            http://ditaa.sourceforge.net
21master_sites        sourceforge
22distfiles           ${name}[strsed ${version} {/\./_/}]-src.zip
23use_zip             yes
24
25checksums           md5     d7230273bf4c28c5029d350842278cf9 \
26                    sha1    570893b57cb29efbc919c7a36f119a0db11c46ce \
27                    rmd160  84222a7ded4680d3d0b2b7fac79e19c8983c6233
28
29depends_build       bin:ant:apache-ant
30
31extract.mkdir       yes
32
33post-extract {
34    xinstall -m 755 -d ${worksrcpath}/bin
35}
36
37use_configure       no
38
39build.cmd           ant
40build.args          -buildfile build/release.xml
41build.target        compile release-jar
42
43destroot {
44    xinstall -m 755 -d ${destroot}${prefix}/share/java/
45    xinstall -m 644 ${worksrcpath}/releases/${name}[strsed ${version} {/\./_/}].jar \
46        ${destroot}${prefix}/share/java/
47
48    set docdir ${destroot}${prefix}/share/doc/${name}
49    xinstall -d ${docdir}
50    xinstall -m 644 -W ${worksrcpath} \
51        COPYING \
52        HISTORY \
53        ${docdir}
54
55    if {[variant_isset emacs]} {
56        xinstall -m 755 -d ${destroot}${prefix}/share/emacs/contrib/scripts/
57        xinstall -m 644 ${worksrcpath}/releases/${name}[strsed ${version} {/\./_/}].jar \
58            ${destroot}${prefix}/share/emacs/contrib/scripts/ditaa.jar
59    }
60}
61
62variant emacs description {Link it into emacs} {
63}
Note: See TracBrowser for help on using the repository browser.