summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>1998-09-23 17:58:38 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>1998-09-23 17:58:38 +0000
commitf5d981f1a15e244dcf5276c672d01aeee7519599 (patch)
treec9a90f18453b0e9eefaf9ad398a569bf4c492436
parentConvert to elf. (diff)
Fix info page problem.
-rw-r--r--devel/gettext-devel/Makefile8
-rw-r--r--devel/gettext-old/Makefile8
-rw-r--r--devel/gettext/Makefile8
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 <Nakai@technologist.com>
#
-# $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 <bsd.port.mk>
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 <Nakai@technologist.com>
#
-# $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 <bsd.port.mk>
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 <Nakai@technologist.com>
#
-# $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 <bsd.port.mk>