summaryrefslogtreecommitdiff
path: root/audio/SDL_mixer/Makefile
blob: 22d2b3349230d14993952524f85f4bf9175050b4 (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.8 2003/07/21 16:30:32 martti 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"