1 # $NetBSD: Makefile,v 1.57 2013/02/16 11:23:38 wiz Exp $
3 DISTNAME
= mkvtoolnix-5.0
.1
6 MASTER_SITES
= http
://www.bunkus.org
/videotools
/mkvtoolnix
/sources
/
9 MAINTAINER
= pkgsrc-users@NetBSD.org
10 HOMEPAGE
= http
://www.bunkus.org
/videotools
/mkvtoolnix
/
11 COMMENT
= Set of tools to create
, alter and inspect Matroska files
16 USE_TOOLS
+= gmake msgfmt
18 CONFIGURE_ARGS
+= --with-boost-libdir
=${BUILDLINK_PREFIX.boost-libs
}
19 CONFIGURE_ARGS
+= --with-boost_regex
=boost_regex
20 CONFIGURE_ARGS
+= --with-boost-system
=boost_system
21 CONFIGURE_ARGS
+= --with-boost-filesystem
=boost_filesystem
23 LDFLAGS.DragonFly
= -lboost_system
25 INSTALL_ENV
+= SHELL
=${SH
:Q
}
27 .
include "../../mk/bsd.prefs.mk"
30 DRAKE_ARGS
= -j
${MAKE_JOBS}
36 cd
${WRKSRC} && ${SETENV} ${MAKE_ENV} ruby drake
${DRAKE_ARGS}
39 cd
${WRKSRC} && ${SETENV} ${MAKE_ENV} ${INSTALL_ENV} ruby drake
install
43 .if
${OPSYS} != "Darwin"
44 BUILDLINK_DEPMETHOD.
${RUBY_BASE}= build
45 .
include "../../lang/ruby/buildlink3.mk"
48 .
include "../../archivers/bzip2/buildlink3.mk"
49 .
include "../../archivers/lzo/buildlink3.mk"
50 .
include "../../audio/flac/buildlink3.mk"
51 .
include "../../audio/libvorbis/buildlink3.mk"
52 .
include "../../converters/libiconv/buildlink3.mk"
53 .
include "../../devel/gettext-lib/buildlink3.mk"
54 BUILDLINK_ABI_DEPENDS.libebml
+= libebml
>=1.2.2
55 .
include "../../devel/libebml/buildlink3.mk"
56 .
include "../../devel/zlib/buildlink3.mk"
57 .
include "../../devel/boost-headers/buildlink3.mk"
58 .
include "../../devel/boost-libs/buildlink3.mk"
59 .
include "../../multimedia/libmatroska/buildlink3.mk"
60 .
include "../../multimedia/libogg/buildlink3.mk"
61 .
include "../../sysutils/file/buildlink3.mk"
62 .
include "../../textproc/expat/buildlink3.mk"
63 .
include "../../mk/bsd.pkg.mk"