1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/java/jce-aba/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

47 lines
965 B
Makefile

# New ports collection makefile for: Java Cryptograph Extension
# Date created: 2000/02/11
# Whom: Kensaku Masuda <greg@greg.rim.or.jp>
#
# $FreeBSD$
#
PORTNAME= jce-aba
PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= java security
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= znerd
MAINTAINER= ports@FreeBSD.org
COMMENT= Clean room implementation of the Java Cryptograph Extension (JCE) API
USE_JAVA= yes
NO_BUILD= yes
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"
JDKVERSION= 1.1
PKGNAMESUFFIX= -java11
.else
JDKVERSION= 1.2
PKGNAMESUFFIX= -java12
.endif
do-install:
${INSTALL_DATA} ${WRKSRC}/lib-${JDKVERSION}/jce.zip ${JAVAJARDIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/docs-${JDKVERSION} && ${FIND} . \
| ${CPIO} -pdmu -R ${DOCOWN}:${DOCGRP} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>