aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/epix/Makefile
blob: 703766c5ecae3c0bbc8b9a8cbec5090adb2ce563 (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
39
40
# ex:ts=8
# Ports collection makefile for:    epix
# Date created:         Sep 5, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   epix
PORTVERSION=    1.0.0
CATEGORIES= graphics
MASTER_SITES=   http://mathcs.holycross.edu/~ahwang/epix/
DISTNAME=   ${PORTNAME}-${PORTVERSION}_src

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

BUILD_DEPENDS=  bash:${PORTSDIR}/shells/bash
RUN_DEPENDS=    bash:${PORTSDIR}/shells/bash \
        latex:${PORTSDIR}/print/teTeX

USE_BZIP2=  yes
USE_GCC=    3.4
USE_REINPLACE=  yes
MAKE_ARGS=  CXX="${CXX}" CFLAGS="${CXXFLAGS} -c" \
        INSTALL_PROGRAM="${INSTALL_DATA}" \
        INSTALL_BIN="${INSTALL_SCRIPT}"
PLIST_SUB=  VERSION="${PORTVERSION}"

MAN1=       epix.1

post-patch:
    @${REINPLACE_CMD} -e \
        's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/newbash.sh
    @${REINPLACE_CMD} -e 's|COPYING ||g' ${WRKSRC}/helpfiles.sh

pre-build:
    @(cd ${WRKSRC} ; ./newbash.sh)

.include <bsd.port.mk>