mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
b0b6625638
Changes: https://github.com/l-smash/l-smash/compare/v2.9.1...v2.14.5 ABI: https://people.freebsd.org/~jbeich/compat_reports/l-smash/2.9.1_to_2.14.5/compat_report.html
36 lines
806 B
Makefile
36 lines
806 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= l-smash
|
|
PORTVERSION= 2.14.5
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= multimedia
|
|
|
|
MAINTAINER= jbeich@FreeBSD.org
|
|
COMMENT= MP4 muxer and other tools
|
|
|
|
LICENSE= ISCL
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USE_GITHUB= yes
|
|
|
|
USES= gmake pathfix
|
|
PATHFIX_MAKEFILEIN= Makefile
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --prefix="${PREFIX}" \
|
|
--cc="${CC}" \
|
|
--extra-cflags="${CPPFLAGS} ${CFLAGS}" \
|
|
--extra-ldflags="${LDFLAGS}" \
|
|
--extra-libs="${LIBS}" \
|
|
--enable-shared
|
|
MAKE_ARGS= STRIP="${STRIP_CMD}"
|
|
USE_LDCONFIG= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's/-Os //; /=.*-fexcess-precision/d' \
|
|
-e '/sed/{s/-i/& ""/; s/i \\/&\\"$$'"'\\\n'"'"/; s/%"/&$$'"'\\\012'"'/;}' \
|
|
${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e '/SHARED/,/^$$/ { /STRIP/s/-x //; }' \
|
|
${WRKSRC}/${MAKEFILE}
|
|
|
|
.include <bsd.port.mk>
|