blob: 237a797c0343d7d0d275ec88a920c299526d95e2 (
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
41
|
# ex:ts=8
# Ports collection makefile for: epix
# Date created: Sep 5, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= epix
PORTVERSION= 0.8.10a
CATEGORIES= graphics
MASTER_SITES= http://mathcs.holycross.edu/~ahwang/software/
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/bash2
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash2 \
latex:${PORTSDIR}/print/teTeX
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/a//}
USE_BZIP2= yes
USE_REINPLACE= yes
MAKE_ARGS= CXX="${CXX}" CFLAGS="${CXXFLAGS} -c" \
INSTALL_PROGRAM="${INSTALL_DATA}" \
INSTALL_BIN="${INSTALL_SCRIPT}"
PLIST_SUB= VERSION="${PORTVERSION:S/a//}"
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>
|