From 061594fade6adaf9dc1c8d2c5ccb63b0ab40f3ca Mon Sep 17 00:00:00 2001 From: salo Date: Sun, 17 Nov 2002 09:01:59 +0000 Subject: Convert packages to PKG_REGISTER_SHELLS framework. --- shells/bash2/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'shells/bash2/Makefile') diff --git a/shells/bash2/Makefile b/shells/bash2/Makefile index c9299ed1f22..88f3fa52794 100644 --- a/shells/bash2/Makefile +++ b/shells/bash2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 2002/09/26 22:06:29 jlam Exp $ +# $NetBSD: Makefile,v 1.36 2002/11/17 09:02:00 salo Exp $ # DISTNAME= bash-2.05 @@ -17,6 +17,8 @@ USE_BUILDLINK2= no GNU_CONFIGURE= yes MAKE_ENV+= INSTALL_SCRIPT='${INSTALL_SCRIPT}' +PKG_SHELL= ${PREFIX}/bin/bash + .include "../../mk/bsd.prefs.mk" .if defined(BASH_STATIC) && ${BASH_STATIC} == YES @@ -57,11 +59,8 @@ pre-configure: post-install: ${INSTALL_MAN} ${WRKSRC}/doc/bash.1 ${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/doc/bashbug.1 ${PREFIX}/man/man1 - ${TOUCH} /etc/shells - ${CP} /etc/shells /etc/shells.bak - (${GREP} -v ${PREFIX}/bin/bash /etc/shells.bak || ${TRUE}; ${ECHO} ${PREFIX}/bin/bash) >/etc/shells - ${RM} /etc/shells.bak +.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" CPPFLAGS:= -I${GETTEXTDIR}/include ${CPPFLAGS} -- cgit v1.2.3