1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/audio/flac/Makefile
Christian Weisgerber 403699b0e5 Update to FLAC 1.3.1. No significant user-visible changes.
Drop iconv option again and always require iconv for flac.
2015-01-10 20:16:37 +00:00

41 lines
954 B
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= flac
PORTVERSION= 1.3.1
CATEGORIES= audio
MASTER_SITES= http://downloads.xiph.org/releases/flac/
MAINTAINER= naddy@FreeBSD.org
COMMENT= Free lossless audio codec
LIB_DEPENDS= libogg.so:${PORTSDIR}/audio/libogg
USES= iconv libtool pathfix pkgconfig tar:xz
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-static \
--enable-sse \
--with-ogg="${LOCALBASE}" \
--disable-silent-rules \
--disable-thorough-tests \
--disable-xmms-plugin
.include <bsd.port.options.mk>
.if ${ARCH} == "i386"
BUILD_DEPENDS+= nasm:${PORTSDIR}/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
regression-test: build
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check
.include <bsd.port.mk>