mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
47 lines
965 B
Makefile
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= 2
|
|
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>
|