blob: d0ef3e39c57021743a01abc0d1f906a25817d4f6 (
plain)
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
|
# Created by: David Yeske <dyeske@gmail.com>
# $FreeBSD$
PORTNAME= reallyslick
PORTVERSION= 0.9.1
PORTREVISION= 22
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.so:graphics/ImageMagick6 \
libGLC.so:graphics/quesoglc
USES= compiler:c++11-lang gmake pathfix pkgconfig tar:bzip2 libtool
USE_GL= glut
GNU_CONFIGURE= yes
CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
CXXFLAGS_clang= -Wno-c++11-narrowing
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lXext
OPTIONS_DEFINE= FREEALUT GLEW
FREEALUT_DESC= Enable freealut support
FREEALUT_CONFIGURE_ENABLE= sound
FREEALUT_USES= openal:alut
FREEALUT_VARS= LLD_UNSAFE=yes # cf. PR 226980
GLEW_DESC= Enable GLEW support
GLEW_USE= GL=glew
GLEW_CONFIGURE_ENV_OFF= ac_cv_header_GL_glew_h=no
post-patch:
@${REINPLACE_CMD} '/LINK.*pixelcity/s/LINK/CXXLINK/' ${WRKSRC}/src/Makefile.in
.include <bsd.port.mk>
|