diff options
author | bapt <bapt@FreeBSD.org> | 2012-06-13 05:42:32 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-06-13 05:42:32 +0800 |
commit | f5eba1acd02cb57a7650fe6c33b912240f6ab8ab (patch) | |
tree | 785d921da1883d2c1df77c5add82a844e2ae090b /graphics/reallyslick | |
parent | eb2a7f0a6ba691b8505dc2684f14abff26a76009 (diff) | |
download | freebsd-ports-gnome-f5eba1acd02cb57a7650fe6c33b912240f6ab8ab.tar.gz freebsd-ports-gnome-f5eba1acd02cb57a7650fe6c33b912240f6ab8ab.tar.zst freebsd-ports-gnome-f5eba1acd02cb57a7650fe6c33b912240f6ab8ab.zip |
Conver to new options framework
Diffstat (limited to 'graphics/reallyslick')
-rw-r--r-- | graphics/reallyslick/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/graphics/reallyslick/Makefile b/graphics/reallyslick/Makefile index 978345a3b3ef..0dbf51b52d8c 100644 --- a/graphics/reallyslick/Makefile +++ b/graphics/reallyslick/Makefile @@ -18,8 +18,9 @@ COMMENT= OpenGL screensaver collection LIB_DEPENDS= MagickWand.5:${PORTSDIR}/graphics/ImageMagick \ GLC.0:${PORTSDIR}/graphics/quesoglc -OPTIONS= FREEALUT "Enable freealut support" off \ - GLEW "Enable GLEW support" off +OPTIONS_DEFINE= FREEALUT GLEW +FREEALUT_DESC= Enable freealut support +GLEW_DESC= Enable GLEW support USE_BZIP2= yes USE_GL= glut @@ -36,18 +37,18 @@ MAN1= biof.1 busyspheres.1 colorfire.1 cyclone.1 drempels.1 \ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_FREEALUT) +.if ${PORT_OPTIONS:MFREEALUT} USE_OPENAL= alut .else CONFIGURE_ARGS+= --disable-sound .endif -.if defined(WITH_GLEW) +.if ${PORT_OPTIONS:MGLEW} USE_GL+= glew .else CONFIGURE_ENV+= ac_cv_header_GL_glew_h=no .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |