diff options
author | sat <sat@FreeBSD.org> | 2006-11-03 04:35:49 +0800 |
---|---|---|
committer | sat <sat@FreeBSD.org> | 2006-11-03 04:35:49 +0800 |
commit | 59c22509ad2c00a853f2a8e098acf0f7d0f1a067 (patch) | |
tree | 5202d16686f8c1d9cd5a6bb5e16ac84834dc0ade /audio/fdmf | |
parent | 020e0d19ade6bd00eaa532602994fa3671a0e5a6 (diff) | |
download | freebsd-ports-graphics-59c22509ad2c00a853f2a8e098acf0f7d0f1a067.tar.gz freebsd-ports-graphics-59c22509ad2c00a853f2a8e098acf0f7d0f1a067.tar.zst freebsd-ports-graphics-59c22509ad2c00a853f2a8e098acf0f7d0f1a067.zip |
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 <kurt at w140 dot com>
Diffstat (limited to 'audio/fdmf')
-rw-r--r-- | audio/fdmf/Makefile | 43 | ||||
-rw-r--r-- | audio/fdmf/distinfo | 3 | ||||
-rw-r--r-- | audio/fdmf/pkg-descr | 9 |
3 files changed, 55 insertions, 0 deletions
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 <infofarmer@FreeBSD.org> +# +# $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 <bsd.port.mk> 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 <kurt at w140 dot com> |