From 6e54503ac840b95786cce0e162bd65727ea0754e Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Thu, 16 Dec 2004 15:38:17 +0000 Subject: [PATCH] . Move pkg-install to files/pkg-install.in since it is modified before use. This also fixes a problem that when being modified it wasn't specified by absolute path. Reported by: Robert Backhaus --- java/javavmwrapper/Makefile | 3 ++- java/javavmwrapper/{pkg-install => files/pkg-install.in} | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) rename java/javavmwrapper/{pkg-install => files/pkg-install.in} (79%) diff --git a/java/javavmwrapper/Makefile b/java/javavmwrapper/Makefile index 5847d198aac8..dd1e360fd174 100644 --- a/java/javavmwrapper/Makefile +++ b/java/javavmwrapper/Makefile @@ -36,7 +36,8 @@ do-configure: -e 's|%%JAVALIBDIR%%|${JAVALIBDIR}|;' \ ${SRC}/${_script}.sh >${WRKDIR}/${_script}.sh .endfor - ${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|;' pkg-install > ${PKGINSTALL} + ${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|;' \ + ${FILESDIR}/pkg-install.in > ${PKGINSTALL} do-install: ${INSTALL_SCRIPT} ${WRKDIR}/classpath.sh ${PREFIX}/bin/classpath diff --git a/java/javavmwrapper/pkg-install b/java/javavmwrapper/files/pkg-install.in similarity index 79% rename from java/javavmwrapper/pkg-install rename to java/javavmwrapper/files/pkg-install.in index 8f6d67f8195a..e76f047b4f77 100644 --- a/java/javavmwrapper/pkg-install +++ b/java/javavmwrapper/files/pkg-install.in @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD$ +# $FreeBSD: /tmp/pcvs/ports/java/javavmwrapper/files/pkg-install.in,v 1.1 2004-12-16 15:38:17 glewis Exp $ LOCALBASE=%%LOCALBASE%%