summaryrefslogtreecommitdiff
path: root/math/xppaut/Makefile
blob: 57bc593647c8de1b1248699a179343bd735ba91b (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
# New ports collection makefile for:	xppaut
# Date created:		3 September 2004
# Whom:			Stephen Montgomery-Smith <stephen@math.missouri.edu>
#
# $FreeBSD$
#

PORTNAME=	xppaut
PORTVERSION=	5.91
CATEGORIES=	math graphics
MASTER_SITES=	http://www.math.pitt.edu/~bard/bardware/
DISTNAME=	${PORTNAME}${PORTVERSION}

MAINTAINER=	stephen@math.missouri.edu
COMMENT=	Graphical tool for solving differential equations, etc

MAN1=		xppaut.1
USE_X_PREFIX=	yes
USE_REINPLACE=	yes
MAKE_ARGS=	CC="${CC}"

WRKSRC=		${WRKDIR}

post-build:
	${CHMOD} a+r ${WRKSRC}/xppaut.1

pre-configure:
.if !defined(NOPORTDOCS)
	@${REINPLACE_CMD} -e "s|# PORTDOCS||" ${WRKSRC}/Makefile
.endif

post-patch:
	@(cd ${WRKSRC} && ${REINPLACE_CMD} -e "s|gcc|${CC}|" Makefile libI77/Makefile cvodesrc/Makefile mkavi/Makefile)

.include <bsd.port.mk>