1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/audio/libao/Makefile
Christian Weisgerber 10cd037d6a Update to 1.2.0. No user-visible changes.
Switch to USES=libtool:keepla.
2014-05-28 17:51:32 +00:00

38 lines
890 B
Makefile

# Created by: t.vanklaveren@student.utwente.nl
# $FreeBSD$
PORTNAME= libao
PORTVERSION= 1.2.0
CATEGORIES= audio
MASTER_SITES= http://downloads.xiph.org/releases/ao/
MAINTAINER= naddy@FreeBSD.org
COMMENT= Portable audio output library
USES= libtool:keepla pathfix pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-static \
--disable-arts
# do not install
MAKE_ARGS= ckport_DATA=""
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>