freebsd-ports/graphics/p5-OpenGL/Makefile
Niclas Zeising be6c15b5c6 Add USES=xorg USES=gl, ports categories g
Add USES=xorg and USES=gl to ports in categories starting with 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-05 22:16:14 +00:00

28 lines
635 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= OpenGL
PORTVERSION= 0.66
PORTREVISION= 6
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
PORTSCOUT= limit:^[0-9\.]*$$
CONFIGURE_ARGS= interface=FREEGLUT
USES= gl perl5 display:configure xorg
USE_PERL5= configure
USE_GL= glut
USE_XORG= x11 xext xmu xi ice
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>