# Created by: Ying-Chieh Liao # $FreeBSD: head/audio/flac/Makefile 510099 2019-08-28 20:21:44Z naddy $ PORTNAME= flac PORTVERSION= 1.3.3 CATEGORIES= audio MASTER_SITES= https://downloads.xiph.org/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= autoreconf compiler:c11 iconv libtool pathfix pkgconfig tar:xz USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-static \ --disable-sse \ --disable-vsx \ --with-ogg="${LOCALBASE}" \ --disable-doxygen-docs \ --disable-thorough-tests \ --disable-xmms-plugin INSTALL_TARGET= install-strip TEST_TARGET= check OPTIONS_DEFINE= DOCS .include .if ${ARCH} == "i386" BUILD_DEPENDS+= nasm:devel/nasm .endif post-install: ${REINPLACE_CMD} 's:%%PREFIX%%:${PREFIX}:' \ ${STAGEDIR}${PREFIX}/man/man1/flac.1 ${RM} ${STAGEDIR}${PREFIX}/man/man1/flac.1.bak .include