summaryrefslogtreecommitdiff
path: root/x11/xvidcap/Makefile
blob: 0c39393eaccad7c2877cd34ba3f4a2cac7ffe55f (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
# $NetBSD: Makefile,v 1.2 2004/09/24 21:47:41 reed Exp $
#

DISTNAME=		xvidcap-1.1.3
CATEGORIES=		x11
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=xvidcap/}

MAINTAINER=		reed@reedmedia.net
HOMEPAGE=		http://xvidcap.sourceforge.net/
COMMENT=		Capture X display to individual frames or MPEG video

USE_BUILDLINK3=		yes
USE_X11=		yes
GNU_CONFIGURE=		yes

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

BUILD_DEFS+=		XVIDCAP_GTK2_GUI

.if defined(XVIDCAP_GTK2_GUI) && !empty(XVIDCAP_GTK2_GUI:M[Yy][Ee][Ss])
PLIST_SUBST+=		GTK2_GUI=
CONFIGURE_ARGS+=	--with-gtk2
.  include "../../x11/gtk2/buildlink3.mk"
.else
PLIST_SUBST+=		GTK2_GUI='@comment '
.endif

.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../multimedia/ffmpeg/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"