ports/64999: [NEW PORT] devel/avalon-framework: Apache Avalon core framework for component programming
Herve Quiroz
herve.quiroz at esil.univ-mrs.fr
Sat Apr 3 15:40:24 UTC 2004
The following reply was made to PR ports/64999; it has been noted by GNATS.
From: Herve Quiroz <herve.quiroz at esil.univ-mrs.fr>
To: freebsd-gnats-submit at FreeBSD.org
Cc: znerd at FreeBSD.org
Subject: Re: ports/64999: [NEW PORT] devel/avalon-framework: Apache Avalon core framework for component programming
Date: Sat, 3 Apr 2004 17:39:32 +0200
Here's is an update of this port to use the new features from
bsd.java.mk:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# avalon-framework
# avalon-framework/pkg-descr
# avalon-framework/Makefile
# avalon-framework/distinfo
#
echo c - avalon-framework
mkdir -p avalon-framework > /dev/null 2>&1
echo x - avalon-framework/pkg-descr
sed 's/^X//' >avalon-framework/pkg-descr << 'END-of-avalon-framework/pkg-descr'
XApache Avalon provides a complete platform for component programming including
Xa core framework, utilities, tools, components and containers. By using key
Xdesign patterns such as Inversion of Control (IoC) and Seperation of Concerns
X(SoC), Avalon achieves a number of advantages over traditional object oriented
Xprogramming frameworks:
X
X * No implementation lock
X * Low coupling between components
X * Component lifecycle management
X * Configuration management and easy to use API
X * Component meta-data framework and tools
X * Service dependecy management
X * Embeddable containers for standalone, J2EE and web environments
X
XThe Avalon Framework API and Implementation consists of interfaces that define
Xrelationships between commonly used application components, best-of-practice
Xpattern enforcements, and several lightweight convenience implementations of
Xthe generic components.
X
XWWW: http://avalon.apache.org/framework/
END-of-avalon-framework/pkg-descr
echo x - avalon-framework/Makefile
sed 's/^X//' >avalon-framework/Makefile << 'END-of-avalon-framework/Makefile'
X# New ports collection makefile for: avalon-framework
X# Date created: 2004-03-31
X# Whom: Herve Quiroz <herve.quiroz at esil.univ-mrs.fr>
X#
X# $FreeBSD$
X#
X
XPORTNAME= avalon-framework
XPORTVERSION= 4.1.5
XCATEGORIES= devel java
XMASTER_SITES= ${MASTER_SITE_APACHE}
XMASTER_SITE_SUBDIR= avalon/avalon-framework/binaries/
X
XMAINTAINER= herve.quiroz at esil.univ-mrs.fr
XCOMMENT= Apache Avalon core framework for component programming
X
XUSE_JAVA= yes
XJAVA_VERSION= 1.3+
XNO_BUILD= yes
X
XWRKSRC= ${WRKDIR}/${PORTNAME}
X
X.if !defined(NOPORTDOCS)
XPORTDOCS= api basics.html changelog-report.html cop cvs-usage.html \
X dependencies.html developer-activity-report.html \
X file-activity-report.html images index.html \
X issue-tracking.html license.html mail-lists.html \
X maven-reports.html principals project-info.html style \
X team-list.html
X.endif
XJARFILE= ${DISTNAME}.jar
XDESTJARFILE= ${PORTNAME}.jar
XPLIST_FILES+= ${JAVAJARDIR:S,^${PREFIX}/,,}/${DESTJARFILE}
X
Xdo-install:
X @${ECHO_CMD} -n ">> Installing JAR as ${JAVAJARDIR}/${DESTJARFILE}..."
X @${CP} ${WRKSRC}/${JARFILE} ${JAVAJARDIR}/${DESTJARFILE}
X @${ECHO_CMD} " [ DONE ]"
X.if !defined(NOPORTDOCS)
X @${ECHO_CMD} -n ">> Installing documentation in ${DOCSDIR}..."
X @${MKDIR} ${DOCSDIR}
X.for DOCFILE in ${PORTDOCS}
X @${CP} -r ${WRKSRC}/docs/${DOCFILE} ${DOCSDIR}/
X @${ECHO_CMD} -n " ${DOCFILE}"
X.endfor
X @${ECHO_CMD} " [ DONE ]"
X.endif
X
X.include <bsd.port.mk>
END-of-avalon-framework/Makefile
echo x - avalon-framework/distinfo
sed 's/^X//' >avalon-framework/distinfo << 'END-of-avalon-framework/distinfo'
XMD5 (avalon-framework-4.1.5.tar.gz) = 2111d1c9dcce5beecef04d8bb66b8b65
XSIZE (avalon-framework-4.1.5.tar.gz) = 394814
END-of-avalon-framework/distinfo
exit
More information about the freebsd-ports-bugs
mailing list