diff options
author | glewis <glewis@FreeBSD.org> | 2005-10-20 15:12:51 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2005-10-20 15:12:51 +0800 |
commit | f47e439229d93fe66b1da53d514d215a7711b208 (patch) | |
tree | b635fe0ed833e1406bd46dd6ae8317c0da855bfc /java | |
parent | 1828b382df7b0a1dc57e91d78b6ab66bda904fbe (diff) | |
download | freebsd-ports-gnome-f47e439229d93fe66b1da53d514d215a7711b208.tar.gz freebsd-ports-gnome-f47e439229d93fe66b1da53d514d215a7711b208.tar.zst freebsd-ports-gnome-f47e439229d93fe66b1da53d514d215a7711b208.zip |
. Update the required Java version.
. File off the version from the installed jars to make it possible to keep
the same CLASSPATH between releases.
Diffstat (limited to 'java')
-rw-r--r-- | java/bouncycastle/Makefile | 9 | ||||
-rw-r--r-- | java/bouncycastle/pkg-plist | 40 |
2 files changed, 26 insertions, 23 deletions
diff --git a/java/bouncycastle/Makefile b/java/bouncycastle/Makefile index 9fbeb5116b94..8d1dd04aba86 100644 --- a/java/bouncycastle/Makefile +++ b/java/bouncycastle/Makefile @@ -17,13 +17,16 @@ MAINTAINER= glewis@FreeBSD.org COMMENT= Cleanroom build of Java Cryptography Extensions USE_JAVA= yes -JAVA_VERSION= 1.1+ +JAVA_VERSION= 1.2+ NO_BUILD= yes DISTVERSION= ${PORTVERSION:S/.//} -PLIST_SUB+= DISTVERSION=${DISTVERSION} do-install: - ${INSTALL_DATA} ${WRKSRC}/jars/*.jar ${JAVAJARDIR} + 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} diff --git a/java/bouncycastle/pkg-plist b/java/bouncycastle/pkg-plist index c853a32f0bb0..058f5e2d6332 100644 --- a/java/bouncycastle/pkg-plist +++ b/java/bouncycastle/pkg-plist @@ -3,24 +3,24 @@ %%PORTDOCS%%%%DOCSDIR%%/index.html %%PORTDOCS%%%%DOCSDIR%%/releasenotes.html %%PORTDOCS%%%%DOCSDIR%%/specifications.html -%%JAVAJARDIR%%/bcmail-jdk13-%%DISTVERSION%%.jar -%%JAVAJARDIR%%/bcmail-jdk14-%%DISTVERSION%%.jar -%%JAVAJARDIR%%/bcmail-jdk15-%%DISTVERSION%%.jar -%%JAVAJARDIR%%/bcpg-jdk12-%%DISTVERSION%%.jar -%%JAVAJARDIR%%/bcpg-jdk13-%%DISTVERSION%%.jar -%%JAVAJARDIR%%/bcpg-jdk14-%%DISTVERSION%%.jar -%%JAVAJARDIR%%/bcpg-jdk15-%%DISTVERSION%%.jar -%%JAVAJARDIR%%/bcprov-jdk12-%%DISTVERSION%%.jar -%%JAVAJARDIR%%/bcprov-jdk13-%%DISTVERSION%%.jar -%%JAVAJARDIR%%/bcprov-jdk14-%%DISTVERSION%%.jar -%%JAVAJARDIR%%/bcprov-jdk15-%%DISTVERSION%%.jar -%%JAVAJARDIR%%/bctest-jdk12-%%DISTVERSION%%.jar -%%JAVAJARDIR%%/bctest-jdk13-%%DISTVERSION%%.jar -%%JAVAJARDIR%%/bctest-jdk14-%%DISTVERSION%%.jar -%%JAVAJARDIR%%/bctest-jdk15-%%DISTVERSION%%.jar -%%JAVAJARDIR%%/bctsp-jdk13-%%DISTVERSION%%.jar -%%JAVAJARDIR%%/bctsp-jdk14-%%DISTVERSION%%.jar -%%JAVAJARDIR%%/bctsp-jdk15-%%DISTVERSION%%.jar -%%JAVAJARDIR%%/jce-jdk12-%%DISTVERSION%%.jar -%%JAVAJARDIR%%/jce-jdk13-%%DISTVERSION%%.jar +%%JAVAJARDIR%%/bcmail-jdk13.jar +%%JAVAJARDIR%%/bcmail-jdk14.jar +%%JAVAJARDIR%%/bcmail-jdk15.jar +%%JAVAJARDIR%%/bcpg-jdk12.jar +%%JAVAJARDIR%%/bcpg-jdk13.jar +%%JAVAJARDIR%%/bcpg-jdk14.jar +%%JAVAJARDIR%%/bcpg-jdk15.jar +%%JAVAJARDIR%%/bcprov-jdk12.jar +%%JAVAJARDIR%%/bcprov-jdk13.jar +%%JAVAJARDIR%%/bcprov-jdk14.jar +%%JAVAJARDIR%%/bcprov-jdk15.jar +%%JAVAJARDIR%%/bctest-jdk12.jar +%%JAVAJARDIR%%/bctest-jdk13.jar +%%JAVAJARDIR%%/bctest-jdk14.jar +%%JAVAJARDIR%%/bctest-jdk15.jar +%%JAVAJARDIR%%/bctsp-jdk13.jar +%%JAVAJARDIR%%/bctsp-jdk14.jar +%%JAVAJARDIR%%/bctsp-jdk15.jar +%%JAVAJARDIR%%/jce-jdk12.jar +%%JAVAJARDIR%%/jce-jdk13.jar %%PORTDOCS%%@dirrm %%DOCSDIR%% |