Apache Ant, a Java-based build tool, conceptually similar to make.
Ant uses XML build files that defines a set of targets. Each target
has dependencies (other targets) and contains a set of tasks to
perform.
There are tasks for various things, like compiling ("javac"),
copying ("copy"), deleting ("delete"), executing other programs
("java", "exec", "execon", etc.), stylesheet transformations
("style") and so on.
===> The following configuration options are available for apache-ant-1.10.17:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
devel/apache-ant: Update to 1.10.17
Ant 1.10.17 fixes a regression in the programmatic use of Ant and can be
used with Java runtime version 8 and higher.
PR: 298130
Submitted by: Pedro F. Giffuni
Mk/**java.mk: Convert bsd.java.mk to USES
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
devel/apache-ant: Update to 1.10.13
- Directly use manual pages from Debian pacakge
- Pet portclippy(1)
PR: 268843
Sponsored by: The FreeBSD Foundation
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above )
devel/apache-ant: Update MASTER_SITES
Use a direct URL to Apache's release archive site as it's not mirrored
by upstream mirror sites
Approved by: arrowd (mentor)
Differential Revision: https://reviews.freebsd.org/D32405
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
Cleanup DIST* variables.
When appropriate:
- Try to use DISTVERSION{SUF,PRE}FIX
- Replace PORTNAME-PORTVERSION by DISTNAME
- Convert MASTER_SITES to use macros
- Other light cleanup
With hat: portmgr
Sponsored by: Absolight
- The proper acronym for Apache Software License 2 is really AL2
- Thanks to crees@ for generating the initial patch
PR: ports/163521
Submitted by: Pedro Giffuni <pfg apache.org>
Hat: portmgr
Exp run by: pav
Do not use DATADIR in ant.sh it is too much common in build system and can lead
to failures.
Instead use ANT_HOME. (The fixes build with upcoming libreoffice with JAVA
enabled)
bump portrevision
Now that the Java 1.3 and Java 1.4 ports are deprecated and will expire soon,
remove support for them from bsd.java.mk. As Jikes is not available in Java 1.5
or higher, remove it from bsd.java.mk too (suggested by hq@) and from the ports
which used it (only occurences were USE_JIKES=no). Support for the Blackdown VM
is also removed, as it is not available in Java 1.5 and higher.
Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect
old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5.
While here, replace static values of JAVA_VERSION in files/*.in by
%%JAVA_VERSION%% .
PR: ports/158969
Submitted by: rene
Tested on: pointyhat-west -exp
Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).
PR: ports/124340
Submitted by: edwin@
Approved by: portmgr (pav)
- Install data files in DATADIR=${JAVASHAREDIR}/${PORTNAME}
- Install documentation files in ${DOCSDIR}
- Use PORTDOCS to reduce pkg-plist size
- Bump PORTREVISION
Reviewed by: glewis
- Improve launcher script:
- Use 'java' command from javavmwrapper [1]
- ANT_INCLUDE_SHARED_JARS is now a defined/undefined switch rather than a
YES/whatever check
- Use SUB_FILES to configure (files/ant -> files/ant.sh.in)
- ECHO_CMD -> ECHO_MSG
- Use MAN1PREFIX and MAN5PREFIX
- Cleanup port and launcher script
- Bump PORTREVISION
PR: 86902 [1]
Submitted by: Panagiotis Astithas <past@ebs.gr> [1]
Reviewed by: glewis
Reset znerd's ports maintainership:
- All JDK ports (and JDK documentation ports) that were formerly maintained by
znerd have been assigned to java@FreeBSD.org
- I will handle some of the remaining ports (jakarta-commons-*, jdom, xalan-j
and xmlenc)
- Everything else is reset to ports@FreeBSD.org
Approved by: znerd (maintainer)
. Update to 1.6.2. The submitter's patches were used and in addition I
fixed the packing list and removed PORTREVISION.
. Use ${MASTER_SITE_APACHE} to simplify (and expand) the MASTER_SITE list.
PR: 69600 [1]
Submitted by: Sean O'Connell <oconnell@soe.ucsd.edu> [1]
- fixed the location of EXTRACT_ONLY in Makefile so now
portlint does not complain
- changed the 'ant(1)' script so that it now uses the
'classpath' command provided by java/javavmwrapper
(command added recently)
PR: 65063
Submitted by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
By default disable FreeBSD-specific behaviour to include all
JAR files in ${PREFIX}/share/java/classes in the CLASSPATH.
To re-enable the non-compatible behaviour, set
ANT_INCLUDE_SHARED_JARS to YES (case-sensitive).
The old, non-compatible behaviour has been a cause of much
discussion and frustration.
Bumped PORTREVISION.
See:
http://lists.freebsd.org/pipermail/freebsd-java/2003-September/000744.html
Requested by: Jonathan Chen <jonc@chen.org.nz> and others
. Install the etc directory. Various documentation refers to files in
this directory.
PR: 58450
Submitted by: Remco van 't Veer <rwvtveer@xs4all.nl>
Approved by: znerd (maintainer)
Update to Apache Ant 1.5.4.
This is a minor bugfix release that fixes a problem with the javah task on JDK
1.4.2 and a couple of bugs in the Visual Age for Java intergration tasks. If
you don't use javah or VAJ, there is no reason to upgrade.
See:
http://ant.apache.org/antnews.html