Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / multimedia / mkvtoolnix / Makefile
blobec92b87041ba68616970efe06bdc1fe52aec234e
1 # $NetBSD: Makefile,v 1.57 2013/02/16 11:23:38 wiz Exp $
3 DISTNAME= mkvtoolnix-5.0.1
4 PKGREVISION= 11
5 CATEGORIES= multimedia
6 MASTER_SITES= http://www.bunkus.org/videotools/mkvtoolnix/sources/
7 EXTRACT_SUFX= .tar.bz2
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
12 LICENSE= gnu-gpl-v2
14 USE_LANGUAGES= c c++
15 USE_PKGLOCALEDIR= yes
16 USE_TOOLS+= gmake msgfmt
17 GNU_CONFIGURE= yes
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"
29 .if !empty(MAKE_JOBS)
30 DRAKE_ARGS= -j${MAKE_JOBS}
31 .else
32 DRAKE_ARGS= # empty
33 .endif
35 do-build:
36 cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ruby drake ${DRAKE_ARGS}
38 do-install:
39 cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${INSTALL_ENV} ruby drake install
41 .include "options.mk"
43 .if ${OPSYS} != "Darwin"
44 BUILDLINK_DEPMETHOD.${RUBY_BASE}= build
45 .include "../../lang/ruby/buildlink3.mk"
46 .endif
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"