aboutsummaryrefslogtreecommitdiffstats
path: root/net/cphone/Makefile
blob: 5a034db2e0dc6c2e2180044e749f4d7af86ecd72 (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
# Created by: Roger Hardiman <roger@FreeBSD.org>
# $FreeBSD$

PORTNAME=   cphone
DISTVERSION=    0.3.2.cvs.20060407
PORTREVISION=   10
CATEGORIES= net
MASTER_SITES=   ftp://ftp.frm2.tum.de/pub/jpulz/FreeBSD/distfiles/

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

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

DEPRECATED= Depends on QT3; unmaintained
EXPIRATION_DATE=    2013-07-01

PLIST_FILES=    bin/cphone
USE_BZIP2=  yes
USES=       bison
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}

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.mk>