2013-09-20 22:10:23 +00:00
|
|
|
# Created by: Max Khon <fjoe@FreeBSD.org>
|
2010-06-05 09:40:21 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libfb
|
2011-08-08 16:08:09 +00:00
|
|
|
PORTVERSION= 2.0.2
|
2011-04-18 17:42:30 +00:00
|
|
|
CATEGORIES= net net-mgmt
|
2010-06-05 09:40:21 +00:00
|
|
|
MASTER_SITES= http://support.red-fone.com/downloads/fonulator/
|
|
|
|
|
|
|
|
MAINTAINER= fjoe@FreeBSD.org
|
|
|
|
COMMENT= A foneBRIDGE configuration library
|
|
|
|
|
2011-08-08 16:08:09 +00:00
|
|
|
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet
|
|
|
|
|
2010-06-05 09:40:21 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-23 22:26:39 +00:00
|
|
|
CPPFLAGS+= ${LIBNET_CPPFLAGS}
|
|
|
|
LDFLAGS+= ${LIBNET_LIBS:N-l*}
|
2010-06-05 09:40:21 +00:00
|
|
|
CONFIGURE_ARGS= --disable-shared
|
|
|
|
|
|
|
|
LIBNET_CONFIG= ${LOCALBASE}/bin/libnet11-config
|
|
|
|
|
|
|
|
.if 0
|
|
|
|
# this does not work when LIBNET_CONFIG does not exist prior to building this port
|
|
|
|
LIBNET_CPPFLAGS!= ${LIBNET_CONFIG} --cflags --defines
|
|
|
|
LIBNET_LIBS!= ${LIBNET_CONFIG} --libs
|
|
|
|
.else
|
|
|
|
LIBNET_CPPFLAGS= -I${LOCALBASE}/include/libnet11
|
|
|
|
LIBNET_LIBS= -L${LOCALBASE}/lib/libnet11
|
|
|
|
.endif
|
|
|
|
|
2013-09-20 22:10:23 +00:00
|
|
|
NO_STAGE= yes
|
2010-06-05 09:40:21 +00:00
|
|
|
.include <bsd.port.mk>
|