aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2013-02-11 09:19:41 +0000
committerAlex Dupre <ale@FreeBSD.org>2013-02-11 09:19:41 +0000
commitebc6592f1f4d388564ba88582cb4ef8438ae6008 (patch)
treedbed9479a617f13390429a129ea5f5305ed40b88 /java
parent072eafe9a05651b767e16e9ec92b57d96a2dfa84 (diff)
downloadports-ebc6592f1f4d388564ba88582cb4ef8438ae6008.tar.gz
ports-ebc6592f1f4d388564ba88582cb4ef8438ae6008.zip
Notes
Diffstat (limited to 'java')
-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