aboutsummaryrefslogtreecommitdiff
path: root/math/gnuplot-tex-extras/Makefile
blob: c49e7431ab87cbd599f1913d34d69ea14ba62896 (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
PORTNAME=	gnuplot
PORTVERSION=	5.2.8
CATEGORIES=	math graphics
MASTER_SITES=	SF
PKGNAMESUFFIX=	-tex-extras

MAINTAINER=	glewis@FreeBSD.org
COMMENT=	Extra files for Gnuplot TeX support

RUN_DEPENDS=	gnuplot:math/gnuplot

USES=		cpe
USE_TEX=	texmf
NO_BUILD=	yes
PLIST_FILES=	${TEX_FILES:S,^,${TEX_DIR}/,}

TEX_DIR=	${LOCALBASE}/${TEXMFDIR}/tex/latex/gnuplot
TEX_FILES=	gnuplot-lua-tikz.sty \
		gnuplot-lua-tikz-common.tex \
		gnuplot-lua-tikz.tex \
		t-gnuplot-lua-tikz.tex \
		gnuplot.cfg

do-install:
	@${MKDIR} ${STAGEDIR}${TEX_DIR}
	cd ${WRKSRC}/share/LaTeX && ${INSTALL_DATA} ${TEX_FILES} \
	    ${STAGEDIR}${TEX_DIR}

.include <bsd.port.mk>