freebsd-ports/net/ekiga/Makefile
Sam Lawrance ae67238a95 - Add a bison %pure-parser declaration in pwlib. The build was
depending on old bison behaviour (#define YYPURE) which no longer
  works.  Fixes crash of opengk and maybe more.

- Bump PORTREVISION of ports using pwlib (they link with it statically)

PR:		ports/61053
Submitted by:	Andrew MacTaggart <amactaggart@hkis.edu.hk>
Approved by:	clement (mentor)
2005-05-16 02:45:10 +00:00

58 lines
1.9 KiB
Makefile

# Ports collection Makefile for: gnomemeeting
# Date created: 24/07/2001
# Whom: roger@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= gnomemeeting
PORTVERSION= 0.98.5
PORTREVISION= 6
CATEGORIES= net gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.98
MAINTAINER= kwm@FreeBSD.org
COMMENT= GNOME H323 Video Conferencing program, similar to NetMeeting
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/net/openh323:build
# note, we do not want to clean openh323, otherwise it has to build
# it all over again which can take several hours.
NOCLEANDEPENDS= yes
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= libgnomeui libbonobo gnomeprefix gnomehack
USE_REINPLACE= yes
USE_OPENLDAP= yes
USE_BISON= yes
# Clear configure target so we stop getting binaries prefixed with i386-portbld-freebsd46
CONFIGURE_TARGET=
GNU_CONFIGURE= YES
CONFIGURE_ENV= OSTYPE=${OPSYS} \
LIBS="-L${PREFIX}/lib -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
PTLIBDIR=${WRKDIRPREFIX}${.CURDIR}/../../devel/pwlib/work/pwlib \
OPENH323DIR=${WRKDIRPREFIX}${.CURDIR}/../openh323/work/openh323 \
SDL_CONFIG=${LOCALBASE}/bin/sdl11-config \
CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}"
CONFIGURE_ARGS= --with-ptlib-includes=${WRKDIRPREFIX}${.CURDIR}/../../devel/pwlib/work/pwlib/include/ptlib \
--with-ptlib-libs=${WRKDIRPREFIX}${.CURDIR}/../../devel/pwlib/work/pwlib/lib \
--with-openh323-includes=${WRKDIRPREFIX}${.CURDIR}/../openh323/work/openh323/include \
--with-openh323-libs=${WRKDIRPREFIX}${.CURDIR}/../openh323/work/openh323/lib \
--with-ldap-includes=${LOCALBASE}/include \
--with-openldap-libs=${LOCALBASE}/lib
GCONF_SCHEMAS= gnomemeeting.schemas
MAN1= gnomemeeting.1
.include <bsd.port.pre.mk>
post-patch:
${REINPLACE_CMD} -E -e 's=-D[[:punct:][:alnum:]]+_DISABLE_DEPRECATED==g' \
${WRKSRC}/src/Makefile.am \
${WRKSRC}/src/Makefile.in
.include <bsd.port.post.mk>