aboutsummaryrefslogtreecommitdiff
path: root/graphics/p5-OpenGL/Makefile
blob: 04b1ff4daa7cd001b1b9d83bf419275e98926b32 (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:	p5-OpenGL
# Created by: ijliao
# $FreeBSD$

PORTNAME=	OpenGL
PORTVERSION=	0.66
PORTREVISION=	1
CATEGORIES=	graphics perl5
MASTER_SITES=	CPAN
MASTER_SITE_SUBDIR=	CPAN:CHM
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Perl module to display 3D data using OpenGL, GLU, GLUT, and GLX

USE_DISPLAY=	requires an X server for configure stage

MANUAL_PACKAGE_BUILD=	fails to start X server on pointyhat

CONFIGURE_ARGS=	interface=GLUT
USES=		perl5
USE_PERL5=	configure
USE_DISPLAY=	yes
USE_GL=		glut

MAN3=		Array.3 \
		OpenGL.3 \
		Tessellation.3

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Makefile.PL

.include <bsd.port.mk>