blob: 762583cb19ddba6af2fff82cc09f4d8571c1f86c (
plain)
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
|
# Created by: Max Khon <fjoe@FreeBSD.org>
# $FreeBSD$
PORTNAME= libfb
PORTVERSION= 2.0.2
PORTREVISION= 2
CATEGORIES= net net-mgmt
MASTER_SITES= http://support.red-fone.com/downloads/fonulator/
MAINTAINER= fjoe@FreeBSD.org
COMMENT= FoneBRIDGE configuration library
LIB_DEPENDS= libnet.so:${PORTSDIR}/net/libnet
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-shared
CPPFLAGS+= ${LIBNET_CPPFLAGS}
INSTALL_TARGET= install-strip
USES= libtool
LIBNET_CONFIG= ${LOCALBASE}/bin/libnet11-config
LIBNET_CPPFLAGS=`${LIBNET_CONFIG} --cflags` `${LIBNET_CONFIG} --defines`
LIBNET_LIBS= `${LIBNET_CONFIG} --libs`
post-patch:
@${REINPLACE_CMD} 's,-lnet,${LIBNET_LIBS},' ${WRKSRC}/configure
.include <bsd.port.mk>
|