Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 16:43:01 +0000 (UTC)
From:      Alex Dupre <ale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340620 - in head/java/javamail: . files
Message-ID:  <201401211643.s0LGh1iL053719@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ale
Date: Tue Jan 21 16:43:00 2014
New Revision: 340620
URL: http://svnweb.freebsd.org/changeset/ports/340620
QAT: https://qat.redports.org/buildarchive/r340620/

Log:
  Update to 1.5.1 release and stagify.

Deleted:
  head/java/javamail/files/
Modified:
  head/java/javamail/Makefile
  head/java/javamail/distinfo

Modified: head/java/javamail/Makefile
==============================================================================
--- head/java/javamail/Makefile	Tue Jan 21 16:34:36 2014	(r340619)
+++ head/java/javamail/Makefile	Tue Jan 21 16:43:00 2014	(r340620)
@@ -2,10 +2,10 @@
 # $FreeBSD$
 
 PORTNAME=	javamail
-PORTVERSION=	1.4.7
+PORTVERSION=	1.5.1
 CATEGORIES=	java mail
-MASTER_SITES=	https://kenai.com/downloads/javamail/
-DISTNAME=	${PORTNAME}-${PORTVERSION}-src
+MASTER_SITES=	https://java.net/projects/javamail/downloads/download/source/
+DISTNAME=	javaxmail-${PORTVERSION}-src
 
 MAINTAINER=	ale@FreeBSD.org
 COMMENT=	A Reference Implementation of JSR 919
@@ -13,14 +13,12 @@ COMMENT=	A Reference Implementation of J
 LICENSE=	GPLv2 CDDL
 LICENSE_COMB=	dual
 
-BUILD_DEPENDS=	${JAVALIBDIR}/activation.jar:${PORTSDIR}/java/jaf
-RUN_DEPENDS=	${JAVALIBDIR}/activation.jar:${PORTSDIR}/java/jaf
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
 USE_ZIP=	YES
 USE_JAVA=	YES
 JAVA_VERSION=	1.6+
 USE_ANT=	YES
-MAKE_ENV=	ANT_INCLUDE_SHARED_JARS=YES
 
 WRKSRC=		${WRKDIR}
 
@@ -29,7 +27,6 @@ PLIST_FILES=	%%JAVAJARDIR%%/mail.jar
 PORTDOCS=	*
 PORTEXAMPLES=	*
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MDOCS}
@@ -38,22 +35,22 @@ ALL_TARGET=	all docs
 
 do-install:
 	@${ECHO_MSG} -n ">> Install JAR files in ${JAVAJARDIR}..."
-	@${INSTALL_DATA} ${WRKSRC}/target/release/mail.jar ${JAVAJARDIR}/
+	@${INSTALL_DATA} ${WRKSRC}/target/release/mail.jar ${STAGEDIR}${JAVAJARDIR}/
 	@${ECHO_MSG} " [ DONE ]"
 .if ${PORT_OPTIONS:MDOCS}
 	@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	@cd ${WRKSRC}/target/release && ${FIND} *.txt \
-	  | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1
+	  | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR} > /dev/null 2>&1
 	@cd ${WRKSRC}/target/release/docs && ${FIND} *.txt javadocs \
-	  | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1
+	  | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR} > /dev/null 2>&1
 	@${ECHO_MSG} " [ DONE ]"
 .endif
 .if ${PORT_OPTIONS:MEXAMPLES}
 	@${ECHO_MSG} -n ">> Installing samples in ${EXAMPLESDIR}..."
-	@${MKDIR} ${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	@cd ${WRKSRC}/demo && ${FIND} src \
-	  | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} > /dev/null 2>&1
+	  | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${EXAMPLESDIR} > /dev/null 2>&1
 	@${ECHO_MSG} " [ DONE ]"
 .endif
 

Modified: head/java/javamail/distinfo
==============================================================================
--- head/java/javamail/distinfo	Tue Jan 21 16:34:36 2014	(r340619)
+++ head/java/javamail/distinfo	Tue Jan 21 16:43:00 2014	(r340620)
@@ -1,2 +1,2 @@
-SHA256 (javamail-1.4.7-src.zip) = b96c7fc70985693e2c150dcab385760fc6fb66a751dcd17b89a1db40c9bf2957
-SIZE (javamail-1.4.7-src.zip) = 1448724
+SHA256 (javaxmail-1.5.1-src.zip) = 86d443f6954db70576cd5f8e1e30e70412b6825391b959fd2359236fb12b2ca3
+SIZE (javaxmail-1.5.1-src.zip) = 1510490



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401211643.s0LGh1iL053719>