mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
95490babf8
Approved by: portmgr (blanket)
46 lines
1.0 KiB
Makefile
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>
|