1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/audio/libao/Makefile
Christian Weisgerber 8e56bacd23 Make use of opt_USE.
2013-10-04 12:32:26 +00:00

37 lines
851 B
Makefile

# Created by: t.vanklaveren@student.utwente.nl
# $FreeBSD$
PORTNAME= libao
PORTVERSION= 1.1.0
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://downloads.xiph.org/releases/ao/
MAINTAINER= naddy@FreeBSD.org
COMMENT= Portable audio output library
USES= pathfix pkgconfig
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-arts
OPTIONS_DEFINE= DOCS ESOUND NAS PULSEAUDIO
OPTIONS_SUB= yes
NAS_LIB_DEPENDS=libaudio.so:${PORTSDIR}/audio/nas
NAS_CONFIGURE_ENABLE= nas
PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:${PORTSDIR}/audio/pulseaudio
PULSEAUDIO_CONFIGURE_ENABLE= pulse
ESOUND_CONFIGURE_ENABLE=esd
ESOUND_USE= GNOME=esound
post-patch:
@${REINPLACE_CMD} -e 's|/etc/libao.conf|${PREFIX}&|' \
${WRKSRC}/libao.conf.5 ${WRKSRC}/include/ao/ao_private.h \
${WRKSRC}/doc/config.html
.include <bsd.port.mk>