summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2009-04-17 21:40:25 +0000
committerminskim <minskim@pkgsrc.org>2009-04-17 21:40:25 +0000
commit17613e8b7aa09c6b97f0eb1ed6ddf66f1591aaf9 (patch)
treea2e42286bd88d8cb8e79de8772352edae85113da /textproc
parent8bea45945c1aafa26cbecc3b075c3b00f2281220 (diff)
downloadpkgsrc-17613e8b7aa09c6b97f0eb1ed6ddf66f1591aaf9.tar.gz
Import makeindexk-2.15 as textproc/makeindexk.
The program makeindex is a general purpose hierarchical index generator; it accepts one or more input files (often produced by a text formatter such as TeX or troff, sorts the entries, and produces an output file which can be formatted. The index can have up to three levels (0, 1, and 2) of subitem nesting. The way in which words are flagged for indexing within the main document is specific to the formatter used; makeindex does not automate the process of selecting these words. As the output index is hierarchical, makeindex can be considered complimentary to the awk-based make.index system of Bentley and Kernighan, which is specific to troff, generates non-hierarchical indices, and employs a much simpler syntax for indicating index entries.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/makeindexk/DESCR12
-rw-r--r--textproc/makeindexk/Makefile37
-rw-r--r--textproc/makeindexk/PLIST5
-rw-r--r--textproc/makeindexk/distinfo6
-rw-r--r--textproc/makeindexk/patches/patch-aa14
5 files changed, 74 insertions, 0 deletions
diff --git a/textproc/makeindexk/DESCR b/textproc/makeindexk/DESCR
new file mode 100644
index 00000000000..41cc98fb08d
--- /dev/null
+++ b/textproc/makeindexk/DESCR
@@ -0,0 +1,12 @@
+The program makeindex is a general purpose hierarchical index
+generator; it accepts one or more input files (often produced by a
+text formatter such as TeX or troff, sorts the entries, and produces
+an output file which can be formatted. The index can have up to three
+levels (0, 1, and 2) of subitem nesting. The way in which words are
+flagged for indexing within the main document is specific to the
+formatter used; makeindex does not automate the process of selecting
+these words. As the output index is hierarchical, makeindex can be
+considered complimentary to the awk-based make.index system of Bentley
+and Kernighan, which is specific to troff, generates non-hierarchical
+indices, and employs a much simpler syntax for indicating index
+entries.
diff --git a/textproc/makeindexk/Makefile b/textproc/makeindexk/Makefile
new file mode 100644
index 00000000000..5b9194610db
--- /dev/null
+++ b/textproc/makeindexk/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/04/17 21:40:25 minskim Exp $
+
+DISTNAME= texlive-20080816-source
+PKGNAME= makeindexk-2.15
+CATEGORIES= print
+MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/texlive/Source/}
+EXTRACT_SUFX= .tar.lzma
+
+MAINTAINER= minskim@NetBSD.org
+HOMEPAGE= http://www.tug.org/texlive/
+COMMENT= General purpose hierarchical index generator
+
+CONFLICTS+= teTeX-bin<=3.0nb32
+
+EXTRACT_ELEMENTS= ${DISTNAME}/texk/makeindexk \
+ ${DISTNAME}/texk/make \
+ ${DISTNAME}/texk/install.sh \
+ ${DISTNAME}/texk/mkinstalldirs
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+WRKSRC= ${WRKDIR}/${DISTNAME}/texk/makeindexk
+
+MAKE_ENV+= KPATHSEA_PREFIX=${BUILDLINK_PREFIX.kpathsea}
+MAKE_FLAGS+= LIBTOOL=${LIBTOOL:Q} \
+ kpathsea_parent=${BUILDLINK_PREFIX.kpathsea}/include \
+ kpathsea_srcdir=${BUILDLINK_PREFIX.kpathsea}/include/kpathsea \
+ kpathsea=${BUILDLINK_PREFIX.kpathsea}/lib/libkpathsea.la
+
+INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
+ infodir=${DESTDIR}${PREFIX}/${PKGINFODIR} \
+ mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
+
+.include "../../print/kpathsea/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/makeindexk/PLIST b/textproc/makeindexk/PLIST
new file mode 100644
index 00000000000..01efefebbd6
--- /dev/null
+++ b/textproc/makeindexk/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/04/17 21:40:25 minskim Exp $
+bin/makeindex
+bin/mkindex
+man/man1/makeindex.1
+man/man1/mkindex.1
diff --git a/textproc/makeindexk/distinfo b/textproc/makeindexk/distinfo
new file mode 100644
index 00000000000..0426af2e012
--- /dev/null
+++ b/textproc/makeindexk/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/04/17 21:40:25 minskim Exp $
+
+SHA1 (texlive-20080816-source.tar.lzma) = 730986c628bd658b5062face9e400f61203d6b8d
+RMD160 (texlive-20080816-source.tar.lzma) = 629784b111c0d4bc9fac9f9131f63203d6e1dd38
+Size (texlive-20080816-source.tar.lzma) = 23175835 bytes
+SHA1 (patch-aa) = 85b2d087d0d576e160592cdc80ccc9034c437f3b
diff --git a/textproc/makeindexk/patches/patch-aa b/textproc/makeindexk/patches/patch-aa
new file mode 100644
index 00000000000..40d08605527
--- /dev/null
+++ b/textproc/makeindexk/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/04/17 21:40:25 minskim Exp $
+
+Use the kpathsea library in print/kpathsea.
+
+--- Makefile.in.orig 2008-02-01 03:23:16.000000000 -0800
++++ Makefile.in
+@@ -14,7 +14,6 @@ default all: $(programs)
+
+ $(program): $(kpathsea) $(objects)
+ $(kpathsea_link) $(objects) $(LOADLIBES)
+-kpse_include ../make/tkpathsea.mk
+
+ install: install-exec install-data
+ uninstall: uninstall-exec uninstall-data