diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-09-30 04:54:18 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-09-30 04:54:18 +0000 |
commit | 65cd17a75f3d47ce8b9e8008cf9885e7ee680a96 (patch) | |
tree | 2f379bfed3488f9fa83ae69329a5ba5ee7e61008 /audio/fplib | |
parent | 7870edfb87f1c60d7cbae664d639f2109ff83120 (diff) | |
download | ports-65cd17a75f3d47ce8b9e8008cf9885e7ee680a96.tar.gz ports-65cd17a75f3d47ce8b9e8008cf9885e7ee680a96.zip |
Notes
Diffstat (limited to 'audio/fplib')
-rw-r--r-- | audio/fplib/Makefile | 26 | ||||
-rw-r--r-- | audio/fplib/distinfo | 4 | ||||
-rw-r--r-- | audio/fplib/pkg-plist | 11 |
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 |