# Created by: rasputin # $FreeBSD$ PORTNAME= bouncycastle PORTVERSION= 1.45 PORTREVISION= 1 CATEGORIES= java security MASTER_SITES= http://downloads.bouncycastle.org/java/ \ http://polydistortion.net/bc/download/ \ http://bouncycastle.gva.es/download/ DISTNAME= crypto-${DISTVERSION} MAINTAINER= ale@FreeBSD.org COMMENT= Cleanroom build of Java Cryptography Extensions 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 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 DISTVERSION= ${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/