1 # $NetBSD: Makefile,v 1.33 2012/10/08 09:21:15 asau Exp $
7 MASTER_SITES
= http
://dl.bytesex.org
/releases
/xawtv
/
9 MAINTAINER
= pkgsrc-users@NetBSD.org
10 HOMEPAGE
= http
://linux.bytesex.org
/xawtv
/
11 COMMENT
= TV application for Brooktree
848 compatible cards
13 WRKSRC
= ${WRKDIR}/${PKGNAME_NOREV}
15 USE_TOOLS
+= gmake perl bash
:run
17 REPLACE_BASH
= scripts
/subtitles
19 CONFIGURE_ARGS
+= --disable-aalib
20 CONFIGURE_ARGS
+= --disable-motif
22 LDFLAGS
+= ${LIBOSSAUDIO}
24 SUBST_CLASSES
+= devoss
25 SUBST_MESSAGE.devoss
= Fixing path to OSS audio device.
26 SUBST_STAGE.devoss
= pre-configure
27 SUBST_FILES.devoss
= console
/record.c libng
/devices.c x11
/pia.c
28 SUBST_FILES.devoss
+= man
/motv
.1 man
/record
.1 man
/streamer
.1 man
/xawtv
.1
29 SUBST_FILES.devoss
+= man
/es
/streamer
.1 man
/es
/xawtv
.1 man
/fr
/xawtv
.1
30 SUBST_SED.devoss
= -e
's|/dev/dsp|${DEVOSSAUDIO}|g'
32 .
include "../../mk/bsd.prefs.mk"
34 .if
${MACHINE_ARCH} == "i386"
35 PKG_OPTIONS_VAR
= PKG_OPTIONS.xawtv
36 PKG_SUPPORTED_OPTIONS
= mmx
37 .
include "../../mk/bsd.options.mk"
40 .if
!empty
(PKG_OPTIONS
:Mmmx
)
41 CONFIGURE_ARGS
+= --enable-mmx
44 CFLAGS
+= -I
${X11BASE}/include/X11
/fonts
46 MAKE_FLAGS
+= SUID_ROOT
= FS_LIBS
=-lFS
48 .
include "../../devel/ncurses/buildlink3.mk"
49 .
include "../../graphics/MesaLib/buildlink3.mk"
50 .
include "../../mk/jpeg.buildlink3.mk"
51 .
include "../../x11/Xaw3d/buildlink3.mk"
52 .
include "../../x11/libFS/buildlink3.mk"
53 .
include "../../x11/libXext/buildlink3.mk"
54 .
include "../../x11/libXft/buildlink3.mk"
55 .
include "../../x11/libXinerama/buildlink3.mk"
56 .
include "../../x11/libXpm/buildlink3.mk"
57 .
include "../../x11/libXrandr/buildlink3.mk"
58 .
include "../../x11/libXv/buildlink3.mk"
59 .
include "../../x11/libXxf86dga/buildlink3.mk"
60 .
include "../../x11/libXxf86vm/buildlink3.mk"
61 .
include "../../x11/xf86vidmodeproto/buildlink3.mk"
62 .
include "../../mk/oss.buildlink3.mk"
63 .
include "../../mk/pthread.buildlink3.mk"
64 .
include "../../mk/bsd.pkg.mk"