2011-11-01 07:11:52 +01:00
|
|
|
# $NetBSD: Makefile,v 1.37 2011/11/01 06:11:56 sbd Exp $
|
2004-04-10 14:44:31 +02:00
|
|
|
|
2011-10-07 21:09:55 +02:00
|
|
|
DISTNAME= mkvtoolnix-5.0.0
|
2011-11-01 07:11:52 +01:00
|
|
|
PKGREVISION= 2
|
2009-11-23 23:25:16 +01:00
|
|
|
CATEGORIES= multimedia
|
|
|
|
MASTER_SITES= http://www.bunkus.org/videotools/mkvtoolnix/sources/
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2004-04-10 14:44:31 +02:00
|
|
|
|
2009-11-23 23:25:16 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2004-04-10 14:44:31 +02:00
|
|
|
HOMEPAGE= http://www.bunkus.org/videotools/mkvtoolnix/
|
|
|
|
COMMENT= Set of tools to create, alter and inspect Matroska files
|
2009-11-23 23:25:16 +01:00
|
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2004-04-10 14:44:31 +02:00
|
|
|
|
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
|
2009-11-23 23:25:16 +01:00
|
|
|
CONFIGURE_ARGS+= --with-boost-libdir=${BUILDLINK_PREFIX.boost-libs}
|
|
|
|
CONFIGURE_ARGS+= --with-boost_regex=boost_regex
|
2010-07-08 20:51:01 +02:00
|
|
|
CONFIGURE_ARGS+= --with-boost-filesystem=boost_filesystem
|
2009-11-23 23:25:16 +01:00
|
|
|
|
2011-03-20 14:19:44 +01:00
|
|
|
INSTALL_ENV+= SHELL=${SH:Q}
|
2011-01-01 14:39:14 +01:00
|
|
|
|
2010-09-08 18:35:57 +02:00
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ruby drake
|
|
|
|
|
|
|
|
do-install:
|
2011-01-01 14:39:14 +01:00
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${INSTALL_ENV} ruby drake install
|
2010-09-08 18:35:57 +02:00
|
|
|
|
2011-03-20 14:19:44 +01:00
|
|
|
.include "options.mk"
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} != "Darwin"
|
2011-01-01 14:10:37 +01:00
|
|
|
BUILDLINK_DEPMETHOD.${RUBY_BASE}= build
|
|
|
|
.include "../../lang/ruby/buildlink3.mk"
|
2011-03-20 14:19:44 +01:00
|
|
|
.endif
|
2011-01-01 14:10:37 +01:00
|
|
|
|
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"
|