blob: ff2f12d10159904bbffdd1dcafca047f76de7108 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# New ports collection makefile for: linphone
# Date created: 30 December 2002
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ${LINPHONE_PORTNAME}
PORTVERSION= ${LINPHONE_PORTVERSION}
PORTREVISION= 2
PORTREVISION= ${LINPHONE_PORTREVISION}
PORTEPOCH= ${LINPHONE_PORTEPOCH}
CATEGORIES= net gnome
MASTER_SITES= ${LINPHONE_MASTER_SITES}
MAINTAINER= ports@FreeBSD.org
COMMENT= A web phone that supports SIP protocol
LIB_DEPENDS= linphone.0:${PORTSDIR}/net/linphone-base
USE_X_PREFIX= yes
USE_GNOME= gnomehack gnomeprefix gnomepanel
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
CONFIGURE_ARGS= --disable-ipv6
MAKE_ENV= SUBDIRS="pixmaps gnome"
MAN1= linphone.1
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
.for lang in C fr it ja
@${MKDIR} ${PREFIX}/share/gnome/help/linphone/${lang}
${INSTALL_DATA} ${WRKSRC}/share/${lang}/manual/*.html \
${PREFIX}/share/gnome/help/linphone/${lang}
.endfor
.for lang in C fr it
${INSTALL_DATA} ${WRKSRC}/share/${lang}/manual/*.css \
${PREFIX}/share/gnome/help/linphone/${lang}
.endfor
.include <bsd.port.post.mk>
|