From 9813468816f287a12cb258059d66ba510a4a258b Mon Sep 17 00:00:00 2001 From: jlam Date: Fri, 29 Jul 2005 18:32:17 +0000 Subject: * Separate out the shell registration into a separately unpacked script +SHELL. * Turn PKG_REGISTER_SHELLS into a variable that can be set in the shell environment so that admins can make a choice when installing from binary packages. * PKG_SHELL is now a list of paths, and if the path is relative, then it is taken to be relative to ${PREFIX}. Convert packages that set PKG_SHELL to take advantage of this new feature by changing the full paths to the shells into relative paths. --- shells/scponly/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shells/scponly') diff --git a/shells/scponly/Makefile b/shells/scponly/Makefile index 1886694d033..6a9b784a74e 100644 --- a/shells/scponly/Makefile +++ b/shells/scponly/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2005/06/24 19:52:06 kristerw Exp $ +# $NetBSD: Makefile,v 1.5 2005/07/29 18:32:18 jlam Exp $ DISTNAME= scponly-4.0 PKGREVISION= 1 @@ -29,7 +29,7 @@ CONFIGURE_ENV+= scponly_PROG_RM="${TOOLS_RM}" CONFIGURE_ENV+= scponly_PROG_RMDIR="${TOOLS_RMDIR}" CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} USE_PKGINSTALL= yes -PKG_SHELL= ${PREFIX}/bin/scponly +PKG_SHELL= bin/scponly PKG_SYSCONFSUBDIR= scponly EGDIR= ${PREFIX}/share/examples/scponly -- cgit v1.2.3