source: trunk/dports/devel/plovr/Portfile

Last change on this file was 95899, checked in by jmr@…, 5 years ago

correct license formatting

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 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 95899 2012-07-26 10:56:29Z ryandesign@macports.org $
3
4PortSystem       1.0
5
6name             plovr
7fetch.type       hg
8hg.url           https://code.google.com/p/plovr/
9hg.tag           7b4e1ba4d8ad
10version          0.0-20120503103549
11license          Apache-2
12categories       devel lang
13maintainers      shifteleven.com:pope openmaintainer
14homepage         http://plovr.com/
15description      Tools for Closure Tools
16long_description \
17    Closure Tools are extremely powerful, but it is hard to figure out \
18    how to start using them together to improve development. The goal \
19    of the plovr project is to build additional tools to bring Closure \
20    Tools together, making them even more powerful.
21
22platforms        darwin
23supported_archs  noarch
24
25depends_build    port:apache-ant
26depends_lib      bin:java:kaffe
27
28use_configure    no
29build.cmd        ant
30build.target     build \
31                 javadoc \
32                 generate-options-documentation \
33                 generate-closure-library-jsdoc
34
35destroot {
36    set javadir ${destroot}${prefix}/share/java/${name}
37    set docdir ${destroot}${prefix}/share/doc/${name}
38    set binpath ${destroot}${prefix}/bin/${name}
39
40    xinstall -m 755 -d ${javadir} ${docdir}
41    xinstall -m 644 -W ${worksrcpath}/build plovr.jar ${javadir}
42
43    xinstall -m 755 ${filespath}/${name} ${binpath}
44    reinplace "s|__PREFIX__|${prefix}|" ${binpath}
45
46    eval copy [glob ${worksrcpath}/build/www/*] ${docdir}
47}
48
49livecheck.type   none
Note: See TracBrowser for help on using the repository browser.