summaryrefslogtreecommitdiff
path: root/print/latex-tipa/Makefile
blob: 597e2adf1c21b259767abdd6954dac509e0d192a (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
# New ports collection makefile for:	tipa
# Date created:		18 November 2003
# Whom:			Andreas Braml
#
# $FreeBSD$
#

PORTNAME=	latex-tipa
PORTVERSION=	1.3
CATEGORIES=	print
MASTER_SITES=	http://www.braml.org/
DISTNAME=	tipa-${PORTVERSION}

MAINTAINER=	a.strich.b@web.de
COMMENT=	Package which provides T3-encoded fonts to be used with LaTeX2e

BUILD_DEPENDS=	mktexlsr:${PORTSDIR}/print/teTeX-base
RUN_DEPENDS=	latex:${PORTSDIR}/print/teTeX-base

NO_INSTALL_MANPAGES=	yes
NO_BUILD=	yes
USE_REINPLACE=	yes
LATEX_BIN=	${LOCALBASE}/bin/latex

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/local/teTeX/share/texmf|${PREFIX}/share/texmf|' ${WRKSRC}/Makefile

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/texmf/doc/latex/tipa
	@(cd ${WRKSRC}/doc; ${LATEX_BIN} tipaman; \
	 ${LOCALBASE}/bin/bibtex tipaman; ${LATEX_BIN} tipaman; ${LATEX_BIN} tipaman)
	${INSTALL_MAN} ${WRKSRC}/doc/tipaman.dvi ${PREFIX}/share/texmf/doc/latex/tipa
.endif

.include <bsd.port.mk>