diff --git a/devel/bison/Makefile b/devel/bison/Makefile index 98e01b59c9b..76084d7176c 100644 --- a/devel/bison/Makefile +++ b/devel/bison/Makefile @@ -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 diff --git a/devel/bison/pkg/PLIST b/devel/bison/pkg/PLIST index 8ed57c8ff2d..ed0c5fdb9f2 100644 --- a/devel/bison/pkg/PLIST +++ b/devel/bison/pkg/PLIST @@ -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