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