aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2013-02-11 17:19:41 +0800
committerale <ale@FreeBSD.org>2013-02-11 17:19:41 +0800
commitb107e26ac9cb770f14087227448af76f65786fab (patch)
treedbed9479a617f13390429a129ea5f5305ed40b88
parentf8c7878fd6d03dc5071c60c36e52e02c7e14169b (diff)
downloadfreebsd-ports-gnome-b107e26ac9cb770f14087227448af76f65786fab.tar.gz
freebsd-ports-gnome-b107e26ac9cb770f14087227448af76f65786fab.tar.zst
freebsd-ports-gnome-b107e26ac9cb770f14087227448af76f65786fab.zip
Update to 1.4.6 release and pet portlint.
-rw-r--r--java/javamail/Makefile22
-rw-r--r--java/javamail/distinfo4
2 files changed, 14 insertions, 12 deletions
diff --git a/java/javamail/Makefile b/java/javamail/Makefile
index 9141f66b0366..8b70436e4157 100644
--- a/java/javamail/Makefile
+++ b/java/javamail/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= javamail
-PORTVERSION= 1.4.5
+PORTVERSION= 1.4.6
CATEGORIES= java mail
MASTER_SITES= http://kenai.com/downloads/javamail/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
@@ -10,12 +10,12 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= ale@FreeBSD.org
COMMENT= A Reference Implementation of JSR 919
-BUILD_DEPENDS= ${JAVALIBDIR}/activation.jar:${PORTSDIR}/java/jaf
-RUN_DEPENDS= ${JAVALIBDIR}/activation.jar:${PORTSDIR}/java/jaf
-
LICENSE= GPLv2 CDDL
LICENSE_COMB= dual
+BUILD_DEPENDS= ${JAVALIBDIR}/activation.jar:${PORTSDIR}/java/jaf
+RUN_DEPENDS= ${JAVALIBDIR}/activation.jar:${PORTSDIR}/java/jaf
+
USE_ZIP= YES
USE_JAVA= YES
JAVA_VERSION= 1.6+
@@ -24,20 +24,22 @@ MAKE_ENV= ANT_INCLUDE_SHARED_JARS=YES
WRKSRC= ${WRKDIR}
-.if !defined(NOPORTDOCS)
-ALL_TARGET= all docs
-.endif
-
PLIST_FILES= %%JAVAJARDIR%%/mail.jar
PORTDOCS= *
PORTEXAMPLES= *
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
+ALL_TARGET= all docs
+.endif
+
do-install:
@${ECHO_MSG} -n ">> Install JAR files in ${JAVAJARDIR}..."
@${INSTALL_DATA} ${WRKSRC}/target/release/mail.jar ${JAVAJARDIR}/
@${ECHO_MSG} " [ DONE ]"
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC}/target/release && ${FIND} *.txt \
@@ -46,7 +48,7 @@ do-install:
| ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1
@${ECHO_MSG} " [ DONE ]"
.endif
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
@${ECHO_MSG} -n ">> Installing samples in ${EXAMPLESDIR}..."
@${MKDIR} ${EXAMPLESDIR}
@cd ${WRKSRC}/demo && ${FIND} src \
diff --git a/java/javamail/distinfo b/java/javamail/distinfo
index 693452d6676d..5f9b4534be02 100644
--- a/java/javamail/distinfo
+++ b/java/javamail/distinfo
@@ -1,2 +1,2 @@
-SHA256 (javamail-1.4.5-src.zip) = 347ed06e9802a6e10668a55464c371795fdb0585a8711a5503b3e93322d1e89b
-SIZE (javamail-1.4.5-src.zip) = 1391753
+SHA256 (javamail-1.4.6-src.zip) = 9948fb2c2bbfe4d8909f4748426a7c5a2b1ae41cab147eba4425f9757644e5eb
+SIZE (javamail-1.4.6-src.zip) = 1439638