2004-02-14 19:26:26 +01:00
|
|
|
# $NetBSD: Makefile,v 1.48 2004/02/14 18:26:26 jmmv Exp $
|
1998-11-04 09:01:31 +01:00
|
|
|
|
2003-09-07 12:46:06 +02:00
|
|
|
DISTNAME= esound-0.2.32
|
2000-06-09 09:23:20 +02:00
|
|
|
CATEGORIES= audio
|
2002-09-24 15:01:15 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/esound/0.2/}
|
1998-11-04 09:01:31 +01:00
|
|
|
|
2000-06-09 09:23:20 +02:00
|
|
|
MAINTAINER= root@garbled.net
|
|
|
|
HOMEPAGE= http://www.tux.org/~ricdude/EsounD.html
|
2003-07-21 18:24:36 +02:00
|
|
|
COMMENT= The Enlightened sound daemon
|
1998-11-04 09:01:31 +01:00
|
|
|
|
2004-01-06 08:17:03 +01:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
|
|
|
USE_BUILDLINK3= YES
|
2003-01-28 23:03:00 +01:00
|
|
|
USE_PKGINSTALL= YES
|
2001-04-07 00:41:37 +02:00
|
|
|
USE_LIBTOOL= YES
|
2004-02-14 19:26:26 +01:00
|
|
|
PKGCONFIG_OVERRIDE= esound.pc.in
|
1998-11-04 09:01:31 +01:00
|
|
|
|
2002-02-17 22:55:43 +01:00
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
2002-10-03 14:21:29 +02:00
|
|
|
MAKE_ENV+= AM_CPPFLAGS='-DDEV_DSP=\"${DEVOSSAUDIO}\"'
|
2002-02-17 22:55:43 +01:00
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/esound
|
|
|
|
CONF_FILES= ${EGDIR}/esd.conf ${PKG_SYSCONFDIR}/esd.conf
|
|
|
|
|
2003-08-01 19:10:40 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])
|
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
|
|
.endif
|
|
|
|
|
2003-03-15 09:58:43 +01:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/esound
|
|
|
|
cd ${WRKSRC}/docs/html && \
|
2003-04-10 03:28:03 +02:00
|
|
|
${PAX} -rw -pp -pm . ${PREFIX}/share/doc/html/esound
|
2003-03-15 09:58:43 +01:00
|
|
|
|
2004-01-06 08:17:03 +01:00
|
|
|
.include "../../audio/libaudiofile/buildlink3.mk"
|
|
|
|
.include "../../mk/ossaudio.buildlink3.mk"
|
2002-08-25 20:38:05 +02:00
|
|
|
|
1998-11-04 09:01:31 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|