aeafcb01a2
. File off the version from the installed jars to make it possible to keep the same CLASSPATH between releases.
35 lines
842 B
Makefile
35 lines
842 B
Makefile
# New ports collection makefile for: bouncycastle
|
|
# Date created: 27 December 2001
|
|
# Whom: rasputin
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= bouncycastle
|
|
PORTVERSION= 1.30
|
|
CATEGORIES= java security
|
|
MASTER_SITES= http://www.bouncycastle.org/download/ \
|
|
http://polydistortion.net/bc/download/ \
|
|
http://bouncycastle.gva.es/download/
|
|
DISTNAME= crypto-${DISTVERSION}
|
|
|
|
MAINTAINER= glewis@FreeBSD.org
|
|
COMMENT= Cleanroom build of Java Cryptography Extensions
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.2+
|
|
NO_BUILD= yes
|
|
DISTVERSION= ${PORTVERSION:S/.//}
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/jars && \
|
|
for jar in *.jar; do \
|
|
${INSTALL_DATA} $${jar} \
|
|
${JAVAJARDIR}/`echo $${jar} | sed -e "s/-${DISTVERSION}//"`; \
|
|
done
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|