aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mp3guessenc/Makefile
blob: cd57b8db55b7698eacafe65df4422090bc90022a (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
# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$

PORTNAME=   mp3guessenc
PORTVERSION=    0.25.0
CATEGORIES= audio
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:C/\.0$//}

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

NO_STAGE=   yes

PLIST_FILES=    bin/mp3guessenc
SRC=        decode.c mp3guessenc.c bit_utils.c tags.c

do-build:
.for f in ${SRC}
    ${CC} ${CFLAGS} ${WRKSRC}/${f} -c -o ${WRKSRC}/${f:C/\.c/.o/}
.endfor
    ${CC} ${SRC:S|\.c|${WRKSRC}/.o|:S|^|${WRKSRC}/|} \
        -o ${WRKSRC}/${PORTNAME} ${LDFLAGS}

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

.include <bsd.port.mk>