Fri Apr 17 21:40:25 2009 UTC ()
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.

Status:

Vendor Tag:	TNF
Release Tags:	pkgsrc-base


(minskim)
diff -r0 -r1.1.1.1 pkgsrc/textproc/makeindexk/DESCR
diff -r0 -r1.1.1.1 pkgsrc/textproc/makeindexk/Makefile
diff -r0 -r1.1.1.1 pkgsrc/textproc/makeindexk/PLIST
diff -r0 -r1.1.1.1 pkgsrc/textproc/makeindexk/distinfo
diff -r0 -r1.1.1.1 pkgsrc/textproc/makeindexk/patches/patch-aa

File Added: pkgsrc/textproc/makeindexk/DESCR
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.

File Added: pkgsrc/textproc/makeindexk/Makefile
# $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"

File Added: pkgsrc/textproc/makeindexk/PLIST
@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

File Added: pkgsrc/textproc/makeindexk/distinfo
$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

File Added: pkgsrc/textproc/makeindexk/patches/Attic/patch-aa
$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