blob: fce852139f9481594fec94073eaa5c4ee34a13a2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# New ports collection makefile for: bouncycastle
# Date created: 27 December 2001
# Whom: rasputin
#
# $FreeBSD$
#
PORTNAME= bouncycastle
PORTVERSION= 1.36
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>
|