aboutsummaryrefslogtreecommitdiff
path: root/graphics/reallyslick/Makefile
blob: eceb6372afe65cd6f5f148cc503429123a86b2f5 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# New ports collection makefile for:	reallyslick
# Date created:				24 Nov 2002
# Whom:					David Yeske <dyeske@gmail.com>
#
# $FreeBSD$
#

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

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

LIB_DEPENDS=	MagickWand.2:${PORTSDIR}/graphics/ImageMagick \
		GLC.0:${PORTSDIR}/graphics/quesoglc

OPTIONS=	FREEALUT "Enable freealut support" off \
		GLEW "Enable GLEW support" off

USE_BZIP2=	yes
USE_GL=		glut
USE_GNOME=	gnomehack
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"

MAN1=		biof.1 busyspheres.1 colorfire.1 cyclone.1 drempels.1 \
		euphoria.1 feedback.1 fieldlines.1 flocks.1 flux.1 \
		helios.1 hufo_smoke.1 hufo_tunnel.1 hyperspace.1 lattice.1 \
		lorenz.1 matrixview.1 pixelcity.1 plasma.1 skyrocket.1 \
		solarwinds.1 spirographx.1 sundancer2.1

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

.include <bsd.port.pre.mk>

.if defined(WITH_FREEALUT)
USE_OPENAL=	alut
.else
CONFIGURE_ARGS+=	--disable-sound
.endif

.if defined(WITH_GLEW)
LIB_DEPENDS+=	GLEW.1:${PORTSDIR}/graphics/glew
.else
CONFIGURE_ENV+=	ac_cv_header_GL_glew_h=no
.endif

.include <bsd.port.post.mk>