aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/gastex/Makefile
blob: 7cd27e47f3f08492430c86058c4f5ae7ecfe2f63 (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
37
38
# New ports collection makefile for:    gastex
# Date created:         Sep 18. 2005
# Whom:             Volker Stolz <vs@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gastex
PORTVERSION=    2.7
PORTREVISION=   4
CATEGORIES= textproc
MASTER_SITES=   http://www.lsv.ens-cachan.fr/~gastin/gastex/
DISTFILES=  gastex.sty gastex.pro ex-gastex.tex
DIST_SUBDIR=    ${PORTNAME}-${PORTVERSION}
EXTRACT_ONLY=   #

MAINTAINER= ports@FreeBSD.org
COMMENT=    Graphs and Automata Simplified in TeX

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

NO_BUILD=   yes

TEXMFDIR?=  share/texmf
GASTEXDIR=  ${PREFIX}/${TEXMFDIR}/tex/latex/gastex
GASDVIDIR=  ${PREFIX}/${TEXMFDIR}/dvips/gastex

do-install:
    @${MKDIR} ${GASTEXDIR}
    @${MKDIR} ${GASDVIDIR}
    @${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${_DISTDIR}/gastex.sty ${GASTEXDIR}
    ${INSTALL_DATA} ${_DISTDIR}/gastex.pro ${GASDVIDIR}
    ${INSTALL_DATA} ${_DISTDIR}/ex-gastex.tex ${EXAMPLESDIR}
    mktexlsr

.include <bsd.port.mk>