summaryrefslogtreecommitdiffstats
path: root/net/gnomemeeting/Makefile
blob: c7f73b2028b69756e75f5101f0a863aafcafe0fc (plain)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Ports collection Makefile for:	gnomemeeting
# Date created:				24/07/2001
# Whom:					roger@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=	gnomemeeting
PORTVERSION=	1.2.1
PORTREVISION=	1
CATEGORIES=	net gnome
MASTER_SITES=	${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR=	sources/${PORTNAME}/${PORTVERSION:R}

MAINTAINER=	netchild@FreeBSD.org
COMMENT=	GNOME H323 Video Conferencing program, similar to NetMeeting

LIB_DEPENDS=	h323_r:${PORTSDIR}/net/openh323 \
		howl:${PORTSDIR}/net/howl

DEPRECATED=	Superseeded by net/ekiga
EXPIRATION_DATE=2006-06-01
BROKEN=		conflict between howl for gnomemeeting and avahi for GNOME 2.14

USE_BZIP2=	yes
USE_X_PREFIX=	yes
USE_GETTEXT=	yes
USE_GMAKE=	yes
USE_GNOME=	libgnomeui libbonobo gnomeprefix gnomehack evolutiondataserver \
		intlhack
INSTALLS_OMF=	yes
USE_OPENLDAP=	yes
GCONF_SCHEMAS=	gnomemeeting.schemas
USE_SDL=	yes
USE_BISON=	yes
# Clear configure target so we stop getting binaries prefixed with i386-portbld-freebsd46
CONFIGURE_TARGET=
USE_AUTOTOOLS=	libtool:15
CONFIGURE_ENV=	OSTYPE=${OPSYS} \
		CXXFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${PREFIX}/lib -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
		SDL_CONFIG=${LOCALBASE}/bin/sdl11-config \
		CPPFLAGS="-I${LOCALBASE}/include ${LDAP_CPPFLAGS} ${PTHREAD_CFLAGS}" \
		PTLIBDIR=${PREFIX}

CONFIGURE_ARGS=	--with-pwlib-dir=${LOCALBASE} \
		--with-openh323-dir=${LOCALBASE} \
 		--with-ldap-dir=${LOCALBASE}

MAN1=	gnomemeeting.1

.include <bsd.port.pre.mk>

.if ${ARCH} == sparc64 && ${OSVERSION} <= 700003
BROKEN= configure fails due to missing symbol in default thread library
.endif

.if (${WANT_OPENLDAP_VER} == "23")
LDAP_CPPFLAGS=	-DLDAP_DEPRECATED
.endif

post-patch:
	${REINPLACE_CMD} -e 's:-lh323_FreeBSD_x86_r_s:-lh323_r:g; \
		s:-lpt_FreeBSD_x86_r_s:-lpt_r:g; \
		s:-lh323_FreeBSD_x86_r:-lh323_r:g; \
		s:-lpt_FreeBSD_x86_r:-lpt_r:g; \
		s: -DSTATIC_LIBS_USED::g' \
		${WRKSRC}/configure

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud