aboutsummaryrefslogblamecommitdiff
path: root/net/ekiga/Makefile
blob: 4b28acc64affc1ad8622a375e5506b787957be66 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                         
                      
                 
                         

                                                
 
                               
                                                                            
 
                                                             
 
                                                                   
                                                 
                   
 
                   
                   
                   
                                                          
                   
                   



                                                                                         
                                 
                                                           
                                                                                 



                                                                                 
                                                                                                            
                                                                                              

                                                                                                      

                                                           
                                    
                              








                                                                                  
# Ports collection Makefile for:	gnomemeeting
# Date created:				24/07/2001
# Whom:					roger@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=	gnomemeeting
PORTVERSION=	0.98.5
PORTREVISION=	5
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" \
		PTLIBDIR=${WRKDIRPREFIX}${.CURDIR}/../../devel/pwlib/work/pwlib \
		OPENH323DIR=${WRKDIRPREFIX}${.CURDIR}/../openh323/work/openh323 \
		SDL_CONFIG=${LOCALBASE}/bin/sdl11-config \
		CPPFLAGS="-I${LOCALBASE}/include"

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>