freebsd-ports/audio/sdl_mixer/Makefile
Ade Lovett 54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +00:00

50 lines
1.2 KiB
Makefile

# New ports collection makefile for: sdl_mixer
# Date created: 24 April 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= sdl_mixer
PORTVERSION= 1.2.6
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://www.libsdl.org/projects/SDL_mixer/release/
DISTNAME= SDL_mixer-${PORTVERSION}
MAINTAINER= krion@FreeBSD.org
COMMENT= A sample multi-channel audio mixer library
USE_SDL= sdl
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
INSTALLS_SHLIB= yes
OPTIONS= MIKMOD "Enable MOD music via libMikMod" on \
VORBIS "Enable Ogg Vorbis music" on \
SMPEG "Enable MP3 music via SMPEG" on
.include <bsd.port.pre.mk>
.if defined(WITHOUT_MIKMOD)
CONFIGURE_ARGS+= --disable-music-libmikmod
.else
LIB_DEPENDS= mikmod.2:${PORTSDIR}/audio/libmikmod
.endif
.if defined(WITHOUT_VORBIS)
CONFIGURE_ARGS+= --disable-music-ogg
.else
LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis
.endif
.if defined(WITHOUT_SMPEG)
CONFIGURE_ARGS+= --disable-music-mp3
.else
LIB_DEPENDS+= smpeg.1:${PORTSDIR}/multimedia/smpeg
.endif
.include <bsd.port.post.mk>