2008-12-20 03:58:32 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.45 2008/12/20 08:58:32 jakemsr Exp $
|
1999-03-22 00:03:31 -05:00
|
|
|
# $FreeBSD: Makefile,v 1.8 1999/03/09 01:08:46 nectar Exp $
|
|
|
|
|
2007-09-15 17:26:00 -04:00
|
|
|
COMMENT= sound library for Enlightenment
|
2001-03-25 12:40:16 -05:00
|
|
|
|
2008-12-20 03:58:32 -05:00
|
|
|
DISTNAME= esound-0.2.41
|
2008-03-30 21:05:54 -04:00
|
|
|
PKGNAME= ${DISTNAME}v0
|
|
|
|
SHARED_LIBS += esd 2.40 # .2.38
|
1999-03-22 00:03:31 -05:00
|
|
|
CATEGORIES= audio
|
2002-11-20 21:33:59 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/esound/0.2/}
|
1999-03-22 00:03:31 -05:00
|
|
|
|
2000-12-17 20:19:58 -05:00
|
|
|
HOMEPAGE= http://www.tux.org/~ricdude/EsounD.html
|
|
|
|
|
2001-07-22 18:49:47 -04:00
|
|
|
LIB_DEPENDS= audiofile::devel/libaudiofile
|
2000-08-06 04:21:33 -04:00
|
|
|
|
2004-06-26 00:38:33 -04:00
|
|
|
# GPL/LGPL
|
2000-03-30 17:40:32 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2008-12-20 03:58:32 -05:00
|
|
|
WANTLIB= c m sndio wrap
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2008-03-30 21:05:54 -04:00
|
|
|
FLAVORS= arts
|
|
|
|
FLAVOR?=
|
|
|
|
|
2005-12-23 11:57:16 -05:00
|
|
|
USE_LIBTOOL= Yes
|
1999-06-14 14:09:26 -04:00
|
|
|
SEPARATE_BUILD= concurrent
|
2008-03-30 21:05:54 -04:00
|
|
|
AUTOCONF_VERSION=2.61
|
2001-12-31 04:41:46 -05:00
|
|
|
CONFIGURE_STYLE= autoconf
|
2008-03-30 21:05:54 -04:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--disable-alsa \
|
|
|
|
--disable-oss \
|
|
|
|
--with-libwrap
|
2004-06-26 00:38:33 -04:00
|
|
|
# broken, relies upon v4-mapped addresses
|
|
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
1999-03-22 00:03:31 -05:00
|
|
|
|
2008-03-30 21:05:54 -04:00
|
|
|
.if ${FLAVOR:L:Marts}
|
|
|
|
CONFIGURE_ARGS+=--enable-arts
|
|
|
|
MODULES+= devel/gettext
|
|
|
|
LIB_DEPENDS+= artsc::x11/kde/arts3
|
|
|
|
WANTLIB+= glib-2.0 gthread-2.0 gmodule-2.0 pcre pthread stdc++
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-arts
|
|
|
|
.endif
|
|
|
|
|
|
|
|
FAKE_FLAGS= DESTDIR=${WRKINST} \
|
|
|
|
esdconfdir=${PREFIX}/share/examples/esound
|
|
|
|
|
2001-08-04 01:03:19 -04:00
|
|
|
post-extract:
|
2008-12-20 03:58:32 -05:00
|
|
|
@cp -f ${FILESDIR}/audio_sndio.c ${WRKSRC}
|
2001-08-04 01:03:19 -04:00
|
|
|
|
2008-03-30 21:05:54 -04:00
|
|
|
pre-configure:
|
2008-12-20 03:58:32 -05:00
|
|
|
${SUBST_CMD} ${WRKSRC}/test-script
|
2008-03-30 21:05:54 -04:00
|
|
|
|
1999-03-22 00:03:31 -05:00
|
|
|
.include <bsd.port.mk>
|