summaryrefslogtreecommitdiff
path: root/audio/libmikmod/Makefile
blob: c5f965b8bee1c34890c5d738d3db59186051ebb4 (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
34
35
36
37
38
# $NetBSD: Makefile,v 1.28 2004/02/14 17:21:33 jlam Exp $

DISTNAME=		libmikmod_3.1.10
PKGNAME=		libmikmod-3.1.10
CATEGORIES=		audio
MASTER_SITES=		http://mikmod.raphnet.net/files/

MAINTAINER=		kuebart@mathematik.uni-ulm.de
HOMEPAGE=		http://mikmod.raphnet.net/
COMMENT=		MikMod Sound Library

USE_GNU_TOOLS+=		make
GNU_CONFIGURE=		# defined
USE_LIBTOOL=		# defined
USE_BUILDLINK3=		# defined
USE_MAKEINFO=		YES
INFO_FILES=		mikmod.info

WRKSRC=			${WRKDIR}/${PKGNAME}
CONFIGURE_ARGS+=	--disable-threads

.include "../../mk/bsd.prefs.mk"

BUILD_DEFS+=		USE_ESOUND
.if defined(USE_ESOUND) && !empty(USE_ESOUND:M[Yy][Ee][Ss])
.include "../../audio/esound/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--disable-esd
.endif

pre-build:
	${RM} -f ${WRKSRC}/docs/mikmod.info*

.if defined(USE_OSS)
.  include "../../mk/ossaudio.buildlink3.mk"
.endif

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