aboutsummaryrefslogtreecommitdiffstats
path: root/net/cphone/Makefile
blob: b6d25883ecb043b79907947142b1e321e31b2c02 (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
# 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
DISTVERSION=    0.3.2.cvs.20060407
PORTREVISION=   5
CATEGORIES= net
MASTER_SITES=   ftp://ftp.frm2.tum.de/pub/jpulz/FreeBSD/distfiles/

MAINTAINER= Joerg.Pulz@frm2.tum.de
COMMENT=    H323 Video Conferencing Program which uses QT

LIB_DEPENDS=    h323_r.1:${PORTSDIR}/net/openh323
BUILD_DEPENDS=  qmake:${PORTSDIR}/devel/qmake

PLIST_FILES=    bin/cphone
USE_BZIP2=  yes
USE_BISON=  build
USE_QT_VER= 3
USE_GMAKE=  yes
ALL_TARGET= optshared
MAKE_ENV=   QTDIR=${QT_PREFIX} \
        PWLIBDIR=${LOCALBASE}/share/pwlib \
        OPENH323DIR=${LOCALBASE}/share/openh323 \
        SYSLIBDIR=${LOCALBASE}/lib
MAKE_ARGS=  OSTYPE=${OPSYS} MACHTYPE=${ARCH:S/i386/x86/} \
        OSRELEASE=${OSVERSION} CPLUS=${CXX}

.include <bsd.port.pre.mk>

.if ${ARCH} == sparc64 && ${OSVERSION} <= 700003
BROKEN= does not link due to missing symbol in default thread library
.endif

post-patch:
    @${REINPLACE_CMD} -e '/graphdisplay.h/d' -e '/videodisplay.h/d' \
        -e '/labeldisplay.h/d' ${WRKSRC}/mainwindow.ui \
        ${WRKSRC}/settings.ui ${WRKSRC}/statistics.ui

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/obj_r/cphone ${PREFIX}/bin

.include <bsd.port.post.mk>