mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
bb271f0bf7
Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412?
35 lines
939 B
Makefile
35 lines
939 B
Makefile
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mctoolame
|
|
PORTVERSION= 0.1.a
|
|
PORTREVISION= 1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-01a
|
|
PKGNAMESUFFIX= -encoder
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.//g}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= MPEG Layer II audio encoder with multi-channel support
|
|
|
|
USES= gmake tar:tgz
|
|
ALL_TARGET= #
|
|
MAKE_ARGS= CC="${CC}" OPTIM="${CFLAGS}"
|
|
PLIST_SUB= PKGNAMESUFFIX="${PKGNAMESUFFIX}"
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|$$(ARCH)||' ${WRKSRC}/Makefile
|
|
@${REINPLACE_CMD} -E \
|
|
's|gets *\(([^,)]+)\)|fgets(\1, sizeof(\1), stdin)|' \
|
|
${WRKSRC}/config.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mctoolame ${STAGEDIR}${PREFIX}/bin
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}${PKGNAMESUFFIX}/html
|
|
${INSTALL_DATA} ${WRKSRC}/html/* ${STAGEDIR}${DOCSDIR}${PKGNAMESUFFIX}/html
|
|
|
|
.include <bsd.port.mk>
|