Fix location of binary in man-page

PR:		ports/42729
Submitted by:	Harold Gutch
Approved by:	maintainer timeout
This commit is contained in:
Volker Stolz 2004-07-08 11:44:12 +00:00
parent 33f80e6407
commit 688ea8e6d6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=113209
3 changed files with 15 additions and 0 deletions

View file

@ -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

View file

@ -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

View file

@ -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