2016-11-20 22:15:19 +01:00
|
|
|
# $NetBSD: Makefile,v 1.83 2016/11/20 21:15:19 joerg Exp $
|
2004-04-10 14:44:31 +02:00
|
|
|
|
2016-11-20 22:15:19 +01:00
|
|
|
DISTNAME= mkvtoolnix-9.5.0
|
2009-11-23 23:25:16 +01:00
|
|
|
CATEGORIES= multimedia
|
2016-09-08 18:18:01 +02:00
|
|
|
MASTER_SITES= https://mkvtoolnix.download/sources/
|
|
|
|
EXTRACT_SUFX= .tar.xz
|
2004-04-10 14:44:31 +02:00
|
|
|
|
2009-11-23 23:25:16 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2016-09-08 18:18:01 +02:00
|
|
|
HOMEPAGE= http://mkvtoolnix.download/
|
2004-04-10 14:44:31 +02:00
|
|
|
COMMENT= Set of tools to create, alter and inspect Matroska files
|
2009-11-23 23:25:16 +01:00
|
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
|
2016-03-28 05:47:46 +02:00
|
|
|
BUILD_DEPENDS+= ${RUBY_BASE}>=${RUBY_VERSION}:${RUBY_SRCDIR}
|
|
|
|
|
2011-03-20 14:19:44 +01:00
|
|
|
USE_LANGUAGES= c c++
|
2011-01-01 14:18:36 +01:00
|
|
|
USE_PKGLOCALEDIR= yes
|
2011-03-20 14:19:44 +01:00
|
|
|
USE_TOOLS+= gmake msgfmt
|
|
|
|
GNU_CONFIGURE= yes
|
2016-09-08 18:18:01 +02:00
|
|
|
CONFIGURE_ARGS+= --without-curl --disable-precompiled-headers
|
2009-11-23 23:25:16 +01:00
|
|
|
CONFIGURE_ARGS+= --with-boost-libdir=${BUILDLINK_PREFIX.boost-libs}
|
|
|
|
CONFIGURE_ARGS+= --with-boost_regex=boost_regex
|
2012-05-03 10:28:40 +02:00
|
|
|
CONFIGURE_ARGS+= --with-boost-system=boost_system
|
2010-07-08 20:51:01 +02:00
|
|
|
CONFIGURE_ARGS+= --with-boost-filesystem=boost_filesystem
|
2016-09-08 18:18:01 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-optimization
|
2009-11-23 23:25:16 +01:00
|
|
|
|
2014-07-09 13:36:29 +02:00
|
|
|
REPLACE_LOCALEDIR_PATTERNS= build-config.in
|
|
|
|
|
2012-01-29 01:22:21 +01:00
|
|
|
LDFLAGS.DragonFly= -lboost_system
|
2014-07-09 13:36:29 +02:00
|
|
|
LDFLAGS.SunOS+= -lintl
|
2012-01-29 01:22:21 +01:00
|
|
|
|
2011-03-20 14:19:44 +01:00
|
|
|
INSTALL_ENV+= SHELL=${SH:Q}
|
2011-01-01 14:39:14 +01:00
|
|
|
|
2012-11-08 08:28:12 +01:00
|
|
|
.if !empty(MAKE_JOBS)
|
|
|
|
DRAKE_ARGS= -j${MAKE_JOBS}
|
|
|
|
.else
|
|
|
|
DRAKE_ARGS= # empty
|
|
|
|
.endif
|
|
|
|
|
2010-09-08 18:35:57 +02:00
|
|
|
do-build:
|
2016-03-27 00:07:13 +01:00
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/${RAKE_NAME} ${DRAKE_ARGS}
|
2010-09-08 18:35:57 +02:00
|
|
|
|
|
|
|
do-install:
|
2016-03-27 00:07:13 +01:00
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${INSTALL_ENV} ${LOCALBASE}/bin/${RAKE_NAME} install
|
2010-09-08 18:35:57 +02:00
|
|
|
|
2011-03-20 14:19:44 +01:00
|
|
|
.include "options.mk"
|
|
|
|
|
2016-03-28 05:47:46 +02:00
|
|
|
.include "../../lang/ruby/rubyversion.mk"
|
2004-04-10 14:44:31 +02:00
|
|
|
.include "../../archivers/bzip2/buildlink3.mk"
|
2011-03-20 14:19:44 +01:00
|
|
|
.include "../../archivers/lzo/buildlink3.mk"
|
2004-04-10 14:44:31 +02:00
|
|
|
.include "../../audio/flac/buildlink3.mk"
|
|
|
|
.include "../../audio/libvorbis/buildlink3.mk"
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
2011-01-01 14:10:37 +01:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
2011-10-07 21:09:55 +02:00
|
|
|
BUILDLINK_ABI_DEPENDS.libebml+= libebml>=1.2.2
|
2004-05-05 17:57:47 +02:00
|
|
|
.include "../../devel/libebml/buildlink3.mk"
|
2004-04-10 14:44:31 +02:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2009-11-23 23:25:16 +01:00
|
|
|
.include "../../devel/boost-headers/buildlink3.mk"
|
|
|
|
.include "../../devel/boost-libs/buildlink3.mk"
|
2004-04-10 14:44:31 +02:00
|
|
|
.include "../../multimedia/libmatroska/buildlink3.mk"
|
2004-04-13 01:15:01 +02:00
|
|
|
.include "../../multimedia/libogg/buildlink3.mk"
|
2006-10-08 07:22:19 +02:00
|
|
|
.include "../../sysutils/file/buildlink3.mk"
|
2004-04-10 14:44:31 +02:00
|
|
|
.include "../../textproc/expat/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|