# $NetBSD: Makefile,v 1.158 2020/08/18 17:58:10 leot Exp $
DISTNAME= mkvtoolnix-49.0.0
PKGREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= https://mkvtoolnix.download/sources/
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://mkvtoolnix.download/
COMMENT= Set of tools to create, alter and inspect Matroska files
LICENSE= gnu-gpl-v2
BUILD_DEPENDS+= docbook-xsl>=1.79.1nb5:../../textproc/docbook-xsl
BUILD_DEPENDS+= po4a-[0-9]*:../../textproc/po4a
BUILD_DEPENDS+= ${RUBY_BASE}>=${RUBY_VERSION}:${RUBY_SRCDIR}
USE_LANGUAGES= c c++17
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake msgfmt pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-optimization
CONFIGURE_ARGS+= --disable-precompiled-headers
CONFIGURE_ARGS+= --disable-update-check
CONFIGURE_ARGS+= --with-boost-libdir=${BUILDLINK_PREFIX.boost-libs}/lib
CONFIGURE_ARGS+= --with-boost-date-time=boost_date_time
CONFIGURE_ARGS+= --with-boost-filesystem=boost_filesystem
CONFIGURE_ARGS+= --with-boost-system=boost_system
CONFIGURE_ARGS+= --with-docbook-xsl-root=${PREFIX}/share/xsl/docbook
REPLACE_LOCALEDIR_PATTERNS= build-config.in
LDFLAGS.DragonFly= -lboost_system
LDFLAGS.SunOS+= -lintl
INSTALL_ENV+= SHELL=${SH:Q}
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${RAKE}
do-install:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${INSTALL_ENV} ${RAKE} install
.include "options.mk"
.include "../../lang/ruby/rubyversion.mk"
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../archivers/lzo/buildlink3.mk"
.include "../../audio/flac/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
BUILDLINK_API_DEPENDS.libebml+= libebml>=1.4.0
.include "../../devel/libebml/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
BUILDLINK_API_DEPENDS.libmatroska+= libmatroska>=1.6.1
.include "../../multimedia/libmatroska/buildlink3.mk"
.include "../../multimedia/libogg/buildlink3.mk"
.include "../../sysutils/file/buildlink3.mk"
.include "../../textproc/cmark/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../textproc/fmtlib/buildlink3.mk"
.include "../../textproc/pugixml/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>