freebsd-ports/graphics/reallyslick/Makefile
Tobias C. Berner 45526ecbee framework: Add new USES 'magick' for graphics/ImageMagick*
A new USES has been added to depend on ImageMagick.

	USES=magick

adds a LIB_DEPENDS on graphics/ImageMagick${IMAGEMAGICK_DEFAULT}.

If a specific version is required, use for example

	USES=magick:6        resp.     USES=magick:7

If only a build, run or test is required, use for example

	USES=magick:build    resp.     USES=magick:6,build,test

If a dependency on the nox11 flavor is required, use for example

	USES=magick:nox11    resp.     USES=magick:7,nox11,run,test

See magick.mk for more details on the available flags.

The tree has been completely converted to make use of this.

Approved by:	bapt
Differential Revision: https://reviews.freebsd.org/D32754
2021-12-11 14:50:53 +01:00

39 lines
1,018 B
Makefile

# Created by: David Yeske <dyeske@gmail.com>
PORTNAME= reallyslick
PORTVERSION= 0.9.1
PORTREVISION= 23
CATEGORIES= graphics
MASTER_SITES= SF/rss-glx/rss-glx/${PORTVERSION}
DISTNAME= rss-glx_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= OpenGL screensaver collection
LIB_DEPENDS= libGLC.so:graphics/quesoglc
USES= compiler:c++11-lang gl gmake magick:6 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_LDFLAGS= ${_FREEALUT_LDFLAGS_${ARCH}}
_FREEALUT_LDFLAGS_i386= -Wl,-znotext
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>