Index: head/multimedia/Bento4/Makefile =================================================================== --- head/multimedia/Bento4/Makefile (revision 493849) +++ head/multimedia/Bento4/Makefile (revision 493850) @@ -1,32 +1,45 @@ # $FreeBSD$ PORTNAME= Bento4 PORTVERSION= 1.5.1 +PORTREVISION= 1 DISTVERSIONPREFIX=v -DISTVERSIONSUFFIX=-624 +DISTVERSIONSUFFIX=-628 CATEGORIES= multimedia devel MAINTAINER= mmokhi@FreeBSD.org COMMENT= Full-featured MP4 format and MPEG DASH library and tools LICENSE= GPLv2 BROKEN_aarch64= fails to compile: Ap4AesBlockCipher.cpp:93:4: AP4_PLATFORM_BYTE_ORDER is not set -USES= cmake:noninja +RUN_DEPENDS= bash:shells/bash +USES= cmake:noninja python shebangfix +SHEBANG_GLOB= *.sh *.py +SHEBANG_FILES= Source/Python/*/* USE_GITHUB= yes GH_ACCOUNT= axiomatic-systems CMAKE_BUILD_TYPE= Release INSTALL_TARGET= do-install +post-patch: + @${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|g' ${WRKSRC}/Source/Python/wrappers/* + @${REINPLACE_CMD} -e 's|$$BASEDIR/..|${DATADIR}|g' ${WRKSRC}/Source/Python/wrappers/* + do-install: . for prog in aac2mp4 mp42aac mp42hls mp42ts mp4compact mp4dcfpackager \ mp4decrypt mp4diff mp4dump mp4edit mp4encrypt mp4extract mp4fragment \ mp4iframeindex mp4info mp4mux mp4split mp4tag ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${prog} ${STAGEDIR}${PREFIX}/bin . endfor ${INSTALL_DATA} ${INSTALL_WRKSRC}/libap4.a ${STAGEDIR}${PREFIX}/lib + @${MKDIR} ${STAGEDIR}${DATADIR}/utils + cd ${WRKSRC}/Source/Python/utils && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/utils +. for prog in mp4dash mp4dashclone mp4hls + ${INSTALL_SCRIPT} ${WRKSRC}/Source/Python/wrappers/${prog} ${STAGEDIR}${PREFIX}/bin +. endfor .include Index: head/multimedia/Bento4/distinfo =================================================================== --- head/multimedia/Bento4/distinfo (revision 493849) +++ head/multimedia/Bento4/distinfo (revision 493850) @@ -1,3 +1,3 @@ -TIMESTAMP = 1540999326 -SHA256 (axiomatic-systems-Bento4-v1.5.1-624_GH0.tar.gz) = eda725298e77df83e51793508a3a2640eabdfda1abc8aa841eca69983de83a4c -SIZE (axiomatic-systems-Bento4-v1.5.1-624_GH0.tar.gz) = 4447043 +TIMESTAMP = 1550581644 +SHA256 (axiomatic-systems-Bento4-v1.5.1-628_GH0.tar.gz) = e6fce0b1015698ff2f4f99e81c516ec042b351de052c885da7f82aebda56b65a +SIZE (axiomatic-systems-Bento4-v1.5.1-628_GH0.tar.gz) = 4412385 Index: head/multimedia/Bento4/pkg-plist =================================================================== --- head/multimedia/Bento4/pkg-plist (revision 493849) +++ head/multimedia/Bento4/pkg-plist (revision 493850) @@ -1,19 +1,33 @@ bin/aac2mp4 bin/mp42aac bin/mp42hls bin/mp42ts bin/mp4compact +bin/mp4dash +bin/mp4dashclone bin/mp4dcfpackager bin/mp4decrypt bin/mp4diff bin/mp4dump bin/mp4edit bin/mp4encrypt bin/mp4extract bin/mp4fragment +bin/mp4hls bin/mp4iframeindex bin/mp4info bin/mp4mux bin/mp4split bin/mp4tag lib/libap4.a +%%DATADIR%%/utils/aes.py +%%DATADIR%%/utils/check-indexes.py +%%DATADIR%%/utils/mp4-dash-clone.py +%%DATADIR%%/utils/mp4-dash-encode.py +%%DATADIR%%/utils/mp4-dash.py +%%DATADIR%%/utils/mp4-hls.py +%%DATADIR%%/utils/mp4utils.py +%%DATADIR%%/utils/pr-derive-key.py +%%DATADIR%%/utils/skm.py +%%DATADIR%%/utils/subtitles.py +%%DATADIR%%/utils/wv-request.py