1995-04-15 00:34:11 -04:00
|
|
|
# New ports collection makefile for: makeindex
|
|
|
|
# Version required: 3.0.8
|
|
|
|
# Date created: 12 October 1994
|
|
|
|
# Whom: jmz
|
|
|
|
#
|
1995-04-17 16:31:43 -04:00
|
|
|
# $Id: Makefile,v 1.4 1995/04/15 04:33:58 asami Exp $
|
1995-04-15 00:34:11 -04:00
|
|
|
#
|
1994-10-11 22:58:10 -04:00
|
|
|
|
1995-04-15 00:34:11 -04:00
|
|
|
DISTNAME= makeindex
|
|
|
|
PKGNAME= makeindex-3.0.8
|
1995-04-01 07:51:41 -05:00
|
|
|
CATEGORIES+= printing
|
1995-04-15 00:34:11 -04:00
|
|
|
MASTER_SITES= ftp://achilles.doc.ic.ac.uk/tex/contrib/Schrod/
|
|
|
|
DISTFILES= makeindex-3.0.8.tar.Z
|
|
|
|
|
1995-04-10 22:02:17 -04:00
|
|
|
MAINTAINER= jmz@FreeBSD.org
|
1994-10-11 22:58:10 -04:00
|
|
|
|
|
|
|
build: configure pre-build
|
|
|
|
@echo "===> Building for ${DISTNAME}"
|
|
|
|
@(cd ${WRKSRC}/src-3.0/regexp; make)
|
|
|
|
@(cd ${WRKSRC}/src-3.0; make)
|
|
|
|
|
1995-04-17 16:31:43 -04:00
|
|
|
install: build
|
1994-10-11 22:58:10 -04:00
|
|
|
@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>
|