freebsd-ports/audio/vorbis-tools/Makefile
Christian Weisgerber dcf17d14a7 */*: Add a backup master site to all Xiph.org ports
The downloads.xiph.org master site requires TLS1.3, which is not
supported by FreeBSD 11's OpenSSL and fetch(1).  Add ftp.osuosl.org
as a backup to all Xiph.org ports.

PR:		256515
Reported by:	Daniel Engberg
2021-06-10 15:48:47 +02:00

43 lines
1 KiB
Makefile

# Created by: t.vanklaveren@student.utwente.nl
PORTNAME= vorbis-tools
PORTVERSION= 1.4.2
PORTEPOCH= 3
CATEGORIES= audio
MASTER_SITES= https://downloads.xiph.org/releases/vorbis/ \
https://ftp.osuosl.org/pub/xiph/releases/vorbis/
MAINTAINER= naddy@FreeBSD.org
COMMENT= Play, encode, and manage Ogg Vorbis files
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libao.so:audio/libao \
libcurl.so:ftp/curl \
libFLAC.so:audio/flac \
libkate.so:multimedia/libkate \
libogg.so:audio/libogg \
libopusfile.so:audio/opusfile \
libspeex.so:audio/speex \
libvorbis.so:audio/libvorbis
USES= cpe iconv pkgconfig
CPE_VENDOR= xiph
GNU_CONFIGURE= yes
CONFIGURE_ENV= PTHREAD_LIBS="-lpthread"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/vorbis-tools
${INSTALL_DATA} ${WRKSRC}/ogg123/ogg123rc-example \
${STAGEDIR}${PREFIX}/share/examples/vorbis-tools/ogg123rc
.include <bsd.port.mk>