# Created by: rasputin # $FreeBSD$ PORTNAME= bouncycastle PORTVERSION= 1.45 PORTREVISION= 2 CATEGORIES= java security MASTER_SITES= http://downloads.bouncycastle.org/java/ \ http://polydistortion.net/bc/download/ \ http://bouncycastle.gva.es/download/ DISTNAME= crypto-${JARVERSION} MAINTAINER= ale@FreeBSD.org COMMENT= Cleanroom build of Java Cryptography Extensions BUILD_DEPENDS= ${JAVALIBDIR}/mail.jar:java/javamail \ ${JAVALIBDIR}/junit.jar:java/junit RUN_DEPENDS= ${JAVALIBDIR}/mail.jar:java/javamail OPTIONS_DEFINE= DOCS CPE_PRODUCT= legion-of-the-bouncy-castle-java-crytography-api CPE_VENDOR= ${PORTNAME} USE_JAVA= yes USES= cpe JAVA_VERSION= 1.6+ JDKMVERSION= 1.6 # ${JAVA_PORT_VERSION:C/^([0-9]\.[0-9])(.*)$/\1/} JDKNVERSION= 16 # ${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 JARVERSION= ${PORTVERSION:S/.//} JARS= bcprov bcmail bctsp bcpg PORTDOCS= * PORTSCOUT= skipv:146 post-patch: @${REINPLACE_CMD} s/BERConstructedOctetString/DEROctetString/ \ ${WRKSRC}/src/org/bouncycastle/cms/CMS*DataGenerator.java @${REINPLACE_CMD} 's/