summaryrefslogtreecommitdiff
path: root/mbone/vic-devel/Makefile
blob: 51c3fbf7495ddcba65bc4b5d10392a3722bb1d57 (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
39
40
41
42
43
44
45
46
47
48
# $NetBSD: Makefile,v 1.4 2010/03/08 12:10:06 sborrill Exp $

DISTNAME=	vic-2.8ucl1.4.0beta-4337
PKGNAME=	vic-devel-2.8.1.4.0beta.4337
PKGREVISION=	2
CATEGORIES=	mbone tk
MASTER_SITES=	http://www.NetBSD.org/~sborrill/snapshots/

MAKE_JOBS_SAFE=	no

PKG_DESTDIR_SUPPORT=	user-destdir

.include "../../mk/bsd.prefs.mk"
.include "options.mk"

.if !empty(MACHINE_PLATFORM:MNetBSD-1.6*) || !empty(MACHINE_PLATFORM:MNetBSD-[2-9]*)
PATCH_SITES=	${MASTER_SITES}
PATCHFILES=	vic-2.8ucl1.4.0_ov511.diff.gz
.endif

MAINTAINER=	sborrill@NetBSD.org
HOMEPAGE=	http://mediatools.cs.ucl.ac.uk/nets/mmedia/
COMMENT=	MBONE video conferencing tool
EXTRACT_SUFX=	.tgz

WRKSRC=		${WRKDIR}/vic-mpeg4
GNU_CONFIGURE=	yes

USE_LANGUAGES=	c c++
INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1

CONFIGURE_ARGS+=	--with-tcl=${BUILDLINK_PREFIX.tcl}/lib
CONFIGURE_ARGS+=	--with-tk=${BUILDLINK_PREFIX.tk}/lib

.if ${OPSYS} == "NetBSD" && exists(/usr/include/sys/videoio.h)
.include "../../graphics/libv4l/buildlink3.mk"
.endif

CONFLICTS+=	vic-[0-9]*

BUILDLINK_DEPMETHOD.libXt?=	build

.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.include "../../mbone/common-mml/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"