blob: 872ff95d30aee5649a76d060cd90178e5f387372 (
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.33 2013/02/16 11:23:32 wiz Exp $
DISTNAME= fxtv-1.03
PKGREVISION= 21
CATEGORIES= multimedia
MASTER_SITES= ${HOMEPAGE:Q}
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://people.freebsd.org/~rhh/fxtv/
COMMENT= TV display application for Brooktree 848 compatible TV cards
USE_TOOLS+= gmake
INSTALLATION_DIRS= ${PKGMANDIR}/man1
SUBST_CLASSES+= ossaudio
SUBST_MESSAGE.ossaudio= Fixing path to audio device.
SUBST_STAGE.ossaudio= pre-configure
SUBST_FILES.ossaudio= app_rsrc.h Fxtv README
SUBST_SED.ossaudio= -e 's|/dev/dsp|${DEVOSSAUDIO}|g'
SUBST_CLASSES+= root
SUBST_STAGE.root= pre-configure
SUBST_FILES.root= Makefile
SUBST_SED.root= -e 's,-o root,-o ${ROOT_USER},'
post-extract:
${RM} -f ${WRKSRC}/videolib/videolib.o
pre-configure:
set -e; if [ -r /usr/include/machine/mouse.h ] ; then \
${ECHO} '#define HAVE_MOUSE_H 1' > ${WRKSRC}/netbsdconf.h; \
else \
${ECHO} '#define HAVE_MOUSE_H 0' > ${WRKSRC}/netbsdconf.h; \
fi
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXxf86dga/buildlink3.mk"
.include "../../x11/libXxf86vm/buildlink3.mk"
.include "../../x11/xf86dgaproto/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|