1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

New port gnu-crypto version 2.0.1: Java cryptographic primitives

and tools
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2004-12-31 01:42:04 +00:00
parent bfab27d78b
commit c223cc6bcf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=125580
4 changed files with 84 additions and 0 deletions

View File

@ -107,6 +107,7 @@
SUBDIR += gnome-ssh-askpass
SUBDIR += gnomekeyring
SUBDIR += gnomekeyringmanager
SUBDIR += gnu-crypto
SUBDIR += gnupg
SUBDIR += gnupg-devel
SUBDIR += gnupg-idea

View File

@ -0,0 +1,67 @@
# New ports collection makefile for: gnu-crypto
# Date created: Fri Dec 31 00:00:25 UTC 2004
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gnu-crypto
PORTVERSION= 2.0.1
CATEGORIES= security java
MASTER_SITES= ${MASTER_SITE_GNUPG}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= lioux@FreeBSD.org
COMMENT= Java cryptographic primitives and tools
USE_BZIP2= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ENV+= \
CLASSPATH='' \
JAR=${JAR} \
JAVA=${JAVA} \
JAVAC=${JAVAC}
USE_JAVA= yes
JAVA_VERSION= 1.4+
USE_ANT= yes
JAR_DIR= share/java/jar/${PORTNAME}
JAR_FILES= \
javax-crypto.jar \
javax-security.jar \
gnu-crypto.jar
INFO= gnu-crypto
MAKEINFOFLAGS= --no-split
.for jar in ${JAR_FILES}
PLIST_FILES+= ${JAR_DIR}/${jar}
.endfor
PLIST_DIRS+= ${JAR_DIR}
post-extract:
@${RM} ${WRKSRC}/docs/*.info*
post-configure:
@${REINPLACE_CMD} -E \
-e 's|(\$$\(MAKEINFOFLAGS\))|\1 --no-split|' \
${BUILD_WRKSRC}/docs/${MAKEFILE}
post-build:
@cd ${WRKSRC}/docs && ${GMAKE} all
do-install:
@${MKDIR} ${PREFIX}/${JAR_DIR}
.for jar in ${JAR_FILES}
@${INSTALL_DATA} ${WRKSRC}/lib/${jar} ${PREFIX}/${JAR_DIR}
.endfor
@${MKDIR} ${PREFIX}/${INFO_PATH}
@${INSTALL_DATA} ${WRKSRC}/docs/${PORTNAME}.info \
${PREFIX}/${INFO_PATH}
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
MD5 (gnu-crypto-2.0.1.tar.bz2) = 39ac686b8f7ecfb95de7d58c85b8935b
SIZE (gnu-crypto-2.0.1.tar.bz2) = 3895714

View File

@ -0,0 +1,14 @@
[ excerpt from developer's web site ]
GNU Crypto, part of the GNU project, released under the aegis of
GNU, aims at providing free, versatile, high-quality, and provably
correct implementations of cryptographic primitives and tools in
the Java programming language for use by programmers and end-users.
GNU Crypto is licensed under the terms of the GNU General Public
License, with the "library exception" which permits its use as a
library in conjunction with non-Free software.
WWW: http://www.gnu.org/software/gnu-crypto/
-- lioux@FreeBSD.org