summaryrefslogtreecommitdiff
path: root/graphics/p5-OpenGL/Makefile
blob: 0cbfaab72217480a865ab7c7e376df7510801bc1 (plain)
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
# Created by: ijliao
# $FreeBSD$

PORTNAME=	OpenGL
PORTVERSION=	0.66
PORTREVISION=	3
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

MANUAL_PACKAGE_BUILD=	needs the X server it will be used with to build

CONFIGURE_ARGS=	interface=FREEGLUT
USES=		perl5 display:configure
USE_PERL5=	configure
USE_GL=		glut

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

.include <bsd.port.mk>