Fix bison.info install

This commit is contained in:
espie 1999-07-29 14:03:48 +00:00
parent 8ab55c64e5
commit 176b20f7e2
2 changed files with 6 additions and 12 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 1999/04/20 01:16:43 d Exp $
# $OpenBSD: Makefile,v 1.10 1999/07/29 14:03:48 espie Exp $
DISTNAME= bison-1.27
CATEGORIES= devel
@ -11,16 +11,11 @@ MASTER_SITE_SUBDIR= bison
SEPARATE_BUILD=concurrent
HAS_CONFIGURE= yes
GNU_CONFIGURE= yes
INFO_FILES=bison.info
# bison installs bison.info*... remove our patch original before installing
#
pre-install:
@${RM} -f ${WRKSRC}/bison.info.orig
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/bison.info ${PREFIX}/info/dir
.include <bsd.port.mk>

View File

@ -1,13 +1,12 @@
@unexec install-info --delete --info-dir=%D/info %D/info/bison.info
bin/bison
share/bison.simple
share/bison.hairy
@unexec install-info --delete %D/info/bison.info %D/info/dir
info/bison.info
info/bison.info-1
info/bison.info-2
info/bison.info-3
info/bison.info-4
info/bison.info-5
@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
@exec install-info %D/info/bison.info %D/info/dir
man/man1/bison.1
share/bison.hairy
share/bison.simple
@exec install-info --info-dir=%D/info %D/info/bison.info