1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/audio/trm/Makefile
2004-03-17 05:21:35 +00:00

40 lines
1003 B
Makefile

# 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
PORTREVISION= 6
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/madplay
LIB_DEPENDS= id3-3.8.3:${PORTSDIR}/audio/id3lib \
musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz \
vorbisfile.4:${PORTSDIR}/audio/libvorbis
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
PLIST_FILES= bin/trm
post-patch:
@${REINPLACE_CMD} -e 's,-ldl,,g' ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/trm ${PREFIX}/bin
.include <bsd.port.mk>