summaryrefslogtreecommitdiff
path: root/net-im/linux-instantbird/Makefile
blob: cfbab89248878b82ce1b86cfe522c55c5d852c36 (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
# $FreeBSD$

PORTNAME=	instantbird
DISTVERSION=	1.5
DISTVERSIONSUFFIX=.${LOCALE}.linux-i686
PORTREVISION=	2
CATEGORIES=	net-im irc ipv6
MASTER_SITES=	http://ftp.instantbird.com/instantbird/releases/${DISTVERSION}/ \
		GOOGLE_CODE

MAINTAINER=	gecko@FreeBSD.org
COMMENT=	Instant Messaging client based on XULRunner and libpurple

BROKEN=		Unfetchable (google code has gone away)
DEPRECATED=	Unfetchable for more than six months (google code has gone away)
EXPIRATION_DATE=	2017-04-30

USES=		tar:bzip2
USE_LINUX=	libxml2 #avahiglib avahilibs

ALL_LOCALES=	cs de en-US es-ES et fr nl pl pt-BR ru sk sv-SE uk
LOCALE=		${${PORT_OPTIONS:MLANG_*}}
PLIST_SUB=	LOCALE="${LOCALE}"
EXTRACT_AFTER_ARGS=--exclude '*/searchplugins'

OPTIONS_DEFAULT=LANG_US
OPTIONS_SINGLE=	L10N

L10N_DESC?= 	Localization

.for l in ${ALL_LOCALES}
OPTIONS_SINGLE_L10N+=LANG_${l:tu:C/.*-//}
LANG_${l:tu:C/.*-//}= ${l}
. if defined(PACKAGE_BUILDING)
DISTFILES+=	${DISTNAME:S/${LOCALE}/${l}/}${EXTRACT_SUFX}
. endif
.endfor

.include "${.CURDIR}/../../www/linux-seamonkey/Makefile.common"
.include <bsd.port.mk>