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

PORTNAME=	latex-tipa
PORTVERSION=	1.3
PORTREVISION=	4
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

USE_TEX=	latex
NO_INSTALL_MANPAGES=	yes
NO_BUILD=	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>
OpenPOWER on IntegriCloud