2003-01-19 21:43:32 +01:00
|
|
|
# New ports collection makefile for: b2bua
|
|
|
|
# Date created: 6 December 2002
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= b2bua
|
2003-04-04 12:40:24 +02:00
|
|
|
PORTVERSION= 1.5.0
|
2004-02-04 06:10:27 +01:00
|
|
|
PORTREVISION= 2
|
2003-01-19 21:43:32 +01:00
|
|
|
CATEGORIES= net
|
2003-04-04 12:40:24 +02:00
|
|
|
MASTER_SITES= http://www.vovida.org/downloads/sip/${PORTVERSION}/
|
|
|
|
DISTNAME= sip-${PORTVERSION}
|
2003-01-19 21:43:32 +01:00
|
|
|
|
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A back-to-back (B2B) SIP user agent
|
2003-01-19 21:43:32 +01:00
|
|
|
|
2003-01-31 13:08:58 +01:00
|
|
|
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
|
2003-01-19 21:43:32 +01:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2004-03-13 22:00:56 +01:00
|
|
|
USE_GETOPT_LONG= yes
|
2003-01-19 21:43:32 +01:00
|
|
|
ALL_TARGET= b2bua
|
2003-04-04 12:40:24 +02:00
|
|
|
CFLAGS+= -Wno-deprecated
|
2003-01-31 13:08:58 +01:00
|
|
|
MAKE_ENV= PTHREAD_LDFLAGS="${PTHREAD_LIBS}" \
|
2003-04-04 12:40:24 +02:00
|
|
|
PTHREAD_LIBNAME="${PTHREAD_LIBNAME}" \
|
|
|
|
VOCAL_USE_SYSTEM_LIBXML=true
|
2003-01-19 21:43:32 +01:00
|
|
|
|
2004-11-18 22:57:42 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
|
|
BROKEN= "Does not compile on sparc64"
|
|
|
|
.endif
|
|
|
|
|
2006-02-10 00:14:29 +01:00
|
|
|
.if ${ARCH} == "amd64" && ${OSVERSION} >= 700000
|
|
|
|
BROKEN= Infinite loop during build on amd64
|
|
|
|
.endif
|
|
|
|
|
2003-01-19 21:43:32 +01:00
|
|
|
do-install:
|
2005-04-12 05:26:56 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/sip/b2b/bin.nodebug.FreeBSD.${MACHINE_ARCH}/b2bua \
|
2003-01-19 21:43:32 +01:00
|
|
|
${PREFIX}/bin
|
|
|
|
${MKDIR} ${DOCSDIR}
|
2003-04-04 12:40:24 +02:00
|
|
|
.for file in LICENSE HOWTO HOWTO.PROV b2bdesign.pdf
|
2003-01-19 21:43:32 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/sip/b2b/${file} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sip/b2b/b2bConfig.xml \
|
|
|
|
${PREFIX}/etc/b2bConfig.xml.sample
|
|
|
|
|
2004-11-18 22:57:42 +01:00
|
|
|
.include <bsd.port.post.mk>
|