aboutsummaryrefslogtreecommitdiffstats
path: root/java/bouncycastle/Makefile
blob: 8d1dd04aba8692f2a3dd7a5618ca3c48731dd3fe (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
# 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>