freebsd-ports/textproc/gastex/Makefile
Hiroki Sato 4e09def2d4 Rectify USE_TEX to support both of teTeX and TeXLive.
TEX_DEFAULT:
	A knob to choose teTeX or TeXLive.  One can specify in /etc/make.conf.

USE_TEX:
	A knob for port developers.  Valid keywords are listed in
	bsd.tex.mk.
2013-05-11 17:58:55 +00:00

36 lines
879 B
Makefile

# 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
USE_TEX= latex
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>