aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorhq <hq@FreeBSD.org>2005-02-03 10:01:09 +0800
committerhq <hq@FreeBSD.org>2005-02-03 10:01:09 +0800
commit191a4ccdc642232e941e5ce87a7a7cfb03c250b2 (patch)
tree02ffe754c95e340566d6858f61bca07521358595 /java
parent9eb4214df1e816588b49a9b2edfc2b1c9a82566d (diff)
downloadfreebsd-ports-graphics-191a4ccdc642232e941e5ce87a7a7cfb03c250b2.tar.gz
freebsd-ports-graphics-191a4ccdc642232e941e5ce87a7a7cfb03c250b2.tar.zst
freebsd-ports-graphics-191a4ccdc642232e941e5ce87a7a7cfb03c250b2.zip
- Update to bsd.java.mk 2.0
- Use JAVAJARDIR
Diffstat (limited to 'java')
-rw-r--r--java/cryptix-jce/Makefile14
-rw-r--r--java/cryptix-jce/pkg-plist9
2 files changed, 11 insertions, 12 deletions
diff --git a/java/cryptix-jce/Makefile b/java/cryptix-jce/Makefile
index 94273c5c54e..cb48e92ef5c 100644
--- a/java/cryptix-jce/Makefile
+++ b/java/cryptix-jce/Makefile
@@ -15,18 +15,18 @@ MASTER_SITE_SUBDIR= znerd
DISTNAME= ${PORTNAME}-${PORTVERSION}-snap
MAINTAINER= ports@FreeBSD.org
-COMMENT= JCE(Java Cryptograph Extension) by Cryptix
+COMMENT= JCE (Java Cryptograph Extension) by Cryptix
-USE_JAVA= 1.1+
+USE_JAVA= yes
USE_ZIP= yes
NO_BUILD= yes
RESTRICTED= Testing purpose only (from README.TXT).
do-install:
- @${MKDIR} ${PREFIX}/share/java/classes
- ${INSTALL_DATA} ${WRKDIR}/bin/${PORTNAME}-api.jar ${PREFIX}/share/java/classes/
- ${INSTALL_DATA} ${WRKDIR}/bin/${PORTNAME}-compat.jar ${PREFIX}/share/java/classes/
- ${INSTALL_DATA} ${WRKDIR}/bin/${PORTNAME}-provider.jar ${PREFIX}/share/java/classes/
- ${INSTALL_DATA} ${WRKDIR}/bin/${PORTNAME}-tests.jar ${PREFIX}/share/java/classes/
+ @${MKDIR} ${JAVAJARDIR}
+ ${INSTALL_DATA} ${WRKDIR}/bin/${PORTNAME}-api.jar ${JAVAJARDIR}/
+ ${INSTALL_DATA} ${WRKDIR}/bin/${PORTNAME}-compat.jar ${JAVAJARDIR}/
+ ${INSTALL_DATA} ${WRKDIR}/bin/${PORTNAME}-provider.jar ${JAVAJARDIR}/
+ ${INSTALL_DATA} ${WRKDIR}/bin/${PORTNAME}-tests.jar ${JAVAJARDIR}/
.include <bsd.port.mk>
diff --git a/java/cryptix-jce/pkg-plist b/java/cryptix-jce/pkg-plist
index 776f6c15da3..36e394906d6 100644
--- a/java/cryptix-jce/pkg-plist
+++ b/java/cryptix-jce/pkg-plist
@@ -1,5 +1,4 @@
-share/java/classes/cryptix-jce-api.jar
-share/java/classes/cryptix-jce-compat.jar
-share/java/classes/cryptix-jce-provider.jar
-share/java/classes/cryptix-jce-tests.jar
-
+%%JAVAJARDIR%%/cryptix-jce-api.jar
+%%JAVAJARDIR%%/cryptix-jce-compat.jar
+%%JAVAJARDIR%%/cryptix-jce-provider.jar
+%%JAVAJARDIR%%/cryptix-jce-tests.jar