aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/aom/Makefile
blob: 215f528bf47d54c39d81b6991c67efc69728bc59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $FreeBSD$

PORTNAME=   aom
DISTVERSIONPREFIX=  v
DISTVERSION=    1.0.0-2421
DISTVERSIONSUFFIX=  -g768367cf8
CATEGORIES= multimedia

MAINTAINER= jbeich@FreeBSD.org
COMMENT=    AV1 reference encoder/decoder

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 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 the port instead of CHANGELOG
    @${REINPLACE_CMD} 's,$${AOM_ROOT}/CHANGELOG,${DISTVERSIONFULL:S/^v//},' \
        ${WRKSRC}/build/cmake/version.cmake

.include <bsd.port.mk>