# $NetBSD: Makefile,v 1.33 2005/02/23 03:28:49 minskim Exp $ DISTNAME= libmikmod-3.1.11 PKGNAME= libmikmod-3.1.11.1 PKGREVISION= 1 CATEGORIES= audio MASTER_SITES= http://mikmod.raphnet.net/files/ PATCHFILES= libmikmod-3.1.11-a.diff PATCH_SITES= ${MASTER_SITES} PATCH_DIST_STRIP= -p1 MAINTAINER= kuebart@mathematik.uni-ulm.de HOMEPAGE= http://mikmod.raphnet.net/ COMMENT= MikMod Sound Library PKG_INSTALLATION_TYPES= overwrite pkgviews USE_GNU_TOOLS+= make GNU_CONFIGURE= # defined USE_LIBTOOL= # defined USE_BUILDLINK3= yes USE_MAKEINFO= yes INFO_FILES= mikmod.info 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"