Lines 10-15
Link Here
|
10 |
MAINTAINER= ports@FreeBSD.org |
10 |
MAINTAINER= ports@FreeBSD.org |
11 |
COMMENT= Google Talk's implementation of Jingle and Jingle-Audio |
11 |
COMMENT= Google Talk's implementation of Jingle and Jingle-Audio |
12 |
|
12 |
|
|
|
13 |
LICENSE= BSD |
14 |
LICENSE_FILE= ${WRKSRC}/COPYING |
15 |
|
13 |
LIB_DEPENDS= speex:${PORTSDIR}/audio/speex \ |
16 |
LIB_DEPENDS= speex:${PORTSDIR}/audio/speex \ |
14 |
ilbc:${PORTSDIR}/net/ilbc \ |
17 |
ilbc:${PORTSDIR}/net/ilbc \ |
15 |
ortp:${PORTSDIR}/net/linphone-base \ |
18 |
ortp:${PORTSDIR}/net/linphone-base \ |
Lines 19-44
Link Here
|
19 |
clusterit-[0-9]* pcp-[0-9]* synce-librapi2-[0-9]* |
22 |
clusterit-[0-9]* pcp-[0-9]* synce-librapi2-[0-9]* |
20 |
|
23 |
|
21 |
USES= pkgconfig |
24 |
USES= pkgconfig |
|
|
25 |
USE_DOS2UNIX= README |
22 |
USE_GNOME= glib20 |
26 |
USE_GNOME= glib20 |
23 |
USE_OPENSSL= yes |
27 |
USE_OPENSSL= yes |
24 |
USE_AUTOTOOLS= libtool |
|
|
25 |
USE_DOS2UNIX= README |
26 |
USE_GMAKE= yes |
28 |
USE_GMAKE= yes |
27 |
GNU_CONFIGURE= yes |
29 |
USE_AUTOTOOLS= libtool |
28 |
CONFIGURE_ARGS= --with-ilbc=${LOCALBASE} \ |
30 |
CONFIGURE_ENV= EXPAT_CFLAGS="-I${LOCALBASE}/include" \ |
29 |
--with-speex=${LOCALBASE} |
|
|
30 |
CONFIGURE_ENV= PKG_CONFIG="${PKG_CONFIG}" \ |
31 |
EXPAT_CFLAGS="-I${LOCALBASE}/include" \ |
32 |
EXPAT_LIBS="-L${LOCALBASE}/lib -lexpat" \ |
31 |
EXPAT_LIBS="-L${LOCALBASE}/lib -lexpat" \ |
33 |
GLIB_CFLAGS="$$(${PKG_CONFIG} --cflags glib-2.0)" \ |
32 |
GLIB_CFLAGS="$$(pkg-config --cflags glib-2.0)" \ |
34 |
GLIB_LIBS="$$(${PKG_CONFIG} --libs glib-2.0)" \ |
33 |
GLIB_LIBS="$$(pkg-config --libs glib-2.0)" \ |
35 |
ILBC_CFLAGS="-I${LOCALBASE}/include/ilbc" \ |
34 |
ILBC_CFLAGS="-I${LOCALBASE}/include/ilbc" \ |
36 |
ILBC_LIBS="-L${LOCALBASE}/lib -lilbc" \ |
35 |
ILBC_LIBS="-L${LOCALBASE}/lib -lilbc" \ |
37 |
SPEEX_CFLAGS="$$(${PKG_CONFIG} --cflags speex)" \ |
36 |
SPEEX_CFLAGS="$$(pkg-config --cflags speex)" \ |
38 |
SPEEX_LIBS="$$(${PKG_CONFIG} --libs speex)" |
37 |
SPEEX_LIBS="$$(pkg-config --libs speex)" |
39 |
CPPFLAGS+= -I${LOCALBASE}/include -I${OPENSSLINC} ${PTHREAD_CFLAGS} -g |
38 |
CONFIGURE_ARGS= --with-ilbc=${LOCALBASE} \ |
|
|
39 |
--with-speex=${LOCALBASE} |
40 |
MAKE_JOBS_SAFE= yes |
40 |
MAKE_JOBS_SAFE= yes |
41 |
LDFLAGS+=-L${LOCALBASE}/lib -L${OPENSSLLIB} ${PTHREAD_LIBS} |
41 |
|
|
|
42 |
CPPFLAGS+= -I${OPENSSLINC} -I${LOCALBASE}/include -g |
43 |
LDFLAGS+= -L${OPENSSLLIB} -L${LOCALBASE}/lib -pthread |
42 |
|
44 |
|
43 |
PORTDOCS= AUTHORS \ |
45 |
PORTDOCS= AUTHORS \ |
44 |
ChangeLog \ |
46 |
ChangeLog \ |
Lines 72-77
Link Here
|
72 |
'#define ${feature} 1' >> \ |
74 |
'#define ${feature} 1' >> \ |
73 |
${CONFIGURE_WRKSRC}/config.h |
75 |
${CONFIGURE_WRKSRC}/config.h |
74 |
.endfor |
76 |
.endfor |
|
|
77 |
@${REINPLACE_CMD} -e \ |
78 |
'/^int main/s|char\* argv|char** argv|' \ |
79 |
${WRKSRC}/talk/base/virtualsocket_unittest.cc |
80 |
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ |
81 |
's|`pkg-config --cflags gtk+-2.0`|| ; \ |
82 |
s|-lpthread|-pthread|' |
75 |
|
83 |
|
76 |
post-install: |
84 |
post-install: |
77 |
.if ${PORT_OPTIONS:MDOCS} |
85 |
.if ${PORT_OPTIONS:MDOCS} |