mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
44eaadcb75
Where possible, correct a few instances where PORTDOCS was being used to flag stuff in EXAMPLESDIR. For some ports, mostly those owned by ruby@, PORTDOCS is applied to pretty much everything whether it's documentation or example.
43 lines
953 B
Makefile
43 lines
953 B
Makefile
# Created by: yoshiaki Uchikawa
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= lame
|
|
PORTVERSION= 3.99.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME:tl}/3.99
|
|
|
|
MAINTAINER= netchild@FreeBSD.org
|
|
COMMENT= Fast MP3 encoder kit
|
|
|
|
USES= gmake iconv libtool:keepla
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-nasm --enable-mp3rtp --disable-gtktest
|
|
|
|
RESTRICTED= patent issues, see http://www.mp3licensing.com/
|
|
|
|
DOC_FILES= API LICENSE README TODO USAGE
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "i386"
|
|
BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm
|
|
.endif
|
|
|
|
post-patch:
|
|
# Fix parallel builds
|
|
@${REINPLACE_CMD} -e 's,test -d \.libs || mkdir,mkdir -p,' \
|
|
${WRKSRC}/libmp3lame/i386/Makefile.in
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmp3lame.so.0
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for file in ${DOC_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.post.mk>
|