# Created by: asami
# $FreeBSD: math/xgraph/Makefile 327746 2013-09-20 20:55:04Z bapt $

PORTNAME=	xgraph
PORTVERSION=	11.3.2.20000910
PORTREVISION=	2
CATEGORIES=	math print
MASTER_SITES=	ftp://ftp.cs.utoronto.ca/pub/radford/
DISTNAME=	xgraph-11
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	sanpei@FreeBSD.org
COMMENT=	Program that helps you plot graphs

USES=		imake
USE_XORG=	x11 xext
WRKSRC=		${WRKDIR}/${PORTNAME}
MAN1=		xgraph.1

NO_STAGE=	yes
post-install:
	@${MKDIR} ${PREFIX}/share/examples/xgraph
	${INSTALL_DATA} ${WRKSRC}/examples/*.xg ${PREFIX}/share/examples/xgraph

.include <bsd.port.mk>
