diff options
author | vs <vs@FreeBSD.org> | 2004-07-08 11:44:12 +0000 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2004-07-08 11:44:12 +0000 |
commit | 2f645c5980fc6234e19dcab11fa1510e679149d1 (patch) | |
tree | f85d3cf799c4e0e9545023ec35692c67e1ada98f /shells/bash2/Makefile | |
parent | a7cea8f236e8e5398bd3eeb0315cb3b91930a4d5 (diff) | |
download | FreeBSD-ports-2f645c5980fc6234e19dcab11fa1510e679149d1.zip FreeBSD-ports-2f645c5980fc6234e19dcab11fa1510e679149d1.tar.gz |
Fix location of binary in man-page
PR: ports/42729
Submitted by: Harold Gutch
Approved by: maintainer timeout
Diffstat (limited to 'shells/bash2/Makefile')
-rw-r--r-- | shells/bash2/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shells/bash2/Makefile b/shells/bash2/Makefile index e4a986b..0f3fe1d 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 |