Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2013 08:16:03 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337647 - head/shells/esh
Message-ID:  <201312270816.rBR8G393025603@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Dec 27 08:16:03 2013
New Revision: 337647
URL: http://svnweb.freebsd.org/changeset/ports/337647

Log:
  Support stage

Modified:
  head/shells/esh/Makefile

Modified: head/shells/esh/Makefile
==============================================================================
--- head/shells/esh/Makefile	Fri Dec 27 08:10:49 2013	(r337646)
+++ head/shells/esh/Makefile	Fri Dec 27 08:16:03 2013	(r337647)
@@ -18,7 +18,6 @@ MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}"
 
 INFO=		esh
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|<readline.h>|<readline/readline.h>| ; \
@@ -28,12 +27,7 @@ pre-build:
 	@(cd ${WRKSRC} && ${MAKE} clean)
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/esh ${PREFIX}/bin/esh
-	@${ECHO_MSG} "updating /etc/shells"
-	@${CP} /etc/shells /etc/shells.bak
-	@(${GREP} -v ${PREFIX}/bin/esh /etc/shells.bak; \
-	  ${ECHO_CMD} ${PREFIX}/bin/esh) > /etc/shells
-	@${RM} /etc/shells.bak
-	${INSTALL_DATA} ${WRKSRC}/doc/esh.info ${PREFIX}/${INFO_PATH}
+	${INSTALL_PROGRAM} ${WRKSRC}/esh ${STAGEDIR}${PREFIX}/bin/esh
+	${INSTALL_DATA} ${WRKSRC}/doc/esh.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312270816.rBR8G393025603>