[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / audio / celt

File: [cvs.NetBSD.org] / pkgsrc / audio / celt / Makefile (download)

Revision 1.4, Sat Apr 20 13:59:07 2019 UTC (7 months, 3 weeks ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, HEAD
Changes since 1.3: +2 -2 lines

audio/celt: fix OPSYS name from Solaris to SunOS

# $NetBSD: Makefile,v 1.4 2019/04/20 13:59:07 rillig Exp $
#

DISTNAME=	celt-0.11.3
CATEGORIES=	audio
MASTER_SITES=	http://downloads.us.xiph.org/releases/celt/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://downloads.us.xiph.org/releases/celt/
COMMENT=	Ultra-low-delay, high-quality audio codec (experimental)
LICENSE=	2-clause-bsd

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_TOOLS+=	pkg-config

PKGCONFIG_OVERRIDE+=	celt.pc.in

.include "../../mk/bsd.prefs.mk"
.include "../../mk/oss.buildlink3.mk"

.if ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "SunOS"
###
### XXX Remove this definition if DEVSUNAUDIO is placed in default mk.conf.
###
DEVSUNAUDIO?=		/dev/audio
BUILD_DEFS+=		DEVSUNAUDIO
CFLAGS+=		-DDEVSUNAUDIO=\"${DEVSUNAUDIO:U/dev/audio}\"
.elif ${OSS_TYPE} != "none"
MAKE_ENV+=		LIBOSSAUDIO=${LIBOSSAUDIO:Q}
CFLAGS+=		-DDEVOSSAUDIO=\"${DEVOSSAUDIO:U/dev/dsp}\"
.endif

.include "options.mk"

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