summaryrefslogtreecommitdiff
path: root/audio/mp3guessenc/Makefile
blob: f54df52aeca03029a94bab7784c382378bc2e97a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:	mp3guessenc
# Date created:				1 Oct 2005
# Whom:					Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#

PORTNAME=	mp3guessenc
PORTVERSION=	0.21
CATEGORIES=	audio
MASTER_SITES=	http://shibatch.sourceforge.net/download/

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Utility for guessing which encoder was used to encode an mp3 file

USE_ZIP=	yes
USE_REINPLACE=	yes

WRKSRC=		${WRKDIR}

PLIST_FILES=	bin/mp3guessenc

post-extract:
	@${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' \
		${WRKSRC}/${PORTNAME}.c \
		${WRKSRC}/VbrTag.h

do-build:
	${CC} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin

.include <bsd.port.mk>