summaryrefslogtreecommitdiff
path: root/devel/ptlib/Makefile
blob: cb517d5bf32081b19ee819bfd2c14939679256a2 (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
# $NetBSD: Makefile,v 1.27 2016/03/05 11:27:46 jperkin Exp $

DISTNAME=	ptlib-2.10.7
PKGREVISION=	10
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GNOME:=sources/ptlib/2.10/}
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	darcy@NetBSD.org
HOMEPAGE=	http://www.ekiga.net/
COMMENT=	Portable Windows Libary
# modified-bsd stands for Spencer's regex license, quite similar
LICENSE=	mpl-1.0 AND modified-bsd

CONFLICTS+=	pwlib-[0-9]*

USE_TOOLS+=		bison flex gmake pkg-config
BUILD_TARGET=		optshared
USE_LANGUAGES=		c c++
USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--enable-httpforms
CONFIGURE_ARGS+=	--enable-httpsvc
CONFIGURE_ARGS+=	--enable-plugins
CONFIGURE_ARGS+=	--enable-jabber
CONFIGURE_ARGS+=	--enable-vxml
CONFIGURE_ARGS+=	--enable-xmlrpc
CONFIGURE_ARGS+=	--enable-soap
CONFIGURE_ARGS+=	--enable-oss
CONFIGURE_ARGS+=	--enable-opal
CONFIGURE_ARGS+=	--enable-openldap
#CONFIGURE_ARGS+=	--enable-openssl
CONFIGURE_ARGS+=	--enable-expat
#CONFIGURE_ARGS+=	--enable-samples
CONFIGURE_ARGS+=	--disable-bsdvideo
CONFIGURE_ARGS+=	--disable-sunaudio
CONFIGURE_ARGS+=	--disable-alsa
CONFIGURE_ARGS+=	--disable-avc
CONFIGURE_ARGS+=	--disable-dc
CONFIGURE_ARGS+=	--disable-pulse
PTHREAD_OPTS+=		require

.include "../../mk/bsd.prefs.mk"

PLIST_VARS+=	video4l2

.if ${OPSYS} != "DragonFly"
CONFIGURE_ARGS+=	--enable-v4l2
PLIST.video4l2=		yes
.endif

post-install:
	${INSTALL_DATA} ${WRKSRC}/version.h ${DESTDIR}${PREFIX}/share/ptlib

.include "../../databases/openldap-client/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../graphics/libv4l/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../lang/lua/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"