pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/halibut Import halibut-1.0 as textproc/halibut.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5353e9809dab
branches:  trunk
changeset: 398688:5353e9809dab
user:      ahoka <ahoka%pkgsrc.org@localhost>
date:      Sun Sep 06 18:42:41 2009 +0000

description:
Import halibut-1.0 as textproc/halibut.

Halibut reads documentation source in a single input format, and produces
multiple output formats containing the same text.

The supported output formats are:

    * Plain ASCII text
    * HTML
    * PDF
    * PostScript
    * Unix man pages
    * Unix info, generated directly as .info files rather than .texi sources
    * Windows HTML Help (.CHM files), or rather source which can be fed to
      the MS HTML Help compiler to generate them
    * Windows WinHelp (old-style .HLP files), generated directly without
      needing a help compiler.

diffstat:

 textproc/halibut/DESCR            |  15 +++++++++++++
 textproc/halibut/Makefile         |  17 +++++++++++++++
 textproc/halibut/PLIST            |   3 ++
 textproc/halibut/distinfo         |   7 ++++++
 textproc/halibut/patches/patch-aa |  42 +++++++++++++++++++++++++++++++++++++++
 textproc/halibut/patches/patch-ab |  14 +++++++++++++
 6 files changed, 98 insertions(+), 0 deletions(-)

diffs (122 lines):

diff -r 2a13474ef838 -r 5353e9809dab textproc/halibut/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/halibut/DESCR    Sun Sep 06 18:42:41 2009 +0000
@@ -0,0 +1,15 @@
+Halibut reads documentation source in a single input format, and produces
+multiple output formats containing the same text.
+
+The supported output formats are:
+
+    * Plain ASCII text
+    * HTML
+    * PDF
+    * PostScript
+    * Unix man pages
+    * Unix info, generated directly as .info files rather than .texi sources
+    * Windows HTML Help (.CHM files), or rather source which can be fed to
+      the MS HTML Help compiler to generate them
+    * Windows WinHelp (old-style .HLP files), generated directly without
+      needing a help compiler.
diff -r 2a13474ef838 -r 5353e9809dab textproc/halibut/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/halibut/Makefile Sun Sep 06 18:42:41 2009 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/09/06 18:42:41 ahoka Exp $
+#
+
+DISTNAME=      halibut-1.0
+CATEGORIES=    textproc
+MASTER_SITES=  http://www.chiark.greenend.org.uk/~sgtatham/halibut/
+
+MAINTAINER=    ahoka%NetBSD.org@localhost
+HOMEPAGE=      http://www.chiark.greenend.org.uk/~sgtatham/halibut/
+COMMENT=       Documentation production system
+LICENSE=       mit
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+USE_TOOLS+=    gmake perl
+
+.include "../../mk/bsd.pkg.mk"
diff -r 2a13474ef838 -r 5353e9809dab textproc/halibut/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/halibut/PLIST    Sun Sep 06 18:42:41 2009 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/09/06 18:42:41 ahoka Exp $
+bin/halibut
+man/man1/halibut.1
diff -r 2a13474ef838 -r 5353e9809dab textproc/halibut/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/halibut/distinfo Sun Sep 06 18:42:41 2009 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/09/06 18:42:41 ahoka Exp $
+
+SHA1 (halibut-1.0.tar.gz) = 1e4643faf2bb4e1843740b8c70635d3d33bb7989
+RMD160 (halibut-1.0.tar.gz) = ec0bd44216a8a0379520fc77aa6c828fb24557a3
+Size (halibut-1.0.tar.gz) = 940897 bytes
+SHA1 (patch-aa) = e036a33c7464d7bde449788e7a86a0357079061c
+SHA1 (patch-ab) = f3b9ea19d5dfd88d85a6d9092b454acd139f0f8b
diff -r 2a13474ef838 -r 5353e9809dab textproc/halibut/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/halibut/patches/patch-aa Sun Sep 06 18:42:41 2009 +0000
@@ -0,0 +1,42 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/09/06 18:42:41 ahoka Exp $
+
+--- Makefile.orig      2006-12-06 20:12:44.000000000 +0100
++++ Makefile
+@@ -11,7 +11,7 @@
+ #    pattern rules
+ #  - we use .PHONY
+ 
+-prefix=/usr/local
++prefix=$(PREFIX)
+ exec_prefix=$(prefix)
+ bindir=$(exec_prefix)/bin
+ INSTALL=install -c
+@@ -89,7 +89,7 @@ else
+ VDEF = `(cd $(SRC); md5sum -c manifest >& /dev/null && cat version)`
+ endif
+ 
+-all: halibut
++all: halibut doc
+ 
+ SRC := ../
+ 
+@@ -122,6 +122,9 @@ halibut: $(OBJECTS)
+ version.o: FORCE
+       $(CC) $(VDEF) -MD -c $(SRC)version.c
+ 
++doc:
++      $(MAKE) -C ../doc
++
+ spotless:: clean
+       rm -f *.d
+ 
+@@ -129,7 +132,8 @@ clean::
+       rm -f *.o halibut core
+ 
+ install:
+-      $(INSTALL) -m 755 halibut $(bindir)/halibut
++      mkdir -p $(DESTDIR)$(bindir)
++      $(INSTALL) -m 755 halibut $(DESTDIR)$(bindir)/halibut
+       $(MAKE) -C ../doc install prefix="$(prefix)" INSTALL="$(INSTALL)"
+ 
+ FORCE: # phony target to force version.o to be rebuilt every time
diff -r 2a13474ef838 -r 5353e9809dab textproc/halibut/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/halibut/patches/patch-ab Sun Sep 06 18:42:41 2009 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1.1.1 2009/09/06 18:42:41 ahoka Exp $
+
+--- doc/Makefile.orig  2006-12-11 20:43:10.000000000 +0100
++++ doc/Makefile
+@@ -17,7 +17,8 @@ halibut.1: manpage.but
+       $(HALIBUT) --man=halibut.1 manpage.but
+ 
+ install:
+-      $(INSTALL) -m 644 halibut.1 $(man1dir)/halibut.1
++      mkdir -p $(DESTDIR)$(man1dir)
++      $(INSTALL) -m 644 halibut.1 $(DESTDIR)$(man1dir)/halibut.1
+ 
+ clean:
+       rm -f *.html *.txt *.hlp *.cnt *.1 *.info* *.ps *.pdf *.hh* *.chm



Home | Main Index | Thread Index | Old Index