pkgsrc/audio/openal/Makefile
obache 87b477fade Replace default sound device file with ${DEVOSSSOUND}.
Fixes PR 39151.

Bump PKGREVISION.
2008-07-18 13:43:26 +00:00

32 lines
836 B
Makefile

# $NetBSD: Makefile,v 1.23 2008/07/18 13:43:26 obache Exp $
DISTNAME= openal-0.0.8
PKGREVISION= 3
CATEGORIES= audio
MASTER_SITES= http://www.openal.org/openal_webstf/downloads/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.openal.org/
COMMENT= 3D positional spatialized sound library
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake makeinfo
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
PTHREAD_AUTO_VARS= yes
INFO_FILES= # PLIST
INSTALLATION_DIRS= ${PKGINFODIR} include/AL
PKGCONFIG_OVERRIDE= admin/pkgconfig/openal.pc.in
LIBS+= ${LIBOSSAUDIO}
SUBST_CLASSES+= fixdev
SUBST_STAGE.fixdev= post-configure
SUBST_FILES.fixdev= src/backends/alc_backend_bsd.c
SUBST_SED.fixdev= -e 's;/dev/dsp;${DEVOSSSOUND};g'
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"