freebsd-ports/multimedia/aom/Makefile
Jan Beich baed44f1ec multimedia/aom: regen distfile now that GH mirror is ready
Previous distfile was generated using the following commands, so
changes are mainly in timestamps.

$ git clone http://aomedia.googlesource.com/aom/; cd aom
$ git archive --format tar.gz --prefix aom-1.0.0/ \
      -o $DISTDIR/jbeich-aom-v1.0.0_GH0.tar.gz v1.0.0
2018-09-02 21:26:24 +00:00

31 lines
719 B
Makefile

# $FreeBSD$
PORTNAME= aom
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.0
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 <bsd.port.mk>