aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/reallyslick/Makefile
blob: 054dfe784b256dced1613b8cdae114b364e30ecc (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=   9
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:${PORTSDIR}/graphics/ImageMagick \
        GLC.0:${PORTSDIR}/graphics/quesoglc

OPTIONS_DEFINE= FREEALUT GLEW
FREEALUT_DESC=  Enable freealut support
GLEW_DESC=  Enable GLEW support

USE_BZIP2=  yes
USE_GL=     glut
USES=   pathfix
USE_GMAKE=  yes
GNU_CONFIGURE=  yes

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.options.mk>

.if ${PORT_OPTIONS:MFREEALUT}
USE_OPENAL= alut
.else
CONFIGURE_ARGS+=    --disable-sound
.endif

.if ${PORT_OPTIONS:MGLEW}
USE_GL+=    glew
.else
CONFIGURE_ENV+= ac_cv_header_GL_glew_h=no
.endif

.include <bsd.port.mk>