aboutsummaryrefslogtreecommitdiffstats
path: root/audio/fplib
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-09-30 12:54:18 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-09-30 12:54:18 +0800
commitbec194c63f8a7aacb7b4e1786c91824712aef5b3 (patch)
tree2f379bfed3488f9fa83ae69329a5ba5ee7e61008 /audio/fplib
parent347ae789124df8411819356c69dbee325477942b (diff)
downloadfreebsd-ports-gnome-bec194c63f8a7aacb7b4e1786c91824712aef5b3.tar.gz
freebsd-ports-gnome-bec194c63f8a7aacb7b4e1786c91824712aef5b3.tar.zst
freebsd-ports-gnome-bec194c63f8a7aacb7b4e1786c91824712aef5b3.zip
- Update to 20120911
- Cleanup Makefile header Changes: https://github.com/lastfm/Fingerprinter/commits/master/
Diffstat (limited to 'audio/fplib')
-rw-r--r--audio/fplib/Makefile26
-rw-r--r--audio/fplib/distinfo4
-rw-r--r--audio/fplib/pkg-plist11
3 files changed, 20 insertions, 21 deletions
diff --git a/audio/fplib/Makefile b/audio/fplib/Makefile
index 55ee84981018..f766a838e21b 100644
--- a/audio/fplib/Makefile
+++ b/audio/fplib/Makefile
@@ -1,13 +1,8 @@
-# New ports collection makefile for: fplib
-# Date created: 2011-11-12
-# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
-#
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= fplib
-PORTVERSION= 20100712
-PORTREVISION= 1
+PORTVERSION= 20120911
CATEGORIES= audio
MASTER_SITES= LOCAL/sunpoet
@@ -22,25 +17,18 @@ LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl \
tag:${PORTSDIR}/audio/taglib
CPPFLAGS+= -I${LOCALBASE}/include
+REINPLACE_ARGS= -i ''
USE_CMAKE= yes
USE_LDCONFIG= yes
USE_XZ= yes
-PLIST_FILES= bin/lastfmfpclient \
- lib/liblastfmfp.a \
- lib/liblastfmfp.so \
- lib/liblastfmfp.so.1 \
- lib/liblastfmfp.so.1.6.0
-
post-patch:
@${REINPLACE_CMD} \
-e 's|\(ADD_DEFINITIONS\)(.*)|\1(${CFLAGS} ${CPPFLAGS})|' \
- -e 's|\(OUTPUT_NAME lastfmfp\)_static|\1|' \
- ${WRKSRC}/fplib/CMakeLists.txt
+ -e 's|\(LINK_DIRECTORIES\)(\(.*\))|\1(\2 ${LOCALBASE}/lib)|' \
+ ${WRKSRC}/CMakeLists.txt
@${REINPLACE_CMD} \
- -e 's|\(ADD_DEFINITIONS\)(.*)|\1(${CFLAGS} ${CPPFLAGS})|' \
- -e 's|^\(LINK_DIRECTORIES\)(.*)|\1(${LOCALBASE}/lib)|' \
- -e 's| lastfmfp_static| lastfmfp_shared|' \
- ${WRKSRC}/lastfmfpclient/CMakeLists.txt
+ -e '85 s|size|&()|' \
+ ${WRKSRC}/include/fplib/FloatingAverage.h
.include <bsd.port.mk>
diff --git a/audio/fplib/distinfo b/audio/fplib/distinfo
index bca6fe3f74e7..05ca70847284 100644
--- a/audio/fplib/distinfo
+++ b/audio/fplib/distinfo
@@ -1,2 +1,2 @@
-SHA256 (fplib-20100712.tar.xz) = 27db1a34a73c67cafb87c3a3f44520b314f6aa1b01ebe9cefd3893ac55147db3
-SIZE (fplib-20100712.tar.xz) = 38932
+SHA256 (fplib-20120911.tar.xz) = 9d94924b39ccaca6290c9af67754a410a580d8d55f1e2ac9a6501770948776a6
+SIZE (fplib-20120911.tar.xz) = 55124
diff --git a/audio/fplib/pkg-plist b/audio/fplib/pkg-plist
new file mode 100644
index 000000000000..65ac272ff6b3
--- /dev/null
+++ b/audio/fplib/pkg-plist
@@ -0,0 +1,11 @@
+bin/lastfm-fpclient
+include/fplib/CircularArray.h
+include/fplib/Filter.h
+include/fplib/FingerprintExtractor.h
+include/fplib/FloatingAverage.h
+include/fplib/OptFFT.h
+include/fplib/fp_helper_fun.h
+include/fplib/version.h
+lib/libfplib.a
+lib/libfplib.so
+@dirrm include/fplib