mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
f2b21d90a5
java/bouncycastle port is currently at version 1.11. However the jce-jdk13-111.tar.gz tarball downloaded from http://www.bouncycastle.org/download/ suddenly seems to contain jce-jdk13-116, which naturally fails the checksum test: PR: ports/46184 Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk>
37 lines
934 B
Makefile
37 lines
934 B
Makefile
# New ports collection makefile for: bouncycastle
|
|
# Date created: 27 December 2001
|
|
# Whom: rasputin
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= bouncycastle
|
|
PORTVERSION= 1.16
|
|
CATEGORIES= java security
|
|
MASTER_SITES= http://www.bouncycastle.org/download/
|
|
DISTNAME= jce-jdk13-${PORTVERSION:S/.//}
|
|
|
|
MAINTAINER= rara.rasputin@virgin.net
|
|
COMMENT= Cleanroom build of Java Cryptography Extensions
|
|
|
|
BUILD_DEPENDS= ${JAVADIR}/bin/java:${PORTSDIR}/java/jdk13
|
|
|
|
JAVADIR?= ${LOCALBASE}/jdk1.3.1
|
|
JAVALIBDIR= ${PREFIX}/share/java/classes
|
|
API_DOCDIR= ${PREFIX}/share/doc/java/${PORTNAME}/api
|
|
JAR_CMD?= ${JAVADIR}/bin/jar
|
|
|
|
JAR_NAME= bouncycastle.jar
|
|
|
|
NO_BUILD= yes
|
|
|
|
do-install:
|
|
@${ECHO} "Installing ${JAR_NAME}..."
|
|
@${MKDIR} ${JAVALIBDIR}
|
|
@${JAR_CMD} cf ${JAVALIBDIR}/${JAR_NAME} -C ${WRKSRC}/classes .
|
|
@${ECHO} "Installing docs in ${API_DOCDIR}..."
|
|
@${MKDIR} ${API_DOCDIR}
|
|
@${CP} -R ${WRKSRC}/docs/* ${API_DOCDIR}
|
|
|
|
.include <bsd.port.mk>
|