1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/audio/lame/Makefile
Muhammad Moinur Rahman c136f8e84a audio/lame: Impelled to share/man
Approved by:    portmgr (blanket)
2024-01-23 16:59:56 +01:00

47 lines
1.2 KiB
Makefile

PORTNAME= lame
DISTVERSION= 3.100
PORTREVISION= 5
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME:tl}/${DISTVERSION}
MAINTAINER= netchild@FreeBSD.org
COMMENT= Fast MP3 encoder kit
WWW= http://lame.sourceforge.net/
LICENSE= LGPL20+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${BUILD_DEPENDS_${ARCH}}
BUILD_DEPENDS_i386= nasm:devel/nasm
USES= cpe gmake iconv libtool
USE_LDCONFIG= yes
CPE_VENDOR= lame_project
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= --enable-nasm --enable-mp3rtp --disable-gtktest
DOC_FILES= API LICENSE README TODO USAGE
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
post-patch:
# Fix parallel builds
@${REINPLACE_CMD} -e 's,test -d \.libs || mkdir,mkdir -p,' \
${WRKSRC}/libmp3lame/i386/Makefile.in
# Remove undefined symbol from linker version script - XXX to be removed with lame 3.101
@${REINPLACE_CMD} -e '/lame_init_old/d' ${WRKSRC}/include/libmp3lame.sym
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmp3lame.so.0
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${DOC_FILES}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>