반응형
 

commons-beanutils  most recent diff


version 1.8.0

    View the most recent changes for the commons-beanutils port at: commons-beanutils.darwinports.com/diff
    Scroll down toward the bottom of the page to get installation instructions for commons-beanutils.
    The raw
    portfile for commons-beanutils 1.8.0 is located here:
    http://commons-beanutils.darwinports.com/dports/java/commons-beanutils/Portfile
    Find related portfiles with the unique DarwinPorts.com search feature.
    Check for any related Fink projects here:
    pdb.finkproject.org/pdb/package.php/commons-beanutils

    The commons-beanutils Portfile 40121 2008-09-21 15:49:41Z jberry macports.org $

    PortSystem 1.0

    Name: commons-beanutils
    Version: 1.8.0

    Category: java
    Maintainers: jberry openmaintainer
    Platform: darwin

    Description: Jakarta Commons-BeanUtils
    Long Description: Commons-BeanUtils provides easy-to-use wrappers around the Java reflection and introspection APIs.
    Homepage:
    http://commons.apache.org/beanutils/

    distfiles ${distname}-src${extract.suffix}

    Master Sites: apache:commons/beanutils/source/

    Checksums: md5 1bce3cfa4ae33c94686422e78abc0792 sha1 a4af85d2cfd04a42d8de9a5bb5336a21f33e30ce

    depends_build bin:ant:apache-ant
    depends_lib bin:java:kaffe port:junit port:commons-logging port:commons-collections

    worksrcdir ${distname}-src

    use_configure no

    build.cmd ant
    build.target jar javadoc
    build.args -Dcommons-collections.jar=${prefix}/share/java/commons-collections.jar -Dcommons-logging.jar=${prefix}/share/java/commons-logging.jar -Djunit.jar=${prefix}/share/java/junit.jar

    destroot {
    xinstall -m 755 -d ${destroot}${prefix}/share/java ${destroot}${prefix}/share/doc
    xinstall -m 644 ${worksrcpath}/dist/commons-beanutils-core-${version}.jar ${destroot}${prefix}/share/java/commons-beanutils-core.jar
    xinstall -m 644 ${worksrcpath}/dist/commons-beanutils-${version}.jar ${destroot}${prefix}/share/java/commons-beanutils.jar
    file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name}
    }

    livecheck.check regex
    livecheck.url
    http://commons.apache.org/downloads/download_beanutils.cgi
    livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"

If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


    %  cd /opt/local/bin/portslocation/dports/commons-beanutils
    % sudo port install commons-beanutils
    Password:
You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

    ---> Fetching commons-beanutils
    ---> Verifying checksum for commons-beanutils
    ---> Extracting commons-beanutils
    ---> Configuring commons-beanutils
    ---> Building commons-beanutils with target all
    ---> Staging commons-beanutils into destroot
    ---> Installing commons-beanutils
- Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using commons-beanutils with these commands:
    %  man commons-beanutils
    % apropos commons-beanutils
    % which commons-beanutils
    % locate commons-beanutils

 Where to find more information:

Darwin Ports
Posted by 1010