34 lines
877 B
Makefile
34 lines
877 B
Makefile
# $NetBSD: Makefile,v 1.21 2005/04/11 21:44:51 tv Exp $
|
|
|
|
DISTNAME= SDL_mixer-1.2.6
|
|
PKGREVISION= 1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://www.libsdl.org/projects/SDL_mixer/release/
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.libsdl.org/projects/SDL_mixer/
|
|
COMMENT= Multi-channel audio mixer library
|
|
|
|
CONFLICTS= SDL-mixer-[0-9]*
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
USE_LIBTOOL= YES
|
|
USE_X11= YES
|
|
GNU_CONFIGURE= YES
|
|
CONFIGURE_ARGS+= --enable-music-ogg
|
|
|
|
CPPFLAGS= -Dunix=1
|
|
CFLAGS= -DPREFIX="\"${PREFIX}\""
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
post-install:
|
|
${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/playmus ${PREFIX}/bin
|
|
${LIBTOOL} ${INSTALL_PROGRAM} ${WRKSRC}/playwave ${PREFIX}/bin
|
|
|
|
.include "../../audio/libvorbis/buildlink3.mk"
|
|
.include "../../multimedia/libogg/buildlink3.mk"
|
|
.include "../../multimedia/smpeg/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|