freebsd-ports/multimedia/mkvalidator/Makefile
Adam Weinberger bbc8c4d740 Convert a bunch of USE_BZIP2 to USES=tar:bzip2
Approved by:	portmgr (not really, but touches unstaged ports)
2014-07-29 18:41:15 +00:00

32 lines
748 B
Makefile

# $FreeBSD$
PORTNAME= mkvalidator
PORTVERSION= 0.4.2
CATEGORIES= multimedia
MASTER_SITES= SF/matroska/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Command line tool to verify Matroska and WebM files
LICENSE= BSD
HAS_CONFIGURE= yes
USES= iconv gmake tar:bzip2
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
MAKE_ENV+= "LFLAGS=${LDFLAGS}"
MAKEFILE= GNUmakefile
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
PLIST_FILES= bin/mkvalidator
BROKEN_sparc64= Does not install on sparc64: gmake: GNUmakefile: No such file or directory
post-extract:
@${REINPLACE_CMD} -e 's,/usr/local,$$(DESTDIR)$$(PREFIX),g' ${WRKSRC}/corec/tools/coremake/gcc_mak.inc
@${RM} ${WRKSRC}/libmatroska2/test/test.proj
.include <bsd.port.mk>