Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Sep 2012 04:54:18 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305073 - head/audio/fplib
Message-ID:  <201209300454.q8U4sIkJ062953@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>

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
+@dirrm include/fplib



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209300454.q8U4sIkJ062953>