pkgsrc/audio/SDL_mixer/Makefile

40 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.34 2007/05/19 22:08:28 heinz Exp $
DISTNAME= SDL_mixer-1.2.7
PKGREVISION= 1
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
PKG_DESTDIR_SUPPORT= user-destdir
CONFLICTS= SDL-mixer-[0-9]*
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
.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/libvorbis/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../multimedia/libogg/buildlink3.mk"
.include "../../multimedia/smpeg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"