aboutsummaryrefslogtreecommitdiffstats
path: root/print/tipa/Makefile
blob: 74c75852eb069e5cf4027cf2d1d11d36eff7c59c (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:    tipa
# Date created:     18 November 2003
# Whom:         Andreas Braml
#
# $FreeBSD$
#

PORTNAME=   tipa
PORTVERSION=    1.2
CATEGORIES= print
MASTER_SITES=   http://www.braml.org/

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

RUN_DEPENDS=    latex:${PORTSDIR}/print/teTeX

NO_INSTALL_MANPAGES=    yes
NO_BUILD=   yes
USE_REINPLACE=  yes

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 tipaman; bibtex tipaman; latex tipaman; latex tipaman)
    ${INSTALL_MAN} ${WRKSRC}/doc/tipaman.dvi ${PREFIX}/share/texmf/doc/latex/tipa
.endif

.include <bsd.port.mk>