1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/audio/libao/Makefile
Baptiste Daroussin ab0bb2410a First step at deorbitting esound:
remove esound options where it is possible to
2019-02-25 14:32:37 +00:00

45 lines
970 B
Makefile

# Created by: t.vanklaveren@student.utwente.nl
# $FreeBSD$
PORTNAME= libao
PORTVERSION= 1.2.0
PORTREVISION= 4
CATEGORIES= audio
MASTER_SITES= http://downloads.xiph.org/releases/ao/
MAINTAINER= naddy@FreeBSD.org
COMMENT= Portable audio output library
LICENSE= GPLv2
USES= libtool pathfix pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-static \
--disable-alsa \
--disable-arts \
--disable-esd
INSTALL_TARGET= install-strip
# do not install
MAKE_ARGS= ckport_DATA=""
OPTIONS_DEFINE= DOCS NAS PULSEAUDIO SNDIO
OPTIONS_SUB= yes
NAS_LIB_DEPENDS=libaudio.so:audio/nas
NAS_CONFIGURE_ENABLE= nas
PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:audio/pulseaudio
PULSEAUDIO_CONFIGURE_ENABLE= pulse
SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio
SNDIO_USES= localbase
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>