openbsd-ports/audio/esound/Makefile

56 lines
1.3 KiB
Makefile
Raw Normal View History

# $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 $
COMMENT= sound library for Enlightenment
2001-03-25 12:40:16 -05:00
DISTNAME= esound-0.2.41
PKGNAME= ${DISTNAME}v0
SHARED_LIBS += esd 2.40 # .2.38
1999-03-22 00:03:31 -05:00
CATEGORIES= audio
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
# 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
WANTLIB= c m sndio wrap
2000-02-12 03:02:07 -05:00
FLAVORS= arts
FLAVOR?=
2005-12-23 11:57:16 -05:00
USE_LIBTOOL= Yes
SEPARATE_BUILD= concurrent
AUTOCONF_VERSION=2.61
2001-12-31 04:41:46 -05:00
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--disable-alsa \
--disable-oss \
--with-libwrap
# broken, relies upon v4-mapped addresses
CONFIGURE_ARGS+= --disable-ipv6
1999-03-22 00:03:31 -05: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
post-extract:
@cp -f ${FILESDIR}/audio_sndio.c ${WRKSRC}
pre-configure:
${SUBST_CMD} ${WRKSRC}/test-script
1999-03-22 00:03:31 -05:00
.include <bsd.port.mk>