# New ports collection makefile for:	xppaut
# Date created:		3 September 2004
# Whom:			Stephen Montgomery-Smith <stephen@math.missouri.edu>
#
# $FreeBSD: ports/math/xppaut/Makefile,v 1.1 2004/12/06 23:08:46 thierry Exp $
#

PORTNAME=	xppaut
PORTVERSION=	5.85
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

WRKSRC=		${WRKDIR}

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

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

.include <bsd.port.mk>
