From 59c22509ad2c00a853f2a8e098acf0f7d0f1a067 Mon Sep 17 00:00:00 2001 From: sat Date: Thu, 2 Nov 2006 20:35:49 +0000 Subject: Add port audio/fdmf: fdmf is portable perl/C software for finding pairs of music files in a collection that are likely to contain the same music. It works on the music itself, not on the filename, tags, or headers. It uses an audio fingerprint, or perceptual hash to recognize the duplicate files. It is currently under heavy development, so it might be buggy, broken, or otherwise bad. But it works for me. WWW: http://www.w140.com/audio/ Author: Kurt Rosenfeld --- audio/fdmf/Makefile | 43 +++++++++++++++++++++++++++++++++++++++++++ audio/fdmf/distinfo | 3 +++ audio/fdmf/pkg-descr | 9 +++++++++ 3 files changed, 55 insertions(+) create mode 100644 audio/fdmf/Makefile create mode 100644 audio/fdmf/distinfo create mode 100644 audio/fdmf/pkg-descr (limited to 'audio/fdmf') diff --git a/audio/fdmf/Makefile b/audio/fdmf/Makefile new file mode 100644 index 00000000000..8c9f51df152 --- /dev/null +++ b/audio/fdmf/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: fdmf +# Date created: 2 November 2006 +# Whom: Andrew Pantyukhin +# +# $FreeBSD$ +# + +PORTNAME= fdmf +DISTVERSION= 0.0.9r +CATEGORIES= audio +MASTER_SITES= http://w140.com/audio/ CSME + +MAINTAINER= infofarmer@FreeBSD.org +COMMENT= Find similar music by perceptual hashing + +LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm \ + plot.4:${PORTSDIR}/graphics/plotutils \ + fftw3.4:${PORTSDIR}/math/fftw3 +RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer \ + mpg123:${PORTSDIR}/audio/mpg123 \ + ogg123:${PORTSDIR}/audio/vorbis-tools \ + p5-GDBM>=0:${PORTSDIR}/databases/p5-GDBM + +USE_PERL5= yes +CFLAGS= -I${LOCALBASE}/include -L. -L${LOCALBASE}/lib +MAKE_ENV= VPATH=common +PORTDOCS= README +BINS= sonic_reducer vector_pairs +SCRS= ${PORTNAME} ${PORTNAME}_bench cleanup_dups optparam +PLIST_FILES= ${BINS:S,^,bin/,} + +post-patch: + @${REINPLACE_CMD} -Ee '/^(CFLAGS|CC) =/s|.*||' -e 's|common/||g' ${WRKSRC}/Makefile + +do-install: + @${INSTALL_PROGRAM} ${BINS:S,^,${WRKSRC}/,} ${PREFIX}/bin/ + @${INSTALL_SCRIPT} ${SCRS:S,^,${WRKSRC}/,} ${PREFIX}/bin/ +.ifndef NOPORTDOCS + @${INSTALL} -d ${DOCSDIR}/ + @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ +.endif + +.include diff --git a/audio/fdmf/distinfo b/audio/fdmf/distinfo new file mode 100644 index 00000000000..13bebd6f880 --- /dev/null +++ b/audio/fdmf/distinfo @@ -0,0 +1,3 @@ +MD5 (fdmf-0.0.9r.tar.gz) = 1d79911c83605a68573d0a2ea8a01d18 +SHA256 (fdmf-0.0.9r.tar.gz) = 0df28a54d092f4f9274c040cc4b53331b9e06f8a9aa0eeb53ec5f0c26a836988 +SIZE (fdmf-0.0.9r.tar.gz) = 24027 diff --git a/audio/fdmf/pkg-descr b/audio/fdmf/pkg-descr new file mode 100644 index 00000000000..3130f53f70e --- /dev/null +++ b/audio/fdmf/pkg-descr @@ -0,0 +1,9 @@ +fdmf is portable perl/C software for finding pairs of music files in a +collection that are likely to contain the same music. It works on the +music itself, not on the filename, tags, or headers. It uses an audio +fingerprint, or perceptual hash to recognize the duplicate files. It is +currently under heavy development, so it might be buggy, broken, or +otherwise bad. But it works for me. + +WWW: http://www.w140.com/audio/ +Author: Kurt Rosenfeld -- cgit