diff options
author | Volker Stolz <vs@FreeBSD.org> | 2004-07-08 11:44:12 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2004-07-08 11:44:12 +0000 |
commit | 688ea8e6d690c02d34907f023e696fa00b1feb79 (patch) | |
tree | 73616beda9f01b27fb870bdeeceec0e7fc1ebe33 | |
parent | 33f80e640720a620fd77513a71c026265f14d852 (diff) | |
download | ports-688ea8e6d690c02d34907f023e696fa00b1feb79.tar.gz ports-688ea8e6d690c02d34907f023e696fa00b1feb79.zip |
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
-rw-r--r-- | shells/bash/Makefile | 5 | ||||
-rw-r--r-- | shells/bash2/Makefile | 5 | ||||
-rw-r--r-- | shells/bash3/Makefile | 5 |
3 files changed, 15 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 diff --git a/shells/bash2/Makefile b/shells/bash2/Makefile index e4a986b630ef..0f3fe1dcbf51 100644 --- a/shells/bash2/Makefile +++ b/shells/bash2/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 diff --git a/shells/bash3/Makefile b/shells/bash3/Makefile index e4a986b630ef..0f3fe1dcbf51 100644 --- a/shells/bash3/Makefile +++ b/shells/bash3/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 |