Ignore:
Timestamp:
Jan 4, 2016, 5:50:09 PM (2 years ago)
Author:
ryandesign@…
Message:

gant: whitespace changes and rearranging; add modeline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/java/gant/Portfile

    r144199 r144200  
     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
    12# $Id$
    23
    3 PortSystem 1.0
     4PortSystem          1.0
    45PortGroup           github 1.0
    56
    67github.setup        Gant Gant 1.9.10
    7 name                            gant
    8 categories                      java devel groovy
    9 maintainers                     nomaintainer
     8name                gant
     9categories          java devel groovy
     10platforms           darwin
     11maintainers         nomaintainer
    1012license             Apache-2
     13supported_archs     noarch
    1114
    12 description                     A groovy based tool for scripting ant
    13 long_description        Gant is a tool for scripting Ant tasks using Groovy instead of XML \
    14                                         to specify the logic. A Gant specification is a Groovy script and so \
    15                                         can bring all the power of Groovy to bear directly, something not \
    16                                         possible with Ant scripts. Whilst it might be seen as a competitor \
    17                                         to Ant, Gant uses Ant tasks for many of the actions, so Gant is really \
    18                                         an alternative way of doing things using Ant, but using a \
    19                                         programming language rather than XML to specify the rules.
    20                                        
    21 platforms                       darwin
     15description         A groovy based tool for scripting ant
     16
     17long_description    Gant is a tool for scripting Ant tasks using Groovy instead of XML \
     18                    to specify the logic. A Gant specification is a Groovy script and so \
     19                    can bring all the power of Groovy to bear directly, something not \
     20                    possible with Ant scripts. Whilst it might be seen as a competitor \
     21                    to Ant, Gant uses Ant tasks for many of the actions, so Gant is really \
     22                    an alternative way of doing things using Ant, but using a \
     23                    programming language rather than XML to specify the rules.
    2224
    2325distname            ${name}-${version}
     
    3436}
    3537
    36 use_configure           no
     38use_configure       no
    3739
    38 build.cmd                       true
    39 supported_archs         noarch
     40build.cmd           true
    4041
    4142platform darwin {
    42     build.env           JAVA_HOME=/Library/Java/Home
     43    build.env       JAVA_HOME=/Library/Java/Home
    4344}
    4445
    4546pre-destroot {
    46         # Remove extraneous bat files
     47    # Remove extraneous bat files
    4748    delete {*}[glob -directory ${worksrcpath}/bin *.bat]
    4849}
    4950
    50 destroot        {
    51         # Create the target java directory
    52         xinstall -m 755 -d ${destroot}${prefix}/share/java/${name}
     51destroot {
     52    # Create the target java directory
     53    xinstall -m 755 -d ${destroot}${prefix}/share/java/${name}
    5354
    54         # Copy over the needed elements of our directory tree
    55         file copy ${worksrcpath}/bin                                                    \
    56                           ${worksrcpath}/lib                                                    \
    57                           ${worksrcpath}/conf                                                   \
    58                           ${destroot}${prefix}/share/java/${name}
     55    # Copy over the needed elements of our directory tree
     56    file copy ${worksrcpath}/bin                            \
     57              ${worksrcpath}/lib                            \
     58              ${worksrcpath}/conf                           \
     59              ${destroot}${prefix}/share/java/${name}
    5960
    60         # Symlink gant into the bin directory
     61    # Symlink gant into the bin directory
    6162    ln -s ${prefix}/share/java/${name}/bin/gant ${destroot}${prefix}/bin
    6263}
Note: See TracChangeset for help on using the changeset viewer.