summaryrefslogtreecommitdiff
path: root/shells/esh
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-12-27 08:16:03 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-12-27 08:16:03 +0000
commit5397ebb5e71ecefff32545875b73e19fe5ac0612 (patch)
tree0ca8d7f79bd56f279abfb792187154b2d295962c /shells/esh
parentSupport stage (diff)
Support stage
Notes
Notes: svn path=/head/; revision=337647
Diffstat (limited to 'shells/esh')
-rw-r--r--shells/esh/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/shells/esh/Makefile b/shells/esh/Makefile
index c20f48548274..1ba67b8ec46f 100644
--- a/shells/esh/Makefile
+++ b/shells/esh/Makefile
@@ -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>