d4041784dc
Approved by: portmgr (bdrewery)
28 lines
634 B
Makefile
28 lines
634 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= chromaprint
|
|
PORTVERSION= 0.7
|
|
PORTREVISION= 1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://cloud.github.com/downloads/lalinsky/${PORTNAME}/
|
|
|
|
MAINTAINER= jhale@FreeBSD.org
|
|
COMMENT= AcoustID audio fingerprinting library
|
|
|
|
LICENSE= LGPL21
|
|
|
|
LIB_DEPENDS= avcodec${FFMPEG_SUFFIX}:${PORTSDIR}/multimedia/ffmpeg${FFMPEG_SUFFIX}
|
|
|
|
USES= cmake:outsource
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_ARGS= -DBUILD_EXAMPLES:BOOL=ON \
|
|
-DWITH_AVFFT:BOOL=ON \
|
|
-DFFMPEG_SUFFIX:STRING=${FFMPEG_SUFFIX}
|
|
FFMPEG_SUFFIX?= 1
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e '/pkgconfig/s|$${LIB_INSTALL_DIR}|libdata|' \
|
|
${WRKSRC}/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|