1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/net/cphone/Makefile
Baptiste Daroussin 9250d94365 Convert USE_BISON to USES= bison
It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build

it brings bison as a run dependency in case it is set the following way:
USES= bison:run

it brings bison both as a run and build dependency in case it the set the following way:
USES= bison:both

While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
2013-03-08 11:32:11 +00:00

41 lines
1.0 KiB
Makefile

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