blob: 82ab8ca783f7e832c5067c38664efc15516fb44f (
plain) (
blame)
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
|
# 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>
|