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