From 2d84fd6044f4986b812c5c3c1e232c5660c44e13 Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Mon, 12 Jul 2004 22:21:51 +0000 Subject: . Use %%JAVAJARDIR%% in the packing list now that bsd.java.mk sets it. --- java/gnu-regexp/Makefile | 2 +- java/java-getopt/Makefile | 2 +- java/jcalendar/Makefile | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'java') diff --git a/java/gnu-regexp/Makefile b/java/gnu-regexp/Makefile index 274da765027a..43234d49c56e 100644 --- a/java/gnu-regexp/Makefile +++ b/java/gnu-regexp/Makefile @@ -21,7 +21,7 @@ NO_BUILD= yes PORTDOCS= * .endif -PLIST_FILES= ${JAVAJARDIR:S,^${PREFIX}/,,}/gnu-regexp.jar +PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar do-install: ${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-${PORTVERSION}.jar \ diff --git a/java/java-getopt/Makefile b/java/java-getopt/Makefile index 0d4d64cd4260..197ed621eb5a 100644 --- a/java/java-getopt/Makefile +++ b/java/java-getopt/Makefile @@ -17,7 +17,7 @@ EXTRACT_SUFX= .jar MAINTAINER= ports@FreeBSD.org COMMENT= Java version of GNU getopt family functions -PLIST_FILES= share/java/classes/getopt.jar +PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar USE_JAVA= 1.1+ NO_WRKSUBDIR= yes EXTRACT_CMD= ${CP} diff --git a/java/jcalendar/Makefile b/java/jcalendar/Makefile index cd976c1855f9..0c68c2405db1 100644 --- a/java/jcalendar/Makefile +++ b/java/jcalendar/Makefile @@ -19,8 +19,8 @@ USE_ZIP= yes USE_JAVA= yes NO_BUILD= yes NO_WRKSUBDIR= yes -PLIST_FILES= ${JAVAJARDIR:S,^${PREFIX}/,,}/jcalendar.jar \ - ${JAVAJARDIR:S,^${PREFIX}/,,}/kunststoff.jar +PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar \ + %%JAVAJARDIR%%/kunststoff.jar .if !defined(NOPORTDOCS) PORTDOCS= * -- cgit v1.2.3