aboutsummaryrefslogtreecommitdiff
path: root/graphics/reallyslick/Makefile
blob: 5de27c7d61478fb867d4d8ac2135f437f24f1728 (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
35
36
37
38
39
# Created by: David Yeske <dyeske@gmail.com>
# $FreeBSD$

PORTNAME=	reallyslick
PORTVERSION=	0.9.1
PORTREVISION=	12
CATEGORIES=	graphics
MASTER_SITES=	SF/rss-glx/rss-glx/${PORTVERSION}
DISTNAME=	rss-glx_${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	OpenGL screensaver collection

LIB_DEPENDS=	libMagickWand-6.Q*.so:${PORTSDIR}/graphics/ImageMagick \
		libGLC.so:${PORTSDIR}/graphics/quesoglc

USE_GL=		glut
USES=		gmake pathfix pkgconfig tar:bzip2 libtool
GNU_CONFIGURE=	yes

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib -lXext

OPTIONS_DEFINE=	FREEALUT GLEW

FREEALUT_DESC=	Enable freealut support
FREEALUT_CONFIGURE_ENABLE=	sound
FREEALUT_USES=	openal:alut

GLEW_DESC=	Enable GLEW support
GLEW_USE=	GL=glew

.include <bsd.port.options.mk>

.if ! ${PORT_OPTIONS:MGLEW}
CONFIGURE_ENV+=	ac_cv_header_GL_glew_h=no
.endif

.include <bsd.port.mk>