mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
34 lines
828 B
Makefile
34 lines
828 B
Makefile
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= fplib
|
|
PORTVERSION= 20121001
|
|
PORTREVISION= 1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= LOCAL/sunpoet
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Last.fm fingerprint library
|
|
|
|
LICENSE= LGPL3
|
|
|
|
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
|
|
libfftw3.so:${PORTSDIR}/math/fftw3 \
|
|
libfftw3f.so:${PORTSDIR}/math/fftw3-float \
|
|
libmad.so:${PORTSDIR}/audio/libmad \
|
|
libsamplerate.so:${PORTSDIR}/audio/libsamplerate \
|
|
libtag.so:${PORTSDIR}/audio/taglib
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
MAKE_JOBS_UNSAFE= yes
|
|
USE_LDCONFIG= yes
|
|
USES= cmake tar:xz
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} \
|
|
-e 's|\(ADD_DEFINITIONS\)(.*)|\1(${CFLAGS} ${CPPFLAGS})|' \
|
|
-e 's|\(LINK_DIRECTORIES\)(\(.*\))|\1(\2 ${LOCALBASE}/lib)|' \
|
|
${WRKSRC}/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|