aboutsummaryrefslogtreecommitdiffstats
path: root/math/glgraph/Makefile
blob: 3bea64ccb31a80f96cc5c35ea3951e88795b0172 (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
# Created by: 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=    p5-OpenGL>=0:${PORTSDIR}/graphics/p5-OpenGL \
        import:${PORTSDIR}/graphics/ImageMagick

USES=       perl5
USE_BZIP2=  yes
USE_PERL5=  run
NO_BUILD=   yes
WRKSRC=     ${WRKDIR}/${PORTNAME}

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

.include <bsd.port.mk>