aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/nvtv/Makefile
blob: 508088d74fe6ac7df891c4376c10c2eedbf40abc (plain) (blame)
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
# New ports collection makefile for:    nv-tv-out
# Date Created:             19 May 2004
# Whom:                 Samuel Tardieu <sam@rfc1149.net>
#
# $FreeBSD$
#

PORTNAME=   nvtv
PORTVERSION=    0.4.7
PORTREVISION=   1
CATEGORIES= sysutils
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= nv-tv-out
DISTNAME=   nvtv-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    TV output on nvidia card

LIB_DEPENDS=    pci.2:${PORTSDIR}/devel/libpci

ONLY_FOR_ARCHS= i386

CONFIGURE_ENV=  CC="${CC} -I${PREFIX}/include"
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+=    --x-includes=${X11BASE}/include --x-libraries=${X11BASE}/lib

GNU_CONFIGURE=  yes
USE_GETOPT_LONG=    yes
USE_GNOME=  gtk12

MAN1=       nvtv.1x
MAN8=       nvtvd.8
PLIST_FILES=    bin/nvtv bin/nvtvd

post-patch:
    @${REINPLACE_CMD} -e 's|-lgnugetopt||g' ${WRKSRC}/configure

.include <bsd.port.mk>