summaryrefslogtreecommitdiff
path: root/audio/SDL_mixer/Makefile
blob: a90dcf5a56e5c17024ed872eb9172648bd1ade0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $NetBSD: Makefile,v 1.4 2003/05/11 02:23:18 salo Exp $
#

DISTNAME=		SDL_mixer-1.2.5
CATEGORIES=		audio
MASTER_SITES=		http://www.libsdl.org/projects/SDL_mixer/release/

MAINTAINER=		packages@netbsd.org
HOMEPAGE=		http://www.libsdl.org/projects/SDL_mixer/
COMMENT=		multi-channel audio mixer library

CONFLICTS=		SDL-mixer-[0-9]*

USE_BUILDLINK2=		YES
GNU_CONFIGURE=		YES
USE_X11=		YES
USE_LIBTOOL=		YES

LIBTOOL_OVERRIDE=	${WRKSRC}/libtool

CPPFLAGS=		-Dunix=1
CFLAGS=			-DPREFIX=\"\\\"${PREFIX}\\\"\"

post-install:
	${INSTALL_PROGRAM} ${WRKSRC}/.libs/playmus ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/.libs/playwave ${PREFIX}/bin

.include "../../audio/libogg/buildlink2.mk"
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../devel/smpeg/buildlink2.mk"

.include "../../mk/bsd.pkg.mk"