1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/audio/flac/Makefile
Christian Weisgerber b8c79b4c27 audio/flac: update to 1.3.4
This release mostly fixes (security related) bugs.

MFH:		2022Q1
Security:	e1440c6-95af-11ec-b320-f8b156b6dcc8
2022-02-24 22:05:00 +01:00

52 lines
1.1 KiB
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
PORTNAME= flac
PORTVERSION= 1.3.4
CATEGORIES= audio
MASTER_SITES= https://downloads.xiph.org/releases/flac/ \
https://ftp.osuosl.org/pub/xiph/releases/flac/
MAINTAINER= naddy@FreeBSD.org
COMMENT= Free lossless audio codec
LICENSE= BSD3CLAUSE GFDL GPLv2 LGPL21
LICENSE_COMB= multi
LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/COPYING.Xiph
LICENSE_FILE_GFDL= ${WRKSRC}/COPYING.FDL
LIB_DEPENDS= libogg.so:audio/libogg
USES= compiler:c11 cpe iconv libtool pathfix pkgconfig tar:xz
CPE_VENDOR= flac_project
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-static \
--disable-sse \
--with-ogg="${LOCALBASE}" \
--disable-doxygen-docs \
--disable-thorough-tests \
--disable-xmms-plugin
INSTALL_TARGET= install-strip
TEST_TARGET= check
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${ARCH} == "i386"
BUILD_DEPENDS+= nasm:devel/nasm
.endif
.if ${ARCH} != powerpc64le
CONFIGURE_ARGS+=--disable-vsx
.endif
post-install:
${REINPLACE_CMD} 's:%%PREFIX%%:${PREFIX}:' \
${STAGEDIR}${PREFIX}/man/man1/flac.1
${RM} ${STAGEDIR}${PREFIX}/man/man1/flac.1.bak
.include <bsd.port.mk>