aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/fxtv/Makefile
blob: 6c4870f4591149bd3ea18d0278906d8dbcf5966e (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
39
40
41
42
43
44
45
46
47
48
49
50
51
# New ports collection makefile for:    fxtv
# Date created:     Thu Nov  4 19:54:04 EST 1999
# Whom:         Randall Hopper <aa8vb@nc.rr.com>
#
# $FreeBSD$
#

PORTNAME=   fxtv
PORTVERSION=    1.03
PORTREVISION=   5
CATEGORIES= multimedia
MASTER_SITES=       ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= rhh
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    X-based TV Display and Capture Application (for use with bt848 driver)

LIB_DEPENDS=    tiff.4:${PORTSDIR}/graphics/tiff \
        Xaw3d:${PORTSDIR}/x11-toolkits/Xaw3d

USE_X_PREFIX=   yes
USE_XPM=    yes
USE_GMAKE=  yes
MAKE_FLAGS= -e
MAN1=       fxtv.1

ONLY_FOR_ARCHS= alpha i386 ia64 amd64

OPTIONS=    EXTRA "Extra programs required to record/playback/save" off

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700042
BROKEN=     Broken with gcc 4.2
.endif

# This program does not actually require the programs below unless you
#   use audio/video recording and/or playback and save to a non-raw format.
.if defined(WITH_EXTRA)
RUN_DEPENDS+=   sox:${PORTSDIR}/audio/sox \
        mpg123:${PORTSDIR}/audio/mpg123 \
        mpeg_musicin:${PORTSDIR}/audio/mpegaudio \
        mpeg_encode:${PORTSDIR}/multimedia/mpeg_encode \
        mplex:${PORTSDIR}/multimedia/mplex
.endif

pre-install:
    ${CP} ${WRKSRC}/fxtv.1 ${WRKSRC}/fxtv.man

.include <bsd.port.post.mk>