From f5d981f1a15e244dcf5276c672d01aeee7519599 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Wed, 23 Sep 1998 17:58:38 +0000 Subject: [PATCH] Fix info page problem. --- devel/gettext-devel/Makefile | 8 +++++++- devel/gettext-old/Makefile | 8 +++++++- devel/gettext/Makefile | 8 +++++++- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/devel/gettext-devel/Makefile b/devel/gettext-devel/Makefile index 16c681e85021..ca4f32f81ed9 100644 --- a/devel/gettext-devel/Makefile +++ b/devel/gettext-devel/Makefile @@ -3,7 +3,7 @@ # Date created: 16 March 1998 # Whom: Yukihiro Nakai # -# $Id: Makefile,v 1.1.1.1 1998/08/25 16:13:04 kuriyama Exp $ +# $Id: Makefile,v 1.2 1998/08/31 13:54:50 vanilla Exp $ # DISTNAME= gettext-0.10 @@ -17,4 +17,10 @@ GNU_CONFIGURE= yes pre-configure: ${RM} ${WRKSRC}/doc/gettext.info* +post-install: + @if [ ! -f ${PREFIX}/info/dir ]; then \ + ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \ + fi + @install-info ${PREFIX}/info/gettext.info ${PREFIX}/info/dir + .include diff --git a/devel/gettext-old/Makefile b/devel/gettext-old/Makefile index 16c681e85021..ca4f32f81ed9 100644 --- a/devel/gettext-old/Makefile +++ b/devel/gettext-old/Makefile @@ -3,7 +3,7 @@ # Date created: 16 March 1998 # Whom: Yukihiro Nakai # -# $Id: Makefile,v 1.1.1.1 1998/08/25 16:13:04 kuriyama Exp $ +# $Id: Makefile,v 1.2 1998/08/31 13:54:50 vanilla Exp $ # DISTNAME= gettext-0.10 @@ -17,4 +17,10 @@ GNU_CONFIGURE= yes pre-configure: ${RM} ${WRKSRC}/doc/gettext.info* +post-install: + @if [ ! -f ${PREFIX}/info/dir ]; then \ + ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \ + fi + @install-info ${PREFIX}/info/gettext.info ${PREFIX}/info/dir + .include diff --git a/devel/gettext/Makefile b/devel/gettext/Makefile index 16c681e85021..ca4f32f81ed9 100644 --- a/devel/gettext/Makefile +++ b/devel/gettext/Makefile @@ -3,7 +3,7 @@ # Date created: 16 March 1998 # Whom: Yukihiro Nakai # -# $Id: Makefile,v 1.1.1.1 1998/08/25 16:13:04 kuriyama Exp $ +# $Id: Makefile,v 1.2 1998/08/31 13:54:50 vanilla Exp $ # DISTNAME= gettext-0.10 @@ -17,4 +17,10 @@ GNU_CONFIGURE= yes pre-configure: ${RM} ${WRKSRC}/doc/gettext.info* +post-install: + @if [ ! -f ${PREFIX}/info/dir ]; then \ + ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \ + fi + @install-info ${PREFIX}/info/gettext.info ${PREFIX}/info/dir + .include