1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/audio/libao/Makefile
Bernhard Froehlich 95490babf8
audio/libao: Add CPE information
Approved by:	portmgr (blanket)
2021-08-29 11:49:16 +00:00

46 lines
1.0 KiB
Makefile

# Created by: t.vanklaveren@student.utwente.nl
PORTNAME= libao
PORTVERSION= 1.2.0
PORTREVISION= 5
CATEGORIES= audio
MASTER_SITES= https://downloads.xiph.org/releases/ao/ \
https://ftp.osuosl.org/pub/xiph/releases/ao/
MAINTAINER= naddy@FreeBSD.org
COMMENT= Portable audio output library
LICENSE= GPLv2
USES= cpe libtool pathfix pkgconfig
CPE_VENDOR= xiph
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>