mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
This is Jean-Marc Zucconi's makeindex port.
Submitted by: jmz
This commit is contained in:
parent
7914f6c071
commit
eb0eafb6b1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=214
5 changed files with 69 additions and 0 deletions
23
print/makeindex/Makefile
Normal file
23
print/makeindex/Makefile
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
DISTFILES= makeindex-3.0.8.tar.Z
|
||||||
|
DISTNAME= makeindex
|
||||||
|
|
||||||
|
MASTER_SITES= ftp://achilles.doc.ic.ac.uk/tex/contrib/Schrod/
|
||||||
|
|
||||||
|
build: configure pre-build
|
||||||
|
@echo "===> Building for ${DISTNAME}"
|
||||||
|
@(cd ${WRKSRC}/src-3.0/regexp; make)
|
||||||
|
@(cd ${WRKSRC}/src-3.0; make)
|
||||||
|
|
||||||
|
install:
|
||||||
|
@echo "===> Installing for ${DISTNAME}"
|
||||||
|
@mkdir -p ${PREFIX}/lib/texmf/makeindx
|
||||||
|
@mkdir -p ${PREFIX}/bin
|
||||||
|
@mkdir -p ${PREFIX}/man/man1
|
||||||
|
@(cd ${WRKSRC}/src-3.0/regexp; make)
|
||||||
|
@(cd ${WRKSRC}/src-3.0; make install)
|
||||||
|
@(cd ${WRKSRC}/doc; \
|
||||||
|
sed -e s:/usr/local/lib/tex/macros/:${PREFIX}/lib/texmf/makeindx/: \
|
||||||
|
<makeindex.l >makeindex.1; \
|
||||||
|
install -c -m 644 makeindex.1 ${PREFIX}/man/man1/)
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
1
print/makeindex/pkg-comment
Normal file
1
print/makeindex/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
||||||
|
makeindex - a general purpose, formatter-independent index processor.
|
12
print/makeindex/pkg-descr
Normal file
12
print/makeindex/pkg-descr
Normal file
|
@ -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(1)-based make.index(1L) system of
|
||||||
|
Bentley and Kernighan, which is specific to troff(1), generates
|
||||||
|
non-hierarchical indices, and employs a much simpler syntax for
|
||||||
|
indicating index entries.
|
20
print/makeindex/pkg-plist
Normal file
20
print/makeindex/pkg-plist
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
@cd /usr/local
|
||||||
|
@owner bin
|
||||||
|
@mode 755
|
||||||
|
bin/makeindex
|
||||||
|
@mode 644
|
||||||
|
lib/texmf/makeindx/din.ist
|
||||||
|
lib/texmf/makeindx/icase.ist
|
||||||
|
lib/texmf/makeindx/latex.ist
|
||||||
|
lib/texmf/makeindx/math.ist
|
||||||
|
lib/texmf/makeindx/mkind.ist
|
||||||
|
lib/texmf/makeindx/puncts.ist
|
||||||
|
lib/texmf/makeindx/tex.ist
|
||||||
|
lib/texmf/makeindx/english/digit.ist
|
||||||
|
lib/texmf/makeindx/english/letter.ist
|
||||||
|
lib/texmf/makeindx/english/special.ist
|
||||||
|
lib/texmf/makeindx/german/digit.ist
|
||||||
|
lib/texmf/makeindx/german/special.ist
|
||||||
|
lib/texmf/makeindx/german/umlaut.ist
|
||||||
|
lib/texmf/makeindx/german/wb.ist
|
||||||
|
man/man1/makeindex.1
|
13
print/makeindex/scripts/configure
vendored
Normal file
13
print/makeindex/scripts/configure
vendored
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
cd $WRKSRC/src-3.0 || exit 1;
|
||||||
|
cp Makefile.gen Makefile || exit 1;
|
||||||
|
echo "STYDIR=$PREFIX/lib/texmf/makeindx" >> Makefile || exit 1;
|
||||||
|
echo "BINDIR=$PREFIX/bin" >> Makefile || exit 1;
|
||||||
|
|
||||||
|
mv mkind.h mkind.h.orig || exit 1;
|
||||||
|
sed -e s:/usr/local:$PREFIX: < mkind.h.orig > mkind.h
|
||||||
|
|
||||||
|
cd regexp || exit 1;
|
||||||
|
cp Makefile.psx Makefile || exit 1;
|
||||||
|
exit 0
|
Loading…
Add table
Reference in a new issue