aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/p5-OpenGL/Makefile
blob: 9e717d0ec9198199b56a0c33252ee4543b720a12 (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
# ex:ts=8
# Ports collection makefile for:    p5-OpenGL
# Date created:         Jan 7, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   OpenGL
PORTVERSION=    0.54
PORTREVISION=   1
CATEGORIES= graphics perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../by-authors/id/I/IL/ILYAZ/modules
PKGNAMEPREFIX=  p5-

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

LIB_DEPENDS=    glut.4:${PORTSDIR}/graphics/libglut

PERL_CONFIGURE= yes

post-patch:
    @${PERL} -pi -e "s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g; s|/usr/X11R6|${X11BASE}|g" ${WRKSRC}/Makefile.PL

.include <bsd.port.mk>