2011-09-28 17:39:16 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mkvalidator
|
2015-04-11 19:51:46 +02:00
|
|
|
PORTVERSION= 0.5.0
|
2011-09-28 17:39:16 +02:00
|
|
|
CATEGORIES= multimedia
|
|
|
|
MASTER_SITES= SF/matroska/${PORTNAME}/
|
|
|
|
|
2013-12-16 18:26:49 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2011-09-28 17:39:16 +02:00
|
|
|
COMMENT= Command line tool to verify Matroska and WebM files
|
|
|
|
|
2014-12-09 17:33:16 +01:00
|
|
|
LICENSE= BSD3CLAUSE BSD4CLAUSE GPLv2
|
|
|
|
LICENSE_COMB= multi
|
2011-09-28 17:39:16 +02:00
|
|
|
|
|
|
|
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
|
|
|
|
|
2015-04-11 19:51:46 +02:00
|
|
|
USES= gmake iconv tar:bzip2
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
MAKE_ENV= V=1
|
|
|
|
MAKEFILE= GNUmakefile
|
2013-10-03 19:44:27 +02:00
|
|
|
|
2015-04-11 19:51:46 +02:00
|
|
|
CFLAGS+= -I${ICONV_PREFIX}/include
|
|
|
|
LIBS+= -L${ICONV_PREFIX}/lib ${ICONV_LIB}
|
|
|
|
|
|
|
|
PLIST_FILES= bin/mkvalidator bin/mkvtree
|
|
|
|
|
|
|
|
BROKEN_sparc64= Build broken on big endian architectures
|
|
|
|
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e \
|
|
|
|
'/STRIP/s|strip|${STRIP_CMD:T}| ; \
|
|
|
|
/CCFLAGS/s|-O3 .* -W|-W|' \
|
|
|
|
${WRKSRC}/corec/tools/coremake/gcc_linux*.build
|
|
|
|
${REINPLACE_CMD} -e \
|
|
|
|
's|/usr/local|$$(DESTDIR)$$(PREFIX)|g' \
|
|
|
|
${WRKSRC}/corec/tools/coremake/gcc_mak.inc
|
|
|
|
${REINPLACE_CMD} -e \
|
|
|
|
's|arm-none-linux-gnueabi-gcc|${CC}| ; \
|
|
|
|
s|arm-none-linux-gnueabi-g++|${CXX}| ; \
|
|
|
|
s|arm-none-linux-gnueabi-ar|${AR}| ; \
|
|
|
|
s|arm-none-linux-gnueabi-strip|${STRIP_CMD}|' \
|
|
|
|
${WRKSRC}/corec/tools/coremake/gcc_linux_arm.build
|
2011-09-28 17:39:16 +02:00
|
|
|
|
2013-10-03 19:44:27 +02:00
|
|
|
.include <bsd.port.mk>
|