diff options
author | ahoka <ahoka@pkgsrc.org> | 2009-09-06 18:42:41 +0000 |
---|---|---|
committer | ahoka <ahoka@pkgsrc.org> | 2009-09-06 18:42:41 +0000 |
commit | 4058cde648019bdb5c0b809584ffa29c5fb12586 (patch) | |
tree | 2f5355997df93a0c8fe48e49ce8bbe0d50ca7d85 /textproc | |
parent | a2e4410b36e8e4ea7447cf045c0793cae20b06b4 (diff) | |
download | pkgsrc-4058cde648019bdb5c0b809584ffa29c5fb12586.tar.gz |
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 (limited to 'textproc')
-rw-r--r-- | textproc/halibut/DESCR | 15 | ||||
-rw-r--r-- | textproc/halibut/Makefile | 17 | ||||
-rw-r--r-- | textproc/halibut/PLIST | 3 | ||||
-rw-r--r-- | textproc/halibut/distinfo | 7 | ||||
-rw-r--r-- | textproc/halibut/patches/patch-aa | 42 | ||||
-rw-r--r-- | textproc/halibut/patches/patch-ab | 14 |
6 files changed, 98 insertions, 0 deletions
diff --git a/textproc/halibut/DESCR b/textproc/halibut/DESCR new file mode 100644 index 00000000000..4aabe859b04 --- /dev/null +++ b/textproc/halibut/DESCR @@ -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 --git a/textproc/halibut/Makefile b/textproc/halibut/Makefile new file mode 100644 index 00000000000..83d9bd74162 --- /dev/null +++ b/textproc/halibut/Makefile @@ -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 +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 --git a/textproc/halibut/PLIST b/textproc/halibut/PLIST new file mode 100644 index 00000000000..ac6b3ead506 --- /dev/null +++ b/textproc/halibut/PLIST @@ -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 --git a/textproc/halibut/distinfo b/textproc/halibut/distinfo new file mode 100644 index 00000000000..950cd22ab6c --- /dev/null +++ b/textproc/halibut/distinfo @@ -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 --git a/textproc/halibut/patches/patch-aa b/textproc/halibut/patches/patch-aa new file mode 100644 index 00000000000..983902455fa --- /dev/null +++ b/textproc/halibut/patches/patch-aa @@ -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 --git a/textproc/halibut/patches/patch-ab b/textproc/halibut/patches/patch-ab new file mode 100644 index 00000000000..36f79406546 --- /dev/null +++ b/textproc/halibut/patches/patch-ab @@ -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 |