pkgsrc/audio/esound/Makefile

42 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.63 2006/08/26 15:25:26 joerg Exp $
DISTNAME= esound-0.2.36
PKGREVISION= 1
CATEGORIES= audio
2002-09-24 15:01:15 +02:00
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/esound/0.2/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= root@garbled.net
HOMEPAGE= http://www.tux.org/~ricdude/EsounD.html
COMMENT= The Enlightened sound daemon
2004-01-06 08:17:03 +01:00
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LIBTOOL= YES
PKGCONFIG_OVERRIDE= esound.pc.in
2002-02-17 22:55:43 +01:00
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
2002-02-17 22:55:43 +01:00
EGDIR= ${PREFIX}/share/examples/esound
CONF_FILES= ${EGDIR}/esd.conf ${PKG_SYSCONFDIR}/esd.conf
2005-06-08 15:20:04 +02:00
.include "options.mk"
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Interix"
# no sound output device, but can support a remote esound server
CONFIGURE_ARGS+= --disable-local-sound
.else
.include "../../mk/oss.buildlink3.mk"
MAKE_ENV+= AM_CPPFLAGS='-DDEV_DSP=\"${DEVOSSAUDIO}\"'
SUBST_CLASSES+= oss
SUBST_STAGE.oss= post-patch
SUBST_FILES.oss= configure
SUBST_SED.oss= -e 's,-lossaudio,${LIBOSSAUDIO},g'
SUBST_MESSAGE.oss= Fixing oss.
.endif
2004-01-06 08:17:03 +01:00
.include "../../audio/libaudiofile/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"