mirror of
https://git.freebsd.org/ports.git
synced 2025-05-30 01:46:55 -04:00
The following features have been added or changed: - Instead of USE_JAVA use USES=java. This defaults to USES=java:build,run if NO_BUILD is undefined. Else it defaults to USES=java:run - Instead of USE_ANT=yes use USES=java:ant which also implies USES=java:build - Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or extract - Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply build or run - Instead of JAVA_RUN=yes use USES=java:run does not imply extract or build - Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version> Approved by: mat (portmgr), glewis Differential Revision: https://reviews.freebsd.org/D48201
36 lines
1,020 B
Makefile
36 lines
1,020 B
Makefile
PORTNAME= avalon-framework
|
|
PORTVERSION= 4.2.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= devel java
|
|
MASTER_SITES= https://archive.apache.org/dist/avalon/${PORTNAME}/binaries/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Apache Avalon core framework for component programming
|
|
WWW= https://avalon.apache.org/closed.html
|
|
|
|
USES= java
|
|
|
|
NO_ARCH= yes
|
|
NO_BUILD= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
PORTDOCS= api basics.html cop cvs-usage.html dependencies.html images \
|
|
index.html issue-tracking.html license.html linkcheck.html \
|
|
mail-lists.html maven-reports.html principals \
|
|
project-info.html style team-list.html
|
|
|
|
JARFILES= ${PORTNAME}.jar ${PORTNAME}-api.jar ${PORTNAME}-impl.jar
|
|
PLIST_FILES+= ${JARFILES:S,^,%%JAVAJARDIR%%/,}
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
.for jarfile in ${JARFILES}
|
|
${INSTALL_DATA} ${WRKSRC}/jars/${jarfile:S,.jar$,-${PORTVERSION}.jar,} \
|
|
${STAGEDIR}${JAVAJARDIR}/${jarfile}
|
|
.endfor
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|