aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mp3guessenc/Makefile
blob: 9c3d30bbd3243473b1ea8b3fdce644c2095589ca (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
35
# 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/ \
        http://critical.ch/distfiles/ \
        http://energy.critical.ch/distfiles/

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

USE_ZIP=    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>