2003-01-19 21:01:51 +00:00
|
|
|
# New ports collection makefile for: linphone
|
|
|
|
# Date created: 30 December 2002
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= linphone
|
2003-11-22 21:24:41 +00:00
|
|
|
PORTVERSION= 0.12.1
|
2003-10-20 07:35:36 +00:00
|
|
|
PORTEPOCH= 1
|
2003-01-19 21:01:51 +00:00
|
|
|
CATEGORIES= net
|
2003-10-23 03:29:23 +00:00
|
|
|
MASTER_SITES= http://simon.morlat.free.fr/download/%SUBDIR%/
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTVERSION}/source
|
2003-01-19 21:01:51 +00:00
|
|
|
|
2003-07-29 09:12:37 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= A web phone that supports SIP protocol
|
2003-01-19 21:01:51 +00:00
|
|
|
|
2003-10-23 03:29:23 +00:00
|
|
|
LIB_DEPENDS= gsm.1:${PORTSDIR}/audio/gsm \
|
|
|
|
speex.2:${PORTSDIR}/audio/speex \
|
|
|
|
osip.9:${PORTSDIR}/net/libosip
|
2003-01-19 21:01:51 +00:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2003-10-23 03:29:23 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
2004-01-13 01:32:55 +00:00
|
|
|
CONFIGURE_ARGS= --disable-ipv6
|
|
|
|
.ifdef WITHOUT_GNOME
|
|
|
|
CONFIGURE_ARGS+=--enable-gnome-ui=no \
|
|
|
|
--with-html-dir=${DOCSDIR}
|
|
|
|
PLIST_SUB+= GNOME="@comment " \
|
|
|
|
GNOME_PATH="" \
|
|
|
|
HTMLDOCSDIR="${DOCSDIR:S,^${PREFIX}/,,}"
|
|
|
|
.else
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GNOME= gnomehack gnomeprefix gnomepanel
|
|
|
|
DOCSDIR= ${GNOME_HTML_DIR}
|
|
|
|
CONFIGURE_ARGS= --enable-gnome-ui=yes
|
|
|
|
PLIST_SUB+= GNOME="" \
|
|
|
|
GNOME_PATH="gnome/" \
|
|
|
|
HTMLDOCSDIR="${GNOME_HTML_DIR:S,^${PREFIX}/,,}"
|
|
|
|
.endif
|
2003-11-22 21:24:41 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2003-01-19 21:01:51 +00:00
|
|
|
|
2003-05-13 17:33:44 +00:00
|
|
|
MAN1= linphone.1 linphonec.1 sipomatic.1
|
2003-01-19 21:01:51 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|