summaryrefslogtreecommitdiff
path: root/shells/bash
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-07-08 11:44:12 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-07-08 11:44:12 +0000
commit688ea8e6d690c02d34907f023e696fa00b1feb79 (patch)
tree73616beda9f01b27fb870bdeeceec0e7fc1ebe33 /shells/bash
parentUpdate to 2.2.5 (diff)
Fix location of binary in man-page
PR: ports/42729 Submitted by: Harold Gutch Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=113209
Diffstat (limited to 'shells/bash')
-rw-r--r--shells/bash/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/shells/bash/Makefile b/shells/bash/Makefile
index e4a986b630ef..0f3fe1dcbf51 100644
--- a/shells/bash/Makefile
+++ b/shells/bash/Makefile
@@ -31,6 +31,7 @@ COMMENT= The GNU Bourne Again Shell
.include <bsd.port.pre.mk>
+USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/bash-${PORTVERSION:C/\....$//}
GNU_CONFIGURE= Yes
CONFIGURE_ARGS= --with-installed-readline
@@ -41,6 +42,10 @@ CONFIGURE_ARGS+= --enable-static-link=no
.endif
MAN1= bash.1 bashbug.1
+post-patch:
+ @${REINPLACE_CMD} -e "s,.FN /bin/bash,.FN ${PREFIX}/bin/bash," \
+ ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}/doc/bash.1
+
post-install:
${CP} /etc/shells /etc/shells.bak
(${GREP} -v ${PREFIX}/bin/bash /etc/shells.bak; ${ECHO_CMD} ${PREFIX}/bin/bash) >/etc/shells