summaryrefslogtreecommitdiff
path: root/math/glgraph/Makefile
blob: fa1ab6679f2ac6d68809c5a4324123113e727557 (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
# ex:ts=8
# Ports collection makefile for:	glgraph
# Date created:			Jan 7, 2003
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	glgraph
PORTVERSION=	0.2.6
PORTREVISION=	7
CATEGORIES=	math
MASTER_SITES=	http://glgraph.kaosu.ch/downl/
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	An OpenGL based function grapher

RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/OpenGL.pm:${PORTSDIR}/graphics/p5-OpenGL \
		import:${PORTSDIR}/graphics/ImageMagick

USE_BZIP2=	yes
USE_PERL5_RUN=	yes
NO_BUILD=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}

do-install:
	@${INSTALL_SCRIPT} ${WRKSRC}/glgraph ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/documentation.html ${DOCSDIR}
.endif

.include <bsd.port.mk>