blob: 701358aef683484a60cc12477f789fcac6cde439 (
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
|
# $NetBSD: Makefile,v 1.47 2020/08/17 20:19:06 leot Exp $
DISTNAME= nvtv-0.4.7
PKGREVISION= 38
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nv-tv-out/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://sourceforge.net/projects/nv-tv-out/
COMMENT= Tool to manipulate TV-Out settings on NVidia cards
ONLY_FOR_PLATFORM= *-*-i386 # uses iopl()
ONLY_FOR_PLATFORM+= *-*-x86_64 # may not build without some hacking
NOT_FOR_PLATFORM+= NetBSD-*-x86_64 # lack of x86_64_[gs]_set_ioperm.
CONFLICTS= nvtv-gtk2-[0-9]*
USE_TOOLS+= pkg-config
GNU_CONFIGURE= YES
RCD_SCRIPTS= nvtvd
INSTALLATION_DIRS+= share/doc/nvtv
post-patch:
${CP} ${WRKSRC}/man/nvtv.1x ${WRKSRC}/man/nvtv.1
post-install:
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/FAQ ${WRKSRC}/doc/USAGE \
${WRKSRC}/doc/chips.txt \
${WRKSRC}/doc/overview.txt ${WRKSRC}/doc/timing.txt \
${DESTDIR}${PREFIX}/share/doc/nvtv
.include "../../sysutils/pciutils/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../x11/libXxf86vm/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|