aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/nvtv/Makefile
blob: 125c914fb0c2b50810e95309ed3e903d67fd5b1a (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
# 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
CATEGORIES= sysutils
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= nv-tv-out
DISTNAME=   nvtv-${PORTVERSION}

MAINTAINER= sam@rfc1149.net
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}

USE_LIBTOOL_VER=    15
USE_GETOPT_LONG=    yes
USE_GNOME=  gtk12
USE_REINPLACE=  yes

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>