pkgsrc/audio/SDL_mixer/Makefile
wiz aeb71ee0a7 Update to 1.2.11
1.2.11:
Sam Lantinga - Sat Nov 14 12:38:01 PST 2009
 * Fixed initialization error and crashes if MikMod library isn't available
Sam Lantinga - Sat Nov 14 11:22:14 PST 2009
 * Fixed bug loading multiple music files

1.2.10:
Sam Lantinga - Sun Nov  8 08:34:48 PST 2009
 * Added Mix_Init()/Mix_Quit() to prevent constantly loading and unloading DLLs
Mike Frysinger - 2009-11-05 09:11:43 PST
 * Check for fork/vfork on any platform, don't just assume it on UNIX
Jon Atkins - Thu Nov 5 00:02:50 2009 UTC
 * Fixed export of Mix_GetNumChunkDecoders() and Mix_GetNumMusicDecoders()
C.W. Betts - 2009-11-02 00:16:21 PST
 * Use newer MIDI API on Mac OS X 10.5+
2009-11-15 21:05:40 +00:00

44 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.38 2009/11/15 21:05:40 wiz Exp $
DISTNAME= SDL_mixer-1.2.11
CATEGORIES= audio
MASTER_SITES= http://www.libsdl.org/projects/SDL_mixer/release/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.libsdl.org/projects/SDL_mixer/
COMMENT= Multi-channel audio mixer library
LICENSE= gnu-lgpl-v2.1
PKG_DESTDIR_SUPPORT= user-destdir
CONFLICTS= SDL-mixer-[0-9]*
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LIBTOOL= yes
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE= SDL_mixer.pc.in
.include "../../mk/bsd.prefs.mk"
CPPFLAGS+= -Dunix=1
CFLAGS+= -DSYSCONFDIR="\"${PKG_SYSCONFDIR}\""
INSTALLATION_DIRS= bin
post-install:
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
${WRKSRC}/build/playmus ${DESTDIR:Q}${PREFIX:Q}/bin
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
${WRKSRC}/build/playwave ${DESTDIR:Q}${PREFIX:Q}/bin
BUILDLINK_API_DEPENDS.SDL+= SDL>=1.2.10
.include "../../audio/flac/buildlink3.mk"
.include "../../audio/libmikmod/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../multimedia/libogg/buildlink3.mk"
.include "../../multimedia/smpeg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"