2012-11-29 00:48:14 +01:00
|
|
|
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
2005-10-01 15:28:47 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mp3guessenc
|
2018-07-16 16:50:31 +02:00
|
|
|
PORTVERSION= 0.27.4
|
2005-10-01 15:28:47 +02:00
|
|
|
CATEGORIES= audio
|
2014-06-04 09:50:30 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:C/\.[0-9]*$//}
|
2005-10-01 15:28:47 +02:00
|
|
|
|
2005-10-06 13:57:11 +02:00
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
2005-10-01 15:28:47 +02:00
|
|
|
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
|
|
|
|
|
2005-10-01 15:28:47 +02:00
|
|
|
PLIST_FILES= bin/mp3guessenc
|
2013-04-17 13:50:32 +02:00
|
|
|
SRC= decode.c mp3guessenc.c bit_utils.c tags.c
|
2005-10-01 15:28:47 +02:00
|
|
|
|
|
|
|
do-build:
|
2012-11-29 00:48:14 +01:00
|
|
|
.for f in ${SRC}
|
|
|
|
${CC} ${CFLAGS} ${WRKSRC}/${f} -c -o ${WRKSRC}/${f:C/\.c/.o/}
|
|
|
|
.endfor
|
|
|
|
${CC} ${SRC:S|\.c|${WRKSRC}/.o|:S|^|${WRKSRC}/|} \
|
2013-04-17 13:50:32 +02:00
|
|
|
-o ${WRKSRC}/${PORTNAME} ${LDFLAGS}
|
2005-10-01 15:28:47 +02:00
|
|
|
|
|
|
|
do-install:
|
2013-10-23 22:30:50 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
2005-10-01 15:28:47 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|