summaryrefslogtreecommitdiff
path: root/print/makeindex/Makefile
blob: 57fa25c5ab2579b09c58de75b7e90a8a7fdafa15 (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
# New ports collection makefile for:    makeindex
# Date created:         12 October 1994
# Whom:                 jmz
#
# $FreeBSD$
#

PORTNAME=	makeindex
PORTVERSION=	3.0.8
CATEGORIES=	print
MASTER_SITES=	ftp://ftp.th-darmstadt.de/pub/tex/src/makeindex/BETA/
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	jmz@FreeBSD.org

WRKSRC=		${WRKDIR}/makeindex
MAN1=		makeindex.1

do-build:
	@(cd ${WRKSRC}/src-3.0/regexp; make)
	@(cd ${WRKSRC}/src-3.0; make)

do-install:
	@${MKDIR} ${PREFIX}/share/texmf/makeindx
	@(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}/share/texmf/makeindx/: \
	      <makeindex.l >makeindex.1; \
	  ${INSTALL_DATA} makeindex.1 ${PREFIX}/man/man1/)

.include <bsd.port.mk>