aboutsummaryrefslogtreecommitdiffstats
path: root/print/makeindex/Makefile
blob: 68e05c07b1d17695370054ad8bd074e83e0c79bb (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
# Version required:     3.0.8
# Date created:         12 October 1994
# Whom:                 jmz
#
# $Id: Makefile,v 1.7 1995/04/21 00:21:15 jmz Exp $
#

DISTNAME=   makeindex
PKGNAME=    makeindex-3.0.8
CATEGORIES+=    print
MASTER_SITES=   ftp://ftp.th-darmstadt.de/pub/tex/src/makeindex/BETA/
DISTFILES=  makeindex-3.0.8.tar.Z

MAINTAINER= jmz@FreeBSD.org

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

do-install: 
    @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>