freebsd-ports/multimedia/mkvalidator/Makefile
Baptiste Daroussin 47b84b95f4 mkvalidator is a simple command line tool to verify Matroska and WebM files for
spec conformance. It checks the various bogus or missing key elements against
the EBML DocType version of the file and reports the errors/warnings in the
command line.

http://www.matroska.org/downloads/mkvalidator.html
2011-09-28 15:39:16 +00:00

37 lines
783 B
Makefile

# New ports collection makefile for: mkvalidator
# Date created: 2011-09-28
# Whom: Baptiste Daroussin <bapt@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= mkvalidator
PORTVERSION= 0.3.7
CATEGORIES= multimedia
MASTER_SITES= SF/matroska/${PORTNAME}/
MAINTAINER= bapt@FreeBSD.org
COMMENT= Command line tool to verify Matroska and WebM files
LICENSE= BSD
USE_BZIP2= yes
HAS_CONFIGURE= yes
USE_GMAKE= yes
USE_ICONV= yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -liconv
MAKE_ENV+= "LFLAGS=${LDFLAGS}"
MAKEFILE= GNUmakefile
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
PLIST_FILES= bin/mkvalidator
post-extract:
@${REINPLACE_CMD} -e "s,/usr/local,${PREFIX},g" ${WRKSRC}/corec/tools/coremake/gcc_mak.inc
@${RM} ${WRKSRC}/libmatroska2/test/test.proj
.include <bsd.port.mk>