freebsd-ports/net/cphone/Makefile
Rong-En Fan 2c8a0e00ab - Fix build with new openh323/pwlib
PR:		ports/121290
Submitted by:	rafan
Approved by:	portmgr (marcus)
2008-03-10 12:45:41 +00:00

47 lines
1.2 KiB
Makefile

# 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= 3
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>