aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/epix/Makefile
blob: 44891f071e74dca461b535d91d60ad58564c70c0 (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=   epix
PORTVERSION=    1.2.14
CATEGORIES= graphics
MASTER_SITES=   http://mathcs.holycross.edu/~ahwang/epix/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Creates math plots and line figures using easy-to-learn syntax

LICENSE=    GPLv2 # (or later)

USE_TEX=    texmf:build
BUILD_DEPENDS=  bash:${PORTSDIR}/shells/bash
RUN_DEPENDS=    bash:${PORTSDIR}/shells/bash

USES=       gmake makeinfo tar:bzip2
USE_TEX=    latex dvipsk:build
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-bash=${LOCALBASE}/bin/bash \
        --with-runtime=${CXX}

INFO=       epix

OPTIONS_DEFINE= DOCS

post-patch:
    @${REINPLACE_CMD} -e '/usepackage/s|pstricks,xcolor|pstricks,tikz,xcolor|' \
        ${WRKSRC}/doc/manual.tex

.include <bsd.port.mk>