2000-03-08 12:08:34 +00:00
|
|
|
# New ports collection makefile for: Java Cryptograph Extension
|
|
|
|
# Date created: 2000/02/11
|
|
|
|
# Whom: Kensaku Masuda <greg@greg.rim.or.jp>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-12 06:21:15 +00:00
|
|
|
PORTNAME= jce-aba
|
|
|
|
PORTVERSION= 1.1
|
2008-06-06 14:17:21 +00:00
|
|
|
PORTREVISION= 2
|
2004-04-15 22:38:09 +00:00
|
|
|
CATEGORIES= java security
|
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
2002-05-22 19:04:30 +00:00
|
|
|
MASTER_SITE_SUBDIR= znerd
|
2000-03-08 12:08:34 +00:00
|
|
|
|
2007-03-05 00:40:11 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 12:35:09 +00:00
|
|
|
COMMENT= Clean room implementation of the Java Cryptograph Extension (JCE) API
|
2000-03-08 12:08:34 +00:00
|
|
|
|
2006-06-12 23:48:30 +00:00
|
|
|
USE_JAVA= yes
|
2000-03-08 12:08:34 +00:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
2006-06-12 23:48:30 +00:00
|
|
|
|
|
|
|
PLIST_FILES= %%JAVAJARDIR%%/jce.zip
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= *
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${JAVA_PORT_VERSION:C/^([0-9])\.([0-9])(.*)$/\1.\2/} == "1.1"
|
2000-03-08 12:08:34 +00:00
|
|
|
JDKVERSION= 1.1
|
2006-06-12 23:48:30 +00:00
|
|
|
PKGNAMESUFFIX= -java11
|
|
|
|
.else
|
|
|
|
JDKVERSION= 1.2
|
|
|
|
PKGNAMESUFFIX= -java12
|
|
|
|
.endif
|
2000-03-08 12:08:34 +00:00
|
|
|
|
|
|
|
do-install:
|
2006-06-12 23:48:30 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/lib-${JDKVERSION}/jce.zip ${JAVAJARDIR}
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
2003-04-30 15:45:09 +00:00
|
|
|
cd ${WRKSRC}/docs-${JDKVERSION} && ${FIND} . \
|
2006-06-12 23:48:30 +00:00
|
|
|
| ${CPIO} -pdmu -R ${DOCOWN}:${DOCGRP} ${DOCSDIR}
|
|
|
|
.endif
|
2000-03-08 12:08:34 +00:00
|
|
|
|
2006-06-12 23:48:30 +00:00
|
|
|
.include <bsd.port.post.mk>
|