mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Update to 20121001
- Add LICENSE - Convert to new LIB_DEPENDS format - Support STAGEDIR Changes: https://github.com/lastfm/Fingerprinter/commits/master
This commit is contained in:
parent
6745cee7d6
commit
726fcd0619
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331401
@ -2,36 +2,33 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= fplib
|
||||
PORTVERSION= 20120911
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 20121001
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= LOCAL/sunpoet
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Last.fm fingerprint library
|
||||
|
||||
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl \
|
||||
fftw3:${PORTSDIR}/math/fftw3 \
|
||||
fftw3f:${PORTSDIR}/math/fftw3-float \
|
||||
mad:${PORTSDIR}/audio/libmad \
|
||||
samplerate:${PORTSDIR}/audio/libsamplerate \
|
||||
tag:${PORTSDIR}/audio/taglib
|
||||
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
|
||||
REINPLACE_ARGS= -i ''
|
||||
USES= cmake
|
||||
NO_STAGE= yes
|
||||
#REINPLACE_ARGS= -i ''
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
USE_LDCONFIG= yes
|
||||
USE_XZ= yes
|
||||
USES= cmake
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} \
|
||||
-e 's|\(ADD_DEFINITIONS\)(.*)|\1(${CFLAGS} ${CPPFLAGS})|' \
|
||||
-e 's|\(LINK_DIRECTORIES\)(\(.*\))|\1(\2 ${LOCALBASE}/lib)|' \
|
||||
${WRKSRC}/CMakeLists.txt
|
||||
@${REINPLACE_CMD} \
|
||||
-e '85 s|size|&()|' \
|
||||
${WRKSRC}/include/fplib/FloatingAverage.h
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (fplib-20120911.tar.xz) = 9d94924b39ccaca6290c9af67754a410a580d8d55f1e2ac9a6501770948776a6
|
||||
SIZE (fplib-20120911.tar.xz) = 55124
|
||||
SHA256 (fplib-20121001.tar.xz) = 8252ad94fd9c8ff37d8dbda3c91c9d0a355692ba4b672d36b4e63601b1a5909a
|
||||
SIZE (fplib-20121001.tar.xz) = 55240
|
||||
|
Loading…
Reference in New Issue
Block a user