# $FreeBSD: tags/RELEASE_12_1_0/net/h323plus/Makefile 490248 2019-01-14 12:38:19Z swills $

PORTNAME=	h323plus
DISTVERSIONPREFIX=      v
DISTVERSION=    1_27_0
CATEGORIES=	net multimedia

MAINTAINER=	koue@chaosophia.net
COMMENT=	H323 Video Conferencing library

LICENSE=	MPL10 MPL11
LICENSE_COMB=	multi

LIB_DEPENDS=	libpt.so:devel/ptlib

USE_GITHUB=	yes
GH_ACCOUNT=	willamowius
GH_PROJECT=	h323plus

USES=		gmake ssl
USE_LDCONFIG=	yes

GNU_CONFIGURE=	yes
# ptlib-config --libs returns bogus dependencies on expat and SDL-1.2
LDFLAGS+=	-Wl,--as-needed

MAKE_JOBS_UNSAFE=yes

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libh323.so

.include <bsd.port.mk>
