summaryrefslogtreecommitdiff
path: root/multimedia/mkv2mp4/Makefile
blob: 93258aa103b9e00e90952582da6cfc4651003bf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $NetBSD: Makefile,v 1.7 2009/06/12 17:24:53 ahoka Exp $
#

SVNREV=		11
DISTNAME=	mkv2mp4
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}-0.0alpha${SVNREV}
PKGREVISION=	1
CATEGORIES=	multimedia
MASTER_SITES=	http://mkv2mp4.googlecode.com/svn-history/r${SVNREV}/trunk/
NO_BUILD=	yes

PKG_DESTDIR_SUPPORT=	user-destdir

DISTFILES=	${DISTNAME}.py README
DIST_SUBDIR=	mkv2mp4

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://mkv2mp4.googlecode.com/
COMMENT=	Remux mkv files to mp4 files compatible with standalone players
WRKSRC=		${WRKDIR}

REPLACE_PYTHON=	${DISTNAME}.py
# uses subprocess.check_call, which is new in 2.5
PYTHON_VERSIONS_ACCEPTED=	25

INSTALLATION_DIRS=	bin share/doc/mkv2mp4

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME}.py \
	    ${DESTDIR}${PREFIX}/bin/${DISTNAME}.py
	${INSTALL_DATA} ${WRKSRC}/README \
	    ${DESTDIR}${PREFIX}/share/doc/${DISTNAME}/README

.include "../../lang/python/application.mk"
.include "../../multimedia/ffmpeg/buildlink3.mk"
.include "../../multimedia/gpac/buildlink3.mk"
DEPENDS+=	mkvtoolnix>=1.7.0:../../multimedia/mkvtoolnix
.include "../../mk/bsd.pkg.mk"