2003-01-19 22:01:51 +01:00
|
|
|
# New ports collection makefile for: linphone
|
|
|
|
# Date created: 30 December 2002
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2004-05-12 16:06:31 +02:00
|
|
|
PORTNAME= ${LINPHONE_PORTNAME}
|
|
|
|
PORTVERSION= ${LINPHONE_PORTVERSION}
|
2005-03-12 11:54:27 +01:00
|
|
|
PORTREVISION= 2
|
2004-05-12 16:06:31 +02:00
|
|
|
PORTREVISION= ${LINPHONE_PORTREVISION}
|
|
|
|
PORTEPOCH= ${LINPHONE_PORTEPOCH}
|
|
|
|
CATEGORIES= net gnome
|
|
|
|
MASTER_SITES= ${LINPHONE_MASTER_SITES}
|
2003-01-19 22:01:51 +01:00
|
|
|
|
2003-07-29 11:12:37 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A web phone that supports SIP protocol
|
2003-01-19 22:01:51 +01:00
|
|
|
|
2005-04-04 23:42:06 +02:00
|
|
|
LIB_DEPENDS= linphone.1:${PORTSDIR}/net/linphone-base
|
2003-01-19 22:01:51 +01:00
|
|
|
|
2004-05-12 16:06:31 +02:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GNOME= gnomehack gnomeprefix gnomepanel
|
2003-01-19 22:01:51 +01:00
|
|
|
USE_GMAKE= yes
|
2003-10-23 05:29:23 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
2005-04-04 23:42:06 +02:00
|
|
|
CONFIGURE_ARGS= --disable-ipv6 --disable-gtk-doc \
|
|
|
|
--with-speex=${LOCALBASE} --with-osip=${LOCALBASE}
|
2004-05-12 16:06:31 +02:00
|
|
|
MAKE_ENV= SUBDIRS="pixmaps gnome"
|
2004-01-16 15:36:21 +01:00
|
|
|
|
2004-05-12 16:06:31 +02:00
|
|
|
MAN1= linphone.1
|
2004-01-16 15:36:21 +01:00
|
|
|
|
2004-05-12 16:06:31 +02:00
|
|
|
CFLAGS+= -DPACKAGE_LOCALE_DIR='\"${LOCALBASE}/share/locale\"' \
|
|
|
|
-DPACKAGE_DATA_DIR='\"${PREFIX}/share/gnome\"' \
|
|
|
|
-DPACKAGE_SOUND_DIR='\"${LOCALBASE}/share/linphone/sounds\"'
|
|
|
|
|
|
|
|
.include "${.CURDIR}/../../net/linphone-base/Makefile.common"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/share/C/linphone.1 ${MANPREFIX}/man/man1
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/share/linphone.desktop \
|
|
|
|
${PREFIX}/share/gnome/applications
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|