2012-10-09 01:09:06 +02:00
|
|
|
# $NetBSD: Makefile,v 1.48 2012/10/08 23:09:06 adam Exp $
|
2003-04-03 10:17:21 +02:00
|
|
|
|
2012-01-28 14:46:15 +01:00
|
|
|
DISTNAME= SDL_mixer-1.2.12
|
2012-09-15 12:03:29 +02:00
|
|
|
PKGREVISION= 5
|
2005-01-05 13:20:37 +01:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= http://www.libsdl.org/projects/SDL_mixer/release/
|
2003-04-03 10:17:21 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2005-01-05 13:20:37 +01:00
|
|
|
HOMEPAGE= http://www.libsdl.org/projects/SDL_mixer/
|
|
|
|
COMMENT= Multi-channel audio mixer library
|
2012-01-28 14:46:15 +01:00
|
|
|
LICENSE= zlib
|
2003-04-03 10:17:21 +02:00
|
|
|
|
2003-04-05 21:04:38 +02:00
|
|
|
CONFLICTS= SDL-mixer-[0-9]*
|
|
|
|
|
2004-01-05 23:44:04 +01:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2006-07-07 08:52:46 +02:00
|
|
|
USE_LIBTOOL= yes
|
2009-10-31 01:16:40 +01:00
|
|
|
USE_TOOLS+= gmake
|
2006-07-07 08:52:46 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2009-10-31 01:16:40 +01:00
|
|
|
PKGCONFIG_OVERRIDE= SDL_mixer.pc.in
|
2004-07-14 15:16:30 +02:00
|
|
|
|
2005-10-23 20:30:52 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
CPPFLAGS+= -Dunix=1
|
|
|
|
CFLAGS+= -DSYSCONFDIR="\"${PKG_SYSCONFDIR}\""
|
2003-04-03 10:17:21 +02:00
|
|
|
|
2004-01-05 23:44:04 +01:00
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
|
2003-05-11 04:23:18 +02:00
|
|
|
post-install:
|
2006-07-07 08:52:46 +02:00
|
|
|
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
|
2012-10-09 01:09:06 +02:00
|
|
|
${WRKSRC}/build/playmus ${DESTDIR}${PREFIX}/bin
|
2006-07-07 08:52:46 +02:00
|
|
|
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
|
2012-10-09 01:09:06 +02:00
|
|
|
${WRKSRC}/build/playwave ${DESTDIR}${PREFIX}/bin
|
2003-04-03 10:17:21 +02:00
|
|
|
|
2006-07-07 17:07:38 +02:00
|
|
|
BUILDLINK_API_DEPENDS.SDL+= SDL>=1.2.10
|
|
|
|
|
2009-10-31 01:16:40 +01:00
|
|
|
.include "../../audio/flac/buildlink3.mk"
|
2012-01-28 14:46:15 +01:00
|
|
|
# needs fluid_player_add_mem support, which is not yet
|
|
|
|
# mainstream, it seems (at least in fluidsynth 1.1.5)
|
|
|
|
# (patchset is from 2010)
|
|
|
|
#.include "../../audio/fluidsynth/buildlink3.mk"
|
2009-10-31 01:16:40 +01:00
|
|
|
.include "../../audio/libmikmod/buildlink3.mk"
|
2004-07-14 15:16:30 +02:00
|
|
|
.include "../../audio/libvorbis/buildlink3.mk"
|
2006-07-07 17:07:38 +02:00
|
|
|
.include "../../devel/SDL/buildlink3.mk"
|
2004-04-13 01:15:01 +02:00
|
|
|
.include "../../multimedia/libogg/buildlink3.mk"
|
2004-06-26 11:16:10 +02:00
|
|
|
.include "../../multimedia/smpeg/buildlink3.mk"
|
2003-04-03 10:17:21 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|