aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/linux-instantbird/Makefile
blob: efafd5a7dafa711794de23b0c4b3ca44a86e1ee3 (plain) (blame)
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
# $FreeBSD$

PORTNAME=   instantbird
DISTVERSION=    1.5
DISTVERSIONSUFFIX=.${LOCALE}.linux-i686
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

USES=       tar:bzip2
USE_LINUX_APPS= 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>