aboutsummaryrefslogtreecommitdiffstats
path: root/net/cphone/Makefile
blob: 814c42f83780e871c3e8be6f005019435e132724 (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
# New ports collection makefile for:    cphone
# Date created:     Thu May 24 15:50:00 BST 2000
# Whom:         Roger Hardiman <roger@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   cphone
PORTVERSION=    0.3.1
PORTREVISION=   2
CATEGORIES= net
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    H323 Video Conferencing Program which uses QT

BUILD_DEPENDS=  ${NONEXISTENT}:${PORTSDIR}/net/openh323-112:build \
        qmake:${PORTSDIR}/devel/qmake

NOCLEANDEPENDS= yes

PLIST_FILES=    bin/cphone
USE_BZIP2=  yes
USE_BISON=  yes
USE_QT_VER= 3
USE_GMAKE=  yes
ALL_TARGET= optnoshared
MAKE_ENV=   QTDIR=${X11BASE} \
        PWLIBDIR=${WRKDIRPREFIX}${.CURDIR}/../../devel/pwlib152/work/pwlib \
        OPENH323DIR=${WRKDIRPREFIX}${.CURDIR}/../openh323-112/work/openh323
THE_MACHTYPE=   ${ARCH:S/i386/x86/}
MAKE_ARGS=  OSTYPE=${OPSYS} MACHTYPE=${THE_MACHTYPE} OSRELEASE=${OSVERSION} CPLUS=${CXX}

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 502126
BROKEN=     "Does not compile on FreeBSD >= 5.x"
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/obj_${OPSYS}_${THE_MACHTYPE}_r/cphone ${PREFIX}/bin

.include <bsd.port.post.mk>