summaryrefslogblamecommitdiff
path: root/audio/trm/Makefile
blob: d1066a387aa41a47bb97f669512c42ebb2ac0770 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                            
                                               

                                                             
                                 
















                                                                              
# New ports collection makefile for:	trm
# Date created:				5 May 2003
# Whom:					Frerich Raabe <frerich.raabe@gmx.de>
#
# $FreeBSD$
#

PORTNAME=	trm
PORTVERSION=	0.2.1
CATEGORIES=	audio
MASTER_SITES=	ftp://ftp.musicbrainz.org/pub/musicbrainz/ \
		ftp://ftp.nl.musicbrainz.org/ \
		ftp://ftp.au.musicbrainz.org/pub/musicbrainz/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	TRM generator to generate acoustic fingerprints

BUILD_DEPENDS=	madplay:${PORTSDIR}/audio/mad
LIB_DEPENDS=	musicbrainz.2:${PORTSDIR}/audio/libmusicbrainz \
		ogg:${PORTSDIR}/audio/libogg \
		vorbis:${PORTSDIR}/audio/libvorbis \
		vorbisfile:${PORTSDIR}/audio/libvorbis

USE_GMAKE=	yes
USE_REINPLACE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"

post-patch:
	@${REINPLACE_CMD} -e 's,-ldl,,g' ${WRKSRC}/configure

.include <bsd.port.mk>