blob: 751d7c5c6a4c92feb9b0f527e53f0cdb10be82a6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Created by: jmz
# $FreeBSD$
PORTNAME= makeindex
PORTVERSION= 3.0.8
PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= http://ftp.linux.cz/pub/tex/local/indexing/makeindex3/ \
http://ftp.cstug.cz/pub/tex/local/indexing/makeindex3/
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= A general purpose, formatter-independent index processor
CONFLICTS= teTeX-base-[0-9]*
WRKSRC= ${WRKDIR}/makeindex
MAN1= makeindex.1
NO_STAGE= yes
post-patch:
@(cd ${WRKSRC}/doc; \
${SED} -e s:/usr/local/lib/tex/macros/:${PREFIX}/share/texmf/makeindx/: \
<makeindex.l >makeindex.1)
do-build:
@(cd ${WRKSRC}/src-3.0/regexp; ${MAKE} OPT="${CFLAGS}")
@(cd ${WRKSRC}/src-3.0; ${MAKE} OPT="${CFLAGS}")
do-install:
@${MKDIR} ${PREFIX}/share/texmf/makeindx
@(cd ${WRKSRC}/src-3.0/regexp; ${MAKE})
@(cd ${WRKSRC}/src-3.0; ${MAKE} install)
@(cd ${WRKSRC}/doc; \
${INSTALL_DATA} makeindex.1 ${MANPREFIX}/man/man1)
.include <bsd.port.mk>
|