0d2725682b
structure (i.e. include/SDL for includes and sdl-config for configuration binary) - Update graphics/sdl_ttf to version 2.0.8 - Update graphics/sdl_image to version 1.2.5 - Update audio/sdl_mixer to version 1.2.7 - Update net/sdl_net to version 1.2.6 - Update Mk/bsd.sdl.mk accordingly - Fix dependent ports to fit the new directory structure and avoid several API breakages - Bump up portrevisions for all dependent ports to allow them to be upgraded by portupgrade/portmaster etc tools Approved by: kris (portmgr), sem (mentor)
50 lines
1.2 KiB
Makefile
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.7
|
|
PORTREVISION= 0
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://www.libsdl.org/projects/SDL_mixer/release/
|
|
DISTNAME= SDL_mixer-${PORTVERSION}
|
|
|
|
MAINTAINER= shaun@FreeBSD.org
|
|
COMMENT= A sample multi-channel audio mixer library
|
|
|
|
USE_SDL= sdl
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
|
USE_LDCONFIG= 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>
|