freebsd-ports/audio/mp3guessenc/Makefile

29 lines
719 B
Makefile
Raw Normal View History

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= mp3guessenc
2018-07-16 16:50:31 +02:00
PORTVERSION= 0.27.4
CATEGORIES= audio
2014-06-04 09:50:30 +02:00
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:C/\.[0-9]*$//}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Utility for guessing which encoder was used to encode an mp3 file
2016-02-26 09:04:22 +01:00
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
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:
2013-10-23 22:30:50 +02:00
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>