aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mkvalidator/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2011-09-28 15:39:16 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2011-09-28 15:39:16 +0000
commit47b84b95f49660abe66b70fcab71b4b02b01be0a (patch)
treee3c4f5ebac6ad5124c9bb10ece410a9c63a984e2 /multimedia/mkvalidator/Makefile
parent0749bf7e2e0f1242b042934a5e1e8ee95dedc827 (diff)
downloadports-47b84b95f49660abe66b70fcab71b4b02b01be0a.tar.gz
ports-47b84b95f49660abe66b70fcab71b4b02b01be0a.zip
Notes
Diffstat (limited to 'multimedia/mkvalidator/Makefile')
-rw-r--r--multimedia/mkvalidator/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/multimedia/mkvalidator/Makefile b/multimedia/mkvalidator/Makefile
new file mode 100644
index 000000000000..212ec16ca696
--- /dev/null
+++ b/multimedia/mkvalidator/Makefile
@@ -0,0 +1,37 @@
+# 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>