freebsd-ports/multimedia/mkvalidator/Makefile
Baptiste Daroussin 565eba8b56 Update to 0.4.2
While here change tab to space in pkg-descr
2012-12-28 22:44:05 +00:00

38 lines
804 B
Makefile

# $FreeBSD$
PORTNAME= mkvalidator
PORTVERSION= 0.4.2
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.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= Does not install on sparc64: gmake: GNUmakefile: No such file or directory
.endif
.include <bsd.port.post.mk>