- Add staging support

- Convert to new LIB_DEPENDS format, USES=tar:bzip2
- Use options helpers
This commit is contained in:
Pawel Pekala 2014-04-28 18:19:57 +00:00
parent ad97d9a774
commit 70d1f485a4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352537
2 changed files with 36 additions and 24 deletions

View File

@ -11,39 +11,28 @@ DISTNAME= rss-glx_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= OpenGL screensaver collection
LIB_DEPENDS= MagickWand:${PORTSDIR}/graphics/ImageMagick \
GLC.0:${PORTSDIR}/graphics/quesoglc
LIB_DEPENDS= libMagickWand.so:${PORTSDIR}/graphics/ImageMagick \
libGLC.so:${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 gmake
USES= gmake pathfix tar:bzip2
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 -lXext
NO_STAGE= yes
OPTIONS_DEFINE= FREEALUT GLEW
FREEALUT_DESC= Enable freealut support
FREEALUT_CONFIGURE_ENABLE= sound
FREEALUT_USES= openal:alut
GLEW_DESC= Enable GLEW support
GLEW_USE= GL=glew
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MFREEALUT}
USES+= openal:alut
.else
CONFIGURE_ARGS+= --disable-sound
.endif
.if ${PORT_OPTIONS:MGLEW}
USE_GL+= glew
.else
.if ! ${PORT_OPTIONS:MGLEW}
CONFIGURE_ENV+= ac_cv_header_GL_glew_h=no
.endif

View File

@ -28,3 +28,26 @@ lib/libPixelCity.a
lib/libPixelCity.la
lib/librsMath.a
lib/librsMath.la
man/man1/biof.1.gz
man/man1/busyspheres.1.gz
man/man1/colorfire.1.gz
man/man1/cyclone.1.gz
man/man1/drempels.1.gz
man/man1/euphoria.1.gz
man/man1/feedback.1.gz
man/man1/fieldlines.1.gz
man/man1/flocks.1.gz
man/man1/flux.1.gz
man/man1/helios.1.gz
man/man1/hufo_smoke.1.gz
man/man1/hufo_tunnel.1.gz
man/man1/hyperspace.1.gz
man/man1/lattice.1.gz
man/man1/lorenz.1.gz
man/man1/matrixview.1.gz
man/man1/pixelcity.1.gz
man/man1/plasma.1.gz
man/man1/skyrocket.1.gz
man/man1/solarwinds.1.gz
man/man1/spirographx.1.gz
man/man1/sundancer2.1.gz