ea8c8ec7da
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
49 lines
1.1 KiB
Makefile
49 lines
1.1 KiB
Makefile
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= flac
|
|
PORTVERSION= 1.3.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= https://downloads.xiph.org/releases/flac/ \
|
|
https://download.videolan.org/contrib/flac/ \
|
|
SF/flac/flac-src
|
|
|
|
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 iconv libtool pathfix pkgconfig tar:xz
|
|
|
|
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
|
|
|
|
post-install:
|
|
cd ${STAGEDIR}${PREFIX}/share/doc && ${MV} ${DISTNAME} flac
|
|
${REINPLACE_CMD} 's:%%PREFIX%%:${PREFIX}:' \
|
|
${STAGEDIR}${PREFIX}/man/man1/flac.1
|
|
${RM} ${STAGEDIR}${PREFIX}/man/man1/flac.1.bak
|
|
|
|
.include <bsd.port.mk>
|