The JavaMail API provides a platform-independent and protocol-independent
framework to build mail and messaging applications. The JavaMail API is
available as an optional package for use with Java SE platform and is
also included in the Java EE platform.
===> The following configuration options are available for javamail-1.6.2_5:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
java/javamail: use the devel/javax-activation port for dependency
Simplifies the port a little.
Pet portclippy.
Approved by: ale
Differential Revision: https://reviews.freebsd.org/D59127
java/javamail: unbreak build after 3166f9b4ba3622ba64b9882deb2f64fda6410cb9
/!\ javamail-1.6.2_2: Makefile errors /!\
you cannot include bsd.port[.pre].mk twice
Defining both PORTVERSION and DISTVERSION is wrong, only set one, if necessary,
set DISTNAME
java/javamail: remove java from run dependencies
As javamail is a library and not an application itself it should not
have a run-dependency on Java. It doesn't run on its own.
It will always use the java version of the application that uses javamail.
Use source and target arguments compatible with jdk21.
If not using openjdk8 bring back the Java Activation Framework. In
openjdk8 these classes were included in the core packages. In later
JDK versions it was removed again.
PR: 291388
Mk/Uses/java.mk: Runtime fix with USES=java:ant
USES=java:ant does not imply USES=java:run so we need to add the run arg
seperately when we are using USES=java:ant. Not all ports require the
the argument so it is better to address the ports individually instead
of handling it automatically by implying run for ant.
Thanks to vvd for carefully going through this.
Reported by: vvd
Approved by: portmgr (blanket)
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
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 )
java: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Alex Dupre <ale@FreeBSD.org>
* Alex Semenyaka <alex@rinet.ru>
* Alexander Yerenkow <yerenkow@gmail.com>
* Anton Yudin (<contact@toha.org.ua>)
* Anton Yudin <toha@toha.org.ua>
* Benjamin Close <benjsc@FreeBSD.org>
* Björn König <bkoenig@alpha-tierchen.de>
* Conor McDermottroe <ports@mcdermottroe.com>
* Danilo Egea Gondolfo <danilo@FreeBSD.org
* Dave Glowacki <dglo@ssec.wisc.edu>
* Ernst de Haan <znerd@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above )
java/javamail: restrict to java version 8
The Java Activation Framework (jaf), required to build javamail,
was included in JRE 1.6, but later removed in JRE 11.
PR: 263600
Submitted by: wcarson.bugzilla@disillusion.net
Remove indefinite articles and trailing periods from COMMENT, plus minor
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Categories J-L.
CR: D305
Approved by: portmgr (swills)
Remove more tags from pkg-descr files fo the form:
- Name
em@i.l
or variations thereof. While I'm here also fix some whitespace and other
formatting errors, including moving WWW: to the last line in the file.
- DISTNAME= ${PORTNAME}-${PORTVERSION} is the default and not needed.
PR: ports/153292
Submitted by: myself (pgollucci)
Tested by: -exp run by pav
Approved by: portmgr (pav)
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)
- Fixed DISTNAME [1]
- Use LOCALBASE rather than PREFIX in RUN_DEPENDS
- Now bsd.java.mk 2.0 compliant
- Use CPIO rather than CP
- Use JAVAJARDIR and JAVASHAREDIR
- Removed pkg-plist (use dynamic plist and PORTDOCS)
- Honor NOPORTDOCS
- Honor hier(7): documentation in DOCSDIR and examples in EXAMPLESDIR [2]
- Honor "best practices for a Java library" from Porter's handbook, Java
section: JARs in JAVAJARDIR. [2]
- SIZEify
- Added 'mail' category
PR: 71235 [1]
Submitted by: Rainer Duffner <rainer@ultra-secure.de> [1]
Reviewed by: glewis [2]
Approved by: glewis (mentor)
fix java/javamail: Fix pkg-plist of port java/javamail 1.3.1.
PR: 54275
Submitted by: Ronald Klop <ronald@cs.vu.nl>
Pointed out by: "Sergey A. Osokin" <osa@freebsd.org>
Update to the java/javamail port from version 1.2 to 1.3.
Changing maintainer to java@freebsd.org
PR: ports/44558
Submitted by: Jose Marques <noway@nohow.demon.co.uk>
Cleaned things up here and there.
Switched to USE_JAVA. This fixes PR 35080.
Improved download URL. Changed do-install target a
little. Installing links to the actual JAR files in
${PREFIX}/share/java/classes. The actual JAR files
are now in ${PREFIX}/share/java/${PKGNAME}.
Bumped PORTREVISION.
PR: 35080