# $FreeBSD$ PORTNAME= aom DISTVERSIONPREFIX= v DISTVERSION= 1.0.0-740 DISTVERSIONSUFFIX= -gc5e7469b8 CATEGORIES= multimedia MAINTAINER= jbeich@FreeBSD.org COMMENT= AV1 Codec Library LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${BUILD_DEPENDS_${ARCH}} BUILD_DEPENDS_amd64= nasm:devel/nasm BUILD_DEPENDS_i386= nasm:devel/nasm USES= cmake:outsource compiler:c++11-lib perl5 USE_GITHUB= yes USE_PERL5= build USE_LDCONFIG= yes GH_ACCOUNT= jbeich # mirror CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= ENABLE_DOCS ENABLE_TESTS post-patch: # Extract (snapshot) version from GH_TAGNAME instead of CHANGELOG @${REINPLACE_CMD} 's,$${AOM_ROOT}/CHANGELOG,${GH_TAGNAME:S/^v//},' \ ${WRKSRC}/build/cmake/version.cmake .include