svn commit: r305073 - head/audio/fplib
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Sep 30 04:54:19 UTC 2012
Author: sunpoet
Date: Sun Sep 30 04:54:18 2012
New Revision: 305073
URL: http://svn.freebsd.org/changeset/ports/305073
Log:
- Update to 20120911
- Cleanup Makefile header
Changes: https://github.com/lastfm/Fingerprinter/commits/master/
Added:
head/audio/fplib/pkg-plist (contents, props changed)
Modified:
head/audio/fplib/Makefile (contents, props changed)
head/audio/fplib/distinfo (contents, props changed)
Modified: head/audio/fplib/Makefile
==============================================================================
--- head/audio/fplib/Makefile Sun Sep 30 04:38:20 2012 (r305072)
+++ head/audio/fplib/Makefile Sun Sep 30 04:54:18 2012 (r305073)
@@ -1,13 +1,8 @@
-# New ports collection makefile for: fplib
-# Date created: 2011-11-12
-# Whom: Sunpoet Po-Chuan Hsieh <sunpoet at FreeBSD.org>
-#
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet at 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>
Modified: head/audio/fplib/distinfo
==============================================================================
--- head/audio/fplib/distinfo Sun Sep 30 04:38:20 2012 (r305072)
+++ head/audio/fplib/distinfo Sun Sep 30 04:54:18 2012 (r305073)
@@ -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
Added: head/audio/fplib/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/fplib/pkg-plist Sun Sep 30 04:54:18 2012 (r305073)
@@ -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
+ at dirrm include/fplib
More information about the svn-ports-all
mailing list