summaryrefslogtreecommitdiff
path: root/audio/SDL_mixer/Makefile
blob: 177ed3ac1edee192e610cde38fffbe0912adb1ff (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
33
# $NetBSD: Makefile,v 1.7 2003/07/17 21:21:52 grant Exp $
#

DISTNAME=		SDL_mixer-1.2.5
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]*

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"