From a79a0f47ddb1adfe923407a3ca88d9aeb52ff4c3 Mon Sep 17 00:00:00 2001 From: heko Date: Wed, 26 Sep 2001 18:38:43 +0000 Subject: [PATCH] o Fix a few oddities in the bzip2 texinfo source o Install texinfo and HTML manuals (which include programmer resources) for bzip2 ok maintainer: brad@ --- archivers/bzip2/Makefile | 8 +++++- archivers/bzip2/patches/patch-manual_texi | 34 +++++++++++++++++++++++ archivers/bzip2/pkg/PLIST | 11 +++++++- 3 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 archivers/bzip2/patches/patch-manual_texi diff --git a/archivers/bzip2/Makefile b/archivers/bzip2/Makefile index c37aef14f6a..fabb4a0f319 100644 --- a/archivers/bzip2/Makefile +++ b/archivers/bzip2/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.35 2001/08/26 21:23:42 heko Exp $ +# $OpenBSD: Makefile,v 1.36 2001/09/26 18:38:43 heko Exp $ COMMENT= "block-sorting file compressor, unencumbered" @@ -25,6 +25,12 @@ test: build LD_LIBRARY_PATH="${WRKBUILD}" ${MAKE} ${MAKE_FLAGS} -f \ ${MAKE_FILE} test +post-install: + @cd ${WRKBUILD} && makeinfo --no-split manual.texi + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bzip2 + ${INSTALL_DATA} ${WRKBUILD}/*.html ${PREFIX}/share/doc/bzip2 + ${INSTALL_DATA} ${WRKBUILD}/bzip2.info ${PREFIX}/info + .include .if defined(NO_SHARED_LIBS) && ${NO_SHARED_LIBS:L} == "yes" diff --git a/archivers/bzip2/patches/patch-manual_texi b/archivers/bzip2/patches/patch-manual_texi new file mode 100644 index 00000000000..f8a5bbd6321 --- /dev/null +++ b/archivers/bzip2/patches/patch-manual_texi @@ -0,0 +1,34 @@ +$OpenBSD: patch-manual_texi,v 1.1 2001/09/26 18:38:43 heko Exp $ +--- manual.texi.orig Fri Mar 24 01:43:33 2000 ++++ manual.texi Wed Sep 26 19:59:40 2001 +@@ -35,12 +35,12 @@ END-INFO-DIR-ENTRY + @author Julian Seward + + @end titlepage +- + @parindent 0mm + @parskip 2mm +- + @end iftex ++ + @node Top, Overview, (dir), (dir) ++@top + + This program, @code{bzip2}, + and associated library @code{libbzip2}, are +@@ -97,11 +97,12 @@ above statement. + + + ++@menu ++* Overview:: Overview. ++@end menu + + +- +- +-@node Overview, Implementation, Top, Top ++@node Overview, , Top, Top + @chapter Introduction + + @code{bzip2} compresses files using the Burrows-Wheeler diff --git a/archivers/bzip2/pkg/PLIST b/archivers/bzip2/pkg/PLIST index d1ca93f7f3d..cefc4fb28a3 100644 --- a/archivers/bzip2/pkg/PLIST +++ b/archivers/bzip2/pkg/PLIST @@ -1,12 +1,21 @@ -@comment $OpenBSD: PLIST,v 1.11 2000/09/16 11:44:23 brad Exp $ +@comment $OpenBSD: PLIST,v 1.12 2001/09/26 18:38:43 heko Exp $ bin/bunzip2 bin/bzcat bin/bzip2 bin/bzip2recover include/bzlib.h +@exec install-info --info-dir=%D/info %D/info/bzip2.info +info/bzip2.info +@unexec install-info --delete --info-dir=%D/info %D/info/bzip2.info lib/libbz2.a %%SHARED%% man/man1/bunzip2.1 man/man1/bzcat.1 man/man1/bzip2.1 man/man1/bzip2recover.1 +share/doc/bzip2/manual_1.html +share/doc/bzip2/manual_2.html +share/doc/bzip2/manual_3.html +share/doc/bzip2/manual_4.html +share/doc/bzip2/manual_toc.html +@dirrm share/doc/bzip2