diff options
author | sobomax <sobomax@FreeBSD.org> | 2003-01-20 04:43:32 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2003-01-20 04:43:32 +0800 |
commit | 81f633ad3ff26d4a989111934fe71bcfc781fed0 (patch) | |
tree | 0f0b3f8764243792043530646c4dd8302da9e7dc /net/b2bua/Makefile | |
parent | acfd2faea2778ddf819bdacd18f3afad518a9360 (diff) | |
download | freebsd-ports-gnome-81f633ad3ff26d4a989111934fe71bcfc781fed0.tar.gz freebsd-ports-gnome-81f633ad3ff26d4a989111934fe71bcfc781fed0.tar.zst freebsd-ports-gnome-81f633ad3ff26d4a989111934fe71bcfc781fed0.zip |
Add b2bua 1.4.0, a back-to-back (B2B) SIP user agent.
Diffstat (limited to 'net/b2bua/Makefile')
-rw-r--r-- | net/b2bua/Makefile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/net/b2bua/Makefile b/net/b2bua/Makefile new file mode 100644 index 000000000000..82ab8ca783f7 --- /dev/null +++ b/net/b2bua/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: b2bua +# Date created: 6 December 2002 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= b2bua +PORTVERSION= 1.4.0 +CATEGORIES= net +MASTER_SITES= http://www.vovida.org/downloads/b2bua/ + +MAINTAINER= sobomax@FreeBSD.org + +LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \ + lthread:${PORTSDIR}/devel/linuxthreads + +USE_GMAKE= yes +ALL_TARGET= b2bua +CFLAGS+= -I${LOCALBASE}/include/pthread/linuxthreads \ + -I${LOCALBASE}/include/libxml2 \ + -I${LOCALBASE}/include/libxml2/libxml \ + -I${LOCALBASE}/include -Wno-deprecated +PTHREAD_LDFLAGS= -L${LOCALBASE}/lib -llthread -llgcc_r +MAKE_ENV= PTHREAD_LDFLAGS="${PTHREAD_LDFLAGS}" \ + PTHREAD_LIBNAME="" + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 500035 +PTHREAD_LDFLAGS+= -llstdc++ -llsupc++ +.endif + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/sip/b2b/bin.nodebug.FreeBSD.i386/b2bua \ + ${PREFIX}/bin + ${MKDIR} ${DOCSDIR} +.for file in README HOWTO b2bdesign.pdf Doc/B2BUA.pdf + ${INSTALL_DATA} ${WRKSRC}/sip/b2b/${file} ${DOCSDIR} +.endfor + ${INSTALL_DATA} ${WRKSRC}/sip/b2b/b2bConfig.xml \ + ${PREFIX}/etc/b2bConfig.xml.sample + +.include <bsd.port.post.mk> |