1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Update to 1.39 release:

- build from sources
- add documentation
- add dependencies
This commit is contained in:
Alex Dupre 2008-03-31 07:45:29 +00:00
parent f220848f98
commit 294547d5c0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=210208
3 changed files with 33 additions and 10 deletions

View File

@ -6,9 +6,9 @@
#
PORTNAME= bouncycastle
PORTVERSION= 1.38
PORTVERSION= 1.39
CATEGORIES= java security
MASTER_SITES= http://www.bouncycastle.org/download/ \
MASTER_SITES= http://downloads.bouncycastle.org/java/ \
http://polydistortion.net/bc/download/ \
http://bouncycastle.gva.es/download/
DISTNAME= crypto-${DISTVERSION}
@ -16,24 +16,44 @@ DISTNAME= crypto-${DISTVERSION}
MAINTAINER= ale@FreeBSD.org
COMMENT= Cleanroom build of Java Cryptography Extensions
NO_BUILD= yes
BUILD_DEPENDS= ${JAVALIBDIR}/activation.jar:${PORTSDIR}/java/jaf \
${JAVALIBDIR}/mail.jar:${PORTSDIR}/java/javamail \
${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit
RUN_DEPENDS= ${JAVALIBDIR}/activation.jar:${PORTSDIR}/java/jaf \
${JAVALIBDIR}/mail.jar:${PORTSDIR}/java/javamail
USE_JAVA= yes
JAVA_VERSION= 1.4+
JDKMVERSION= ${JAVA_PORT_VERSION:C/^([0-9])\.([0-9])(.*)$/\1\2/}
JDKMVERSION= ${JAVA_PORT_VERSION:C/^([0-9]\.[0-9])(.*)$/\1/}
JDKNVERSION= ${JAVA_PORT_VERSION:C/^([0-9])\.([0-9])(.*)$/\1\2/}
USE_ANT= yes
MAKE_ENV= ANT_INCLUDE_SHARED_JARS=YES
MAKE_ARGS= -f jdk${JDKNVERSION}.xml
ALL_TARGET= build-provider build zip-src
DISTVERSION= ${PORTVERSION:S/.//}
JARS= bcprov bcmail bctsp bcpg bctest
JARS= bcprov bcmail bctsp bcpg
PORTDOCS= *
do-install:
@${MKDIR} ${DATADIR}
.for jar in ${JARS}
${INSTALL_DATA} ${WRKSRC}/jars/${jar}-jdk${JDKMVERSION}-${DISTVERSION}.jar \
${INSTALL_DATA} ${WRKSRC}/build/artifacts/jdk${JDKMVERSION}/jars/${jar}-jdk${JDKNVERSION}-${DISTVERSION}.jar \
${JAVAJARDIR}/${jar}.jar
${INSTALL_DATA} ${WRKSRC}/build/artifacts/jdk${JDKMVERSION}/${jar}-jdk${JDKNVERSION}-${DISTVERSION}/src.zip \
${DATADIR}/${jar}-src.zip
.endfor
${INSTALL_DATA} ${WRKSRC}/jars/bcprov-jdk${JDKNVERSION}-${DISTVERSION}.jar \
${JAVAJARDIR}/bcprov.jar
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
.for jar in ${JARS}
@${MKDIR} ${DOCSDIR}/${jar}
@cd ${WRKSRC}/build/artifacts/jdk${JDKMVERSION}/${jar}-jdk${JDKNVERSION}-${DISTVERSION}/docs/ && \
${COPYTREE_SHARE} . ${DOCSDIR}/${jar}
.endfor
.endif
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (crypto-138.tar.gz) = 4e4d468d254020fceb07b8a857406a72
SHA256 (crypto-138.tar.gz) = 81f800fccb925cf2d3140d055f8527b13a98fc7e67bf06df9bc3c6027fdb8050
SIZE (crypto-138.tar.gz) = 23103860
MD5 (crypto-139.tar.gz) = cb9328acdaa45fcb07ebe55592b2a852
SHA256 (crypto-139.tar.gz) = a2118e07657e93ba81f4cd7aad98f08742e4264a7be1359e0d3abb3a557ec2f1
SIZE (crypto-139.tar.gz) = 23473395

View File

@ -1,5 +1,8 @@
%%JAVAJARDIR%%/bcmail.jar
%%JAVAJARDIR%%/bcpg.jar
%%JAVAJARDIR%%/bcprov.jar
%%JAVAJARDIR%%/bctest.jar
%%JAVAJARDIR%%/bctsp.jar
%%DATADIR%%/bcmail-src.zip
%%DATADIR%%/bcpg-src.zip
%%DATADIR%%/bcprov-src.zip
%%DATADIR%%/bctsp-src.zip