2006-11-02 21:35:49 +01:00
|
|
|
# New ports collection makefile for: fdmf
|
|
|
|
# Date created: 2 November 2006
|
|
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= fdmf
|
|
|
|
DISTVERSION= 0.0.9r
|
2008-06-06 15:08:29 +02:00
|
|
|
PORTREVISION= 3
|
2006-11-02 21:35:49 +01:00
|
|
|
CATEGORIES= audio
|
2007-04-18 10:01:25 +02:00
|
|
|
MASTER_SITES= http://w140.com/audio/ CENKES
|
2006-11-02 21:35:49 +01:00
|
|
|
|
2008-09-07 02:19:05 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-11-02 21:35:49 +01:00
|
|
|
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
|
2006-11-06 21:33:46 +01:00
|
|
|
PLIST_FILES= ${BINS:S,^,bin/,} ${SCRS:S,^,bin/,}
|
2006-11-02 21:35:49 +01:00
|
|
|
|
|
|
|
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>
|