diff options
author | bapt <bapt@FreeBSD.org> | 2013-12-27 16:16:03 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-12-27 16:16:03 +0800 |
commit | f40a27f7c45ea7523fe57eb204a10392bd2b002a (patch) | |
tree | 0ca8d7f79bd56f279abfb792187154b2d295962c /shells/esh | |
parent | f9f0f60ccf213bc6232752bb00159b113eef8333 (diff) | |
download | freebsd-ports-gnome-f40a27f7c45ea7523fe57eb204a10392bd2b002a.tar.gz freebsd-ports-gnome-f40a27f7c45ea7523fe57eb204a10392bd2b002a.tar.zst freebsd-ports-gnome-f40a27f7c45ea7523fe57eb204a10392bd2b002a.zip |
Support stage
Diffstat (limited to 'shells/esh')
-rw-r--r-- | shells/esh/Makefile | 10 |
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> |