aboutsummaryrefslogtreecommitdiffstats
path: root/print/latex-tipa/Makefile
blob: 785af23733425cd6bbf34f6dbbffafeaf9d99e5f (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
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

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

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>