[78755] trunk/dports/java/xdoclet/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sat May 21 07:51:19 PDT 2011
Revision: 78755
http://trac.macports.org/changeset/78755
Author: ryandesign at macports.org
Date: 2011-05-21 07:51:18 -0700 (Sat, 21 May 2011)
Log Message:
-----------
xdoclet: indicate this is noarch; install docs to the right place; simplify destroot using "xinstall -W"
Modified Paths:
--------------
trunk/dports/java/xdoclet/Portfile
Modified: trunk/dports/java/xdoclet/Portfile
===================================================================
--- trunk/dports/java/xdoclet/Portfile 2011-05-21 14:23:30 UTC (rev 78754)
+++ trunk/dports/java/xdoclet/Portfile 2011-05-21 14:51:18 UTC (rev 78755)
@@ -4,11 +4,11 @@
name xdoclet
version 1.2.3
-revision 1
-
+revision 2
categories java
maintainers nomaintainer
platforms darwin
+supported_archs noarch
description XDoclet is an open source code generation engine.
long_description XDoclet is an open source code generation engine. It \
@@ -44,46 +44,48 @@
destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc
- file copy ${worksrcpath}/target/docs/ ${destroot}$prefix/share/doc
+ copy ${worksrcpath}/target/docs/ ${destroot}${prefix}/share/doc/${name}
- file copy ${worksrcpath}/target/lib/maven-xdoclet-plugin-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-apache-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-bea-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-borland-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-caucho-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-de-locale-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-ejb-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-exolab-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-fr_FR-locale-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-hibernate-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-hp-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-ibm-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-java-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-jboss-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-jdo-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-jmx-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-jsf-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-libelis-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-macromedia-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-mockobjects-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-mvcsoft-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-mx4j-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-objectweb-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-openejb-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-oracle-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-orion-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-portlet-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-pramati-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-pt_BR-locale-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-solarmetric-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-spring-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-sun-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-sybase-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-tjdo-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-web-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-webwork-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-wsee-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/lib/xdoclet-xdoclet-module-${version}.jar ${destroot}${prefix}/share/java/
- file copy ${worksrcpath}/target/xdoclet-base-locale-${version}.jar ${destroot}${prefix}/share/java/
+ xinstall -W ${worksrcpath}/target -m 644 \
+ lib/maven-xdoclet-plugin-${version}.jar \
+ lib/xdoclet-${version}.jar \
+ lib/xdoclet-apache-module-${version}.jar \
+ lib/xdoclet-bea-module-${version}.jar \
+ lib/xdoclet-borland-module-${version}.jar \
+ lib/xdoclet-caucho-module-${version}.jar \
+ lib/xdoclet-de-locale-${version}.jar \
+ lib/xdoclet-ejb-module-${version}.jar \
+ lib/xdoclet-exolab-module-${version}.jar \
+ lib/xdoclet-fr_FR-locale-${version}.jar \
+ lib/xdoclet-hibernate-module-${version}.jar \
+ lib/xdoclet-hp-module-${version}.jar \
+ lib/xdoclet-ibm-module-${version}.jar \
+ lib/xdoclet-java-module-${version}.jar \
+ lib/xdoclet-jboss-module-${version}.jar \
+ lib/xdoclet-jdo-module-${version}.jar \
+ lib/xdoclet-jmx-module-${version}.jar \
+ lib/xdoclet-jsf-module-${version}.jar \
+ lib/xdoclet-libelis-module-${version}.jar \
+ lib/xdoclet-macromedia-module-${version}.jar \
+ lib/xdoclet-mockobjects-module-${version}.jar \
+ lib/xdoclet-mvcsoft-module-${version}.jar \
+ lib/xdoclet-mx4j-module-${version}.jar \
+ lib/xdoclet-objectweb-module-${version}.jar \
+ lib/xdoclet-openejb-module-${version}.jar \
+ lib/xdoclet-oracle-module-${version}.jar \
+ lib/xdoclet-orion-module-${version}.jar \
+ lib/xdoclet-portlet-module-${version}.jar \
+ lib/xdoclet-pramati-module-${version}.jar \
+ lib/xdoclet-pt_BR-locale-${version}.jar \
+ lib/xdoclet-solarmetric-module-${version}.jar \
+ lib/xdoclet-spring-module-${version}.jar \
+ lib/xdoclet-sun-module-${version}.jar \
+ lib/xdoclet-sybase-module-${version}.jar \
+ lib/xdoclet-tjdo-module-${version}.jar \
+ lib/xdoclet-web-module-${version}.jar \
+ lib/xdoclet-webwork-module-${version}.jar \
+ lib/xdoclet-wsee-module-${version}.jar \
+ lib/xdoclet-xdoclet-module-${version}.jar \
+ xdoclet-base-locale-${version}.jar \
+ ${destroot}${prefix}/share/java/
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110521/4e98086e/attachment.html>
More information about the macports-changes
mailing list