freebsd-ports/audio/fmit/Makefile
Koop Mast 5aa7246575 Switch from libglut to freeglut and retire libglut. Libglut hasn't been
developed in years and has been dropped from the MESA 8.0 distribution.
Freeglut is a rewrite of glut and is actively developed and is used by
many linux distributions instead of libglut.

Bump all ports that directly depend on libglut because of the shlib version
change.

There are some extra items in this patch.

*) Because freeglut doesn't have the same dependancies as libglut, some ports
	need extra dependencies added to USE_XORG to make them build.
*) Mark graphics/f90gl broken, f90gl depends on a header that is only shipped
	with libglut.
*) Remove option for libglut/freeglut selection in games/cake, only freeglut
	remains now.
*) While here fix a png related build issue games/vegastrike.

Thanks to miwi for running the exp-run.

Approved by:	portmgr (miwi)

Collaboration with:	zeising@
Obtained from:	xorg-dev staging area.
2012-08-04 22:52:02 +00:00

64 lines
1.5 KiB
Makefile

# New ports collection makefile for: fmit
# Date created: 2007-09-08
# Whom: Edward Tomasz Napierala <trasz@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= fmit
PORTVERSION= 0.99.2
PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= http://download.gna.org/fmit/
DISTNAME= ${PORTNAME}-${PORTVERSION}-Source
MAINTAINER= ports@FreeBSD.org
COMMENT= Free Music Instrument Tuner
LICENSE= GPLv2
LIB_DEPENDS= fftw3:${PORTSDIR}/math/fftw3
OPTIONS_DEFINE= OSS ALSA PORTAUDIO JACK
OPTIONS_DEFAULT= OSS JACK
USE_BZIP2= yes
USE_XORG= xmu
USE_QT4= corelib gui opengl \
linguist_build moc_build qmake_build rcc_build uic_build
USE_GL= glut
USE_CMAKE= yes
INSTALLS_ICONS= yes
MAKE_JOBS_SAFE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOSS}
CMAKE_ARGS+= -DSOUNDSYSTEM_USE_OSS:BOOL=true
.else
CMAKE_ARGS+= -DSOUNDSYSTEM_USE_OSS:BOOL=false
.endif
.if ${PORT_OPTIONS:MALSA}
LIB_DEPENDS+= asound.2:${PORTSDIR}/audio/alsa-lib
CMAKE_ARGS+= -DSOUNDSYSTEM_USE_ALSA:BOOL=true
.else
CMAKE_ARGS+= -DSOUNDSYSTEM_USE_ALSA:BOOL=false
.endif
.if ${PORT_OPTIONS:MPORTAUDIO}
BUILD_DEPENDS+= portaudio>=19:${PORTSDIR}/audio/portaudio2
RUN_DEPENDS+= portaudio>=19:${PORTSDIR}/audio/portaudio2
CMAKE_ARGS+= -DSOUNDSYSTEM_USE_PORTAUDIO:BOOL=true
.else
CMAKE_ARGS+= -DSOUNDSYSTEM_USE_PORTAUDIO:BOOL=false
.endif
.if ${PORT_OPTIONS:MJACK}
LIB_DEPENDS+= jack.0:${PORTSDIR}/audio/jack
CMAKE_ARGS+= -DSOUNDSYSTEM_USE_JACK:BOOL=true
.else
CMAKE_ARGS+= -DSOUNDSYSTEM_USE_JACK:BOOL=false
.endif
.include <bsd.port.mk>