Changeset 78755 for trunk/dports/java


Ignore:
Timestamp:
May 21, 2011, 2:51:18 PM (8 years ago)
Author:
ryandesign@…
Message:

xdoclet: indicate this is noarch; install docs to the right place; simplify destroot using "xinstall -W"

File:
1 edited

Legend:

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

    r78754 r78755  
    55name                            xdoclet
    66version                         1.2.3
    7 revision                        1
    8 
     7revision                        2
    98categories                      java
    109maintainers                     nomaintainer
    1110platforms                       darwin
     11supported_archs         noarch
    1212
    1313description                     XDoclet is an open source code generation engine.
     
    4545        xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc
    4646
    47         file copy ${worksrcpath}/target/docs/ ${destroot}$prefix/share/doc
     47        copy ${worksrcpath}/target/docs/ ${destroot}${prefix}/share/doc/${name}
    4848
    49         file copy ${worksrcpath}/target/lib/maven-xdoclet-plugin-${version}.jar ${destroot}${prefix}/share/java/
    50         file copy ${worksrcpath}/target/lib/xdoclet-${version}.jar ${destroot}${prefix}/share/java/
    51         file copy ${worksrcpath}/target/lib/xdoclet-apache-module-${version}.jar ${destroot}${prefix}/share/java/
    52         file copy ${worksrcpath}/target/lib/xdoclet-bea-module-${version}.jar ${destroot}${prefix}/share/java/
    53         file copy ${worksrcpath}/target/lib/xdoclet-borland-module-${version}.jar ${destroot}${prefix}/share/java/
    54         file copy ${worksrcpath}/target/lib/xdoclet-caucho-module-${version}.jar ${destroot}${prefix}/share/java/
    55         file copy ${worksrcpath}/target/lib/xdoclet-de-locale-${version}.jar ${destroot}${prefix}/share/java/
    56         file copy ${worksrcpath}/target/lib/xdoclet-ejb-module-${version}.jar ${destroot}${prefix}/share/java/
    57         file copy ${worksrcpath}/target/lib/xdoclet-exolab-module-${version}.jar ${destroot}${prefix}/share/java/
    58         file copy ${worksrcpath}/target/lib/xdoclet-fr_FR-locale-${version}.jar ${destroot}${prefix}/share/java/
    59         file copy ${worksrcpath}/target/lib/xdoclet-hibernate-module-${version}.jar ${destroot}${prefix}/share/java/
    60         file copy ${worksrcpath}/target/lib/xdoclet-hp-module-${version}.jar ${destroot}${prefix}/share/java/
    61         file copy ${worksrcpath}/target/lib/xdoclet-ibm-module-${version}.jar ${destroot}${prefix}/share/java/
    62         file copy ${worksrcpath}/target/lib/xdoclet-java-module-${version}.jar ${destroot}${prefix}/share/java/
    63         file copy ${worksrcpath}/target/lib/xdoclet-jboss-module-${version}.jar ${destroot}${prefix}/share/java/
    64         file copy ${worksrcpath}/target/lib/xdoclet-jdo-module-${version}.jar ${destroot}${prefix}/share/java/
    65         file copy ${worksrcpath}/target/lib/xdoclet-jmx-module-${version}.jar ${destroot}${prefix}/share/java/
    66         file copy ${worksrcpath}/target/lib/xdoclet-jsf-module-${version}.jar ${destroot}${prefix}/share/java/
    67         file copy ${worksrcpath}/target/lib/xdoclet-libelis-module-${version}.jar ${destroot}${prefix}/share/java/
    68         file copy ${worksrcpath}/target/lib/xdoclet-macromedia-module-${version}.jar ${destroot}${prefix}/share/java/
    69         file copy ${worksrcpath}/target/lib/xdoclet-mockobjects-module-${version}.jar ${destroot}${prefix}/share/java/
    70         file copy ${worksrcpath}/target/lib/xdoclet-mvcsoft-module-${version}.jar ${destroot}${prefix}/share/java/
    71         file copy ${worksrcpath}/target/lib/xdoclet-mx4j-module-${version}.jar ${destroot}${prefix}/share/java/
    72         file copy ${worksrcpath}/target/lib/xdoclet-objectweb-module-${version}.jar ${destroot}${prefix}/share/java/
    73         file copy ${worksrcpath}/target/lib/xdoclet-openejb-module-${version}.jar ${destroot}${prefix}/share/java/
    74         file copy ${worksrcpath}/target/lib/xdoclet-oracle-module-${version}.jar ${destroot}${prefix}/share/java/
    75         file copy ${worksrcpath}/target/lib/xdoclet-orion-module-${version}.jar ${destroot}${prefix}/share/java/
    76         file copy ${worksrcpath}/target/lib/xdoclet-portlet-module-${version}.jar ${destroot}${prefix}/share/java/
    77         file copy ${worksrcpath}/target/lib/xdoclet-pramati-module-${version}.jar ${destroot}${prefix}/share/java/
    78         file copy ${worksrcpath}/target/lib/xdoclet-pt_BR-locale-${version}.jar ${destroot}${prefix}/share/java/
    79         file copy ${worksrcpath}/target/lib/xdoclet-solarmetric-module-${version}.jar ${destroot}${prefix}/share/java/
    80         file copy ${worksrcpath}/target/lib/xdoclet-spring-module-${version}.jar ${destroot}${prefix}/share/java/
    81         file copy ${worksrcpath}/target/lib/xdoclet-sun-module-${version}.jar ${destroot}${prefix}/share/java/
    82         file copy ${worksrcpath}/target/lib/xdoclet-sybase-module-${version}.jar ${destroot}${prefix}/share/java/
    83         file copy ${worksrcpath}/target/lib/xdoclet-tjdo-module-${version}.jar ${destroot}${prefix}/share/java/
    84         file copy ${worksrcpath}/target/lib/xdoclet-web-module-${version}.jar ${destroot}${prefix}/share/java/
    85         file copy ${worksrcpath}/target/lib/xdoclet-webwork-module-${version}.jar ${destroot}${prefix}/share/java/
    86         file copy ${worksrcpath}/target/lib/xdoclet-wsee-module-${version}.jar ${destroot}${prefix}/share/java/
    87         file copy ${worksrcpath}/target/lib/xdoclet-xdoclet-module-${version}.jar ${destroot}${prefix}/share/java/
    88         file copy ${worksrcpath}/target/xdoclet-base-locale-${version}.jar ${destroot}${prefix}/share/java/
     49        xinstall -W ${worksrcpath}/target -m 644 \
     50                lib/maven-xdoclet-plugin-${version}.jar \
     51                lib/xdoclet-${version}.jar \
     52                lib/xdoclet-apache-module-${version}.jar \
     53                lib/xdoclet-bea-module-${version}.jar \
     54                lib/xdoclet-borland-module-${version}.jar \
     55                lib/xdoclet-caucho-module-${version}.jar \
     56                lib/xdoclet-de-locale-${version}.jar \
     57                lib/xdoclet-ejb-module-${version}.jar \
     58                lib/xdoclet-exolab-module-${version}.jar \
     59                lib/xdoclet-fr_FR-locale-${version}.jar \
     60                lib/xdoclet-hibernate-module-${version}.jar \
     61                lib/xdoclet-hp-module-${version}.jar \
     62                lib/xdoclet-ibm-module-${version}.jar \
     63                lib/xdoclet-java-module-${version}.jar \
     64                lib/xdoclet-jboss-module-${version}.jar \
     65                lib/xdoclet-jdo-module-${version}.jar \
     66                lib/xdoclet-jmx-module-${version}.jar \
     67                lib/xdoclet-jsf-module-${version}.jar \
     68                lib/xdoclet-libelis-module-${version}.jar \
     69                lib/xdoclet-macromedia-module-${version}.jar \
     70                lib/xdoclet-mockobjects-module-${version}.jar \
     71                lib/xdoclet-mvcsoft-module-${version}.jar \
     72                lib/xdoclet-mx4j-module-${version}.jar \
     73                lib/xdoclet-objectweb-module-${version}.jar \
     74                lib/xdoclet-openejb-module-${version}.jar \
     75                lib/xdoclet-oracle-module-${version}.jar \
     76                lib/xdoclet-orion-module-${version}.jar \
     77                lib/xdoclet-portlet-module-${version}.jar \
     78                lib/xdoclet-pramati-module-${version}.jar \
     79                lib/xdoclet-pt_BR-locale-${version}.jar \
     80                lib/xdoclet-solarmetric-module-${version}.jar \
     81                lib/xdoclet-spring-module-${version}.jar \
     82                lib/xdoclet-sun-module-${version}.jar \
     83                lib/xdoclet-sybase-module-${version}.jar \
     84                lib/xdoclet-tjdo-module-${version}.jar \
     85                lib/xdoclet-web-module-${version}.jar \
     86                lib/xdoclet-webwork-module-${version}.jar \
     87                lib/xdoclet-wsee-module-${version}.jar \
     88                lib/xdoclet-xdoclet-module-${version}.jar \
     89                xdoclet-base-locale-${version}.jar \
     90                ${destroot}${prefix}/share/java/
    8991}
Note: See TracChangeset for help on using the changeset viewer.