# $FreeBSD: net/libosip2/Makefile 328226 2013-09-25 00:54:08Z bdrewery $

PORTNAME=	libosip2
PORTVERSION=	4.0.0
CATEGORIES=	net
MASTER_SITES=	GNU/osip

MAINTAINER=	5u623l20@gmail.com
COMMENT=	Low layer of SIP implementation

LICENSE=	LGPL21

CONFIGURE_ARGS=	--disable-debug --disable-trace
USE_AUTOTOOLS=	libtool
USE_LDCONFIG=	yes
USES=		pathfix pkgconfig

post-patch:
	@${REINPLACE_CMD} -e "s|-pthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
	@${REINPLACE_CMD} -e "/^SUBDIRS/s| help | |g" ${WRKSRC}/Makefile.in

.include <bsd.port.mk>
