aboutsummaryrefslogtreecommitdiffstats
path: root/audio/chromaprint/Makefile
blob: 92f03e963daf1d4e4ae4c0fb1c921f4fb41d0475 (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
# $FreeBSD$

PORTNAME=   chromaprint
PORTVERSION=    1.1
CATEGORIES= audio
MASTER_SITES=   http://bitbucket.org/acoustid/${PORTNAME}/downloads/

MAINTAINER= jhale@FreeBSD.org
COMMENT=    AcoustID audio fingerprinting library

LICENSE=    LGPL21

LIB_DEPENDS=    libavcodec.so:${PORTSDIR}/multimedia/ffmpeg

USES=       cmake:outsource
USE_LDCONFIG=   yes

CMAKE_ARGS= -DBUILD_EXAMPLES:BOOL=ON \
        -DWITH_AVFFT:BOOL=ON \

post-patch:
    ${REINPLACE_CMD} -e '/pkgconfig/s|$${LIB_INSTALL_DIR}|libdata|' \
         ${WRKSRC}/CMakeLists.txt

.include <bsd.port.mk>