1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/java/bouncycastle/Makefile
Alex Dupre 53d88f1a3c Update to 1.33 release:
- install only jars for the selected jdk to avoid class conflicts
- drop support for obsolate jdks
- take maintainership [1]

Approved by:	glewis [1]
2006-07-19 06:45:20 +00:00

40 lines
936 B
Makefile

# New ports collection makefile for: bouncycastle
# Date created: 27 December 2001
# Whom: rasputin
#
# $FreeBSD$
#
PORTNAME= bouncycastle
PORTVERSION= 1.33
CATEGORIES= java security
MASTER_SITES= http://www.bouncycastle.org/download/ \
http://polydistortion.net/bc/download/ \
http://bouncycastle.gva.es/download/
DISTNAME= crypto-${DISTVERSION}
MAINTAINER= ale@FreeBSD.org
COMMENT= Cleanroom build of Java Cryptography Extensions
NO_BUILD= yes
USE_JAVA= yes
JAVA_VERSION= 1.4+
JDKMVERSION= ${JAVA_PORT_VERSION:C/^([0-9])\.([0-9])(.*)$/\1\2/}
DISTVERSION= ${PORTVERSION:S/.//}
JARS= bcprov bcmail bctsp bcpg bctest
PORTDOCS= *
do-install:
.for jar in ${JARS}
${INSTALL_DATA} ${WRKSRC}/jars/${jar}-jdk${JDKMVERSION}-${DISTVERSION}.jar \
${JAVAJARDIR}/${jar}.jar
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
.endif
.include <bsd.port.mk>