1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/net/linphone/Makefile
Kirill Ponomarev 375fb6e8d6 - Update to version 0.12.2
- Divide net/linphone into 2 ports: net/linphone and
  net/linphone-base

PR:		ports/66396
Submitted by:	Ports Fury
2004-05-12 14:06:31 +00:00

53 lines
1.5 KiB
Makefile

# 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= ${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>