New port: Jakarta Commons BeanUtils.

See:
http://jakarta.apache.org/commons/beanutils.html
This commit is contained in:
Ernst de Haan 2002-11-14 10:23:58 +00:00
parent a293128476
commit f4a22be2e2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70098
7 changed files with 138 additions and 0 deletions

View file

@ -16,6 +16,7 @@
SUBDIR += jad
SUBDIR += jaf
SUBDIR += jakarta-bcel
SUBDIR += jakarta-commons-beanutils
SUBDIR += jakarta-commons-cli
SUBDIR += jakarta-commons-collections
SUBDIR += jakarta-commons-lang

View file

@ -0,0 +1,52 @@
# New ports collection makefile for: Jakarta Commons Beanutils
# Date created: November 14, 2002
# Whom: Ernst de Haan <znerd@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= commons-beanutils
PORTVERSION= 1.0
CATEGORIES= java
MASTER_SITES= http://jakarta.apache.org/builds/jakarta-commons/release/${PORTNAME}/v${PORTVERSION}/
PKGNAMEPREFIX= jakarta-
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= znerd@FreeBSD.org
BUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/jakarta-ant \
${LOCALBASE}/share/java/classes/commons-collections.jar:${PORTSDIR}/java/jakarta-commons-collections
USE_JAVA= 1.2+
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src/beanutils
PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///}
ANT?= ${LOCALBASE}/bin/ant
.if defined(NOPORTDOCS)
ANT_TARGET= dist
.else
ANT_TARGET= dist
.endif
JAVASHAREDIR= ${PREFIX}/share/java
JARDIR= ${JAVASHAREDIR}/classes
JARFILE= ${PORTNAME}.jar
DESTJARFILE= ${PORTNAME}.jar
post-patch:
@${CP} ${FILESDIR}/LICENSE ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src/
do-build:
@cd ${WRKSRC} && ${ANT} ${ANT_TARGET}
do-install:
@${ECHO} -n ">> Installing JAR as ${JARDIR}/${DESTJARFILE}..."
@${CP} ${WRKSRC}/dist/${JARFILE} ${JARDIR}/${DESTJARFILE}
@${ECHO} " [ DONE ]"
.if !defined(NOPORTDOCS)
@${ECHO} -n ">> Installing documentation in ${DOCSDIR}..."
${MKDIR} ${DOCSDIR}
${CP} -r ${WRKSRC}/dist/docs/api/* ${DOCSDIR}
@${ECHO} " [ DONE ]"
.endif
.include <bsd.port.mk>

View file

@ -0,0 +1 @@
MD5 (commons-beanutils-1.0-src.tar.gz) = 99ef1422867f1fe9b2c9f9864d90a8e0

View file

@ -0,0 +1,56 @@
/*
* ====================================================================
*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2001 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* 3. The end-user documentation included with the redistribution, if
* any, must include the following acknowlegement:
* "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowlegement may appear in the software itself,
* if and wherever such third-party acknowlegements normally appear.
*
* 4. The names "The Jakarta Project", "Commons", and "Apache Software
* Foundation" must not be used to endorse or promote products derived
* from this software without prior written permission. For written
* permission, please contact apache@apache.org.
*
* 5. Products derived from this software may not be called "Apache",
* "Velocity" nor may "Apache" appear in their names without prior
* written permission of the Apache Group.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
* ====================================================================
*
* This software consists of voluntary contributions made by many
* individuals on behalf of the Apache Software Foundation. For more
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*
*/

View file

@ -0,0 +1 @@
JavaBeans utility library

View file

@ -0,0 +1,5 @@
JavaBeans utility library. It provides wrappers around getters
and setters for a property in an object for classes that conform
to the JavaBeans naming standard.
WWW: http://jakarta.apache.org/commons/beanutils.html

View file

@ -0,0 +1,22 @@
share/doc/commons-beanutils/org/apache/commons/beanutils/package-summary.html
share/doc/commons-beanutils/org/apache/commons/beanutils/package-tree.html
share/doc/commons-beanutils/org/apache/commons/beanutils/package-frame.html
share/doc/commons-beanutils/org/apache/commons/beanutils/BeanUtils.html
share/doc/commons-beanutils/org/apache/commons/beanutils/ConvertUtils.html
share/doc/commons-beanutils/org/apache/commons/beanutils/PropertyUtils.html
share/doc/commons-beanutils/serialized-form.html
share/doc/commons-beanutils/packages.html
share/doc/commons-beanutils/package-list
share/doc/commons-beanutils/overview-tree.html
share/doc/commons-beanutils/index.html
share/doc/commons-beanutils/index-all.html
share/doc/commons-beanutils/help-doc.html
share/doc/commons-beanutils/deprecated-list.html
share/doc/commons-beanutils/stylesheet.css
share/doc/commons-beanutils/allclasses-frame.html
share/java/classes/commons-beanutils.jar
@dirrm share/doc/commons-beanutils/org/apache/commons/beanutils
@dirrm share/doc/commons-beanutils/org/apache/commons
@dirrm share/doc/commons-beanutils/org/apache
@dirrm share/doc/commons-beanutils/org
@dirrm share/doc/commons-beanutils