Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Feb 2006 20:33:56 +1300
From:      Matthew Luckie <mjl@luckie.org.nz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/93550: [new port] thunderbird-dictionaries
Message-ID:  <E1FAj4u-0002Aq-It@rayon.plunket.luckie.org.nz>
Resent-Message-ID: <200602190740.k1J7e2DG081642@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         93550
>Category:       ports
>Synopsis:       [new port] thunderbird-dictionaries
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 19 07:40:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Luckie
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
University of Waikato
>Environment:
System: FreeBSD rayon.plunket.luckie.org.nz 6.0-RELEASE FreeBSD 6.0-RELEASE #4: Wed Jan 4 13:42:42 NZDT 2006 root@rayon.plunket.luckie.org.nz:/usr/src/sys/i386/compile/rayon i386


	
>Description:
	Thunderbird has plugin dictionaries, but you need to be root to
	install them.  This port allows the appropriate dictionaries to be
	selected and installed.
>How-To-Repeat:
	N/A
>Fix:
--- thunderbird-dictionaries.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	thunderbird-dictionaries
#	thunderbird-dictionaries/distinfo
#	thunderbird-dictionaries/Makefile
#	thunderbird-dictionaries/pkg-descr
#	thunderbird-dictionaries/pkg-plist
#
echo c - thunderbird-dictionaries
mkdir -p thunderbird-dictionaries > /dev/null 2>&1
echo x - thunderbird-dictionaries/distinfo
sed 's/^X//' >thunderbird-dictionaries/distinfo << 'END-of-thunderbird-dictionaries/distinfo'
XMD5 (thunderbird/spell-af-ZA.xpi) = ae85349fb1274fe9c32ab05f85b5f463
XSHA256 (thunderbird/spell-af-ZA.xpi) = 2032dd39d317cda0eac8a36e8d89cd2f11af2e5a88bed8b958149622c77fb306
XSIZE (thunderbird/spell-af-ZA.xpi) = 595437
XMD5 (thunderbird/spell-bg.xpi) = 7a0bd2330808766be3576a480721b593
XSHA256 (thunderbird/spell-bg.xpi) = 481b9995d6cf40cbcfe64a0ac622966fccd3151f56b5c0426d61abdbeb9028c1
XSIZE (thunderbird/spell-bg.xpi) = 264986
XMD5 (thunderbird/spell-ca.xpi) = 2c1b1c98b33bc768aed7dc92a0a0c54b
XSHA256 (thunderbird/spell-ca.xpi) = a4d8c852e1fc420f2c16d97fbaca55b68d3b7198bc3456e41512032891f89a91
XSIZE (thunderbird/spell-ca.xpi) = 495044
XMD5 (thunderbird/spell-cs.xpi) = 2b97865792d0afdecb7acae16454a459
XSHA256 (thunderbird/spell-cs.xpi) = bafc6037efc3d733201703b2d5d9b2852e657222f31421498f1bea9d218828d1
XSIZE (thunderbird/spell-cs.xpi) = 628321
XMD5 (thunderbird/spell-cy-GB.xpi) = a0a673640b3b7ee3f0d8e1bafe20862f
XSHA256 (thunderbird/spell-cy-GB.xpi) = dd7b5b1ec2eed7977740b3249bad4b1cae176c4c7d84ddcad799b2a7ead86597
XSIZE (thunderbird/spell-cy-GB.xpi) = 689165
XMD5 (thunderbird/spell-da.xpi) = 950335a5cf28e1a425a2d0db825a5839
XSHA256 (thunderbird/spell-da.xpi) = 3460e85e6d0b0b5565f42a96feaaac01fb5ad6076ecd355f2e435b0a3318acc0
XSIZE (thunderbird/spell-da.xpi) = 537114
XMD5 (thunderbird/spell-de-AT.xpi) = b498f24a49120f9c33a73c50dfa00bd3
XSHA256 (thunderbird/spell-de-AT.xpi) = f403105aee755ad8230868343a67874935006f02d59261dbf894ecd94f05ebe9
XSIZE (thunderbird/spell-de-AT.xpi) = 11093
XMD5 (thunderbird/spell-de-CH.xpi) = 594cba9e951fdb0964b92f9de4da0ead
XSHA256 (thunderbird/spell-de-CH.xpi) = 36eb4c768c0a3976dc258298de504971e5bd5e73390f3f79e5990fa8ea5bef62
XSIZE (thunderbird/spell-de-CH.xpi) = 352216
XMD5 (thunderbird/spell-de-DE.xpi) = ca983441de50359c9aad8123ecc7adda
XSHA256 (thunderbird/spell-de-DE.xpi) = f77b26671cbf11d790b6c896440e778331acebe52ad80c80c0c46ece1d2e864e
XSIZE (thunderbird/spell-de-DE.xpi) = 352463
XMD5 (thunderbird/spell-el.xpi) = d8c16c4a44ad4620edbcc6fc17207f97
XSHA256 (thunderbird/spell-el.xpi) = c21faa3fa59b370f29a92f4b271672c49265ad475f5b75927f7800828b077d55
XSIZE (thunderbird/spell-el.xpi) = 1448270
XMD5 (thunderbird/spell-en-AU.xpi) = a762af69e11eaad5d3d413dd2c86c745
XSHA256 (thunderbird/spell-en-AU.xpi) = 4f9aea2dbd13ffe047f5b1953d43a3f1ad6d9c017a6f03b9e185e33b37b9dbd1
XSIZE (thunderbird/spell-en-AU.xpi) = 205713
XMD5 (thunderbird/spell-en-CA.xpi) = b74e470762636ffe34c5084f0dbf5399
XSHA256 (thunderbird/spell-en-CA.xpi) = eed4ff6cca059a80200b9676cea0479d08bccd7366f5101efc9741c452b7a675
XSIZE (thunderbird/spell-en-CA.xpi) = 336411
XMD5 (thunderbird/spell-en-NZ.xpi) = 181ee877bcbbb54460c64592273c0680
XSHA256 (thunderbird/spell-en-NZ.xpi) = f1c08b9ea156a29433dc3dc56bb5ae90b7a57a54445691e25b9e7329ad58ab8b
XSIZE (thunderbird/spell-en-NZ.xpi) = 223483
XMD5 (thunderbird/spell-es-ES.xpi) = 71e9a6229f9fc12e3b4748e274bd8638
XSHA256 (thunderbird/spell-es-ES.xpi) = 34cf54e8831330f822cc59415d79537f34cad758e08868d217681de8df9571da
XSIZE (thunderbird/spell-es-ES.xpi) = 195111
XMD5 (thunderbird/spell-es-MX.xpi) = ff753ee0ba4dba693c22f610aa56f5f0
XSHA256 (thunderbird/spell-es-MX.xpi) = 258d34b78e3e16b697ffad321e343d0ce92147e492f6fa5b3e8bf9db91ad4d66
XSIZE (thunderbird/spell-es-MX.xpi) = 201380
XMD5 (thunderbird/spell-fo.xpi) = 002ee510e098f695d3421e67c0e43ff2
XSHA256 (thunderbird/spell-fo.xpi) = 6c31c5c339b82abec601a1da0c1c950c460e7a3170c829b85170455f7707f7fe
XSIZE (thunderbird/spell-fo.xpi) = 241210
XMD5 (thunderbird/spell-fr-FR.xpi) = d50a3a4cc8c303016330cab9eef07cd1
XSHA256 (thunderbird/spell-fr-FR.xpi) = 77ea9cd3fd24489337d5996514e002a1b026276d0df63cb85b9c60ed5edc1c7f
XSIZE (thunderbird/spell-fr-FR.xpi) = 326263
XMD5 (thunderbird/spell-ga.xpi) = 0939c83e4a773634e41689712e3f8859
XSHA256 (thunderbird/spell-ga.xpi) = 53b70e56764ddd5f89a28969a588698bb5ada04127ceff8b8a8545f92eb64859
XSIZE (thunderbird/spell-ga.xpi) = 210288
XMD5 (thunderbird/spell-gl.xpi) = 0f1d330326c1af0e8d119f378735fc91
XSHA256 (thunderbird/spell-gl.xpi) = ea88734c14479c803c9a8de50a8264c539c101889399983c9fe02d1c7309a614
XSIZE (thunderbird/spell-gl.xpi) = 148959
XMD5 (thunderbird/spell-he-IL.xpi) = 15895fdb19dc8fbcb98d088605f2c685
XSHA256 (thunderbird/spell-he-IL.xpi) = f26d7605bc00bf9ac896ae740897881dd7ffb062cee0501ca828643106835595
XSIZE (thunderbird/spell-he-IL.xpi) = 840097
XMD5 (thunderbird/spell-hr.xpi) = 499a5a499de28948fae196cc245c9f85
XSHA256 (thunderbird/spell-hr.xpi) = d21d9b67d4ca8a1bc30f0456af7c959035c8ced09f0865c20902af7d26095140
XSIZE (thunderbird/spell-hr.xpi) = 811483
XMD5 (thunderbird/spell-hu.xpi) = 622830acfcf1f9ed8a4b2944837577a4
XSHA256 (thunderbird/spell-hu.xpi) = c4f5507615665f64e82be3ad8a358b2e644b8a816b83a5dcb4a82291c6c91ff5
XSIZE (thunderbird/spell-hu.xpi) = 1043917
XMD5 (thunderbird/spell-ia.xpi) = 509a326095849a5655a01fb1bab5b253
XSHA256 (thunderbird/spell-ia.xpi) = 60d060f8c20d1a8630f8cdbd9b37a8183ff580172181a0c52523930d1770f818
XSIZE (thunderbird/spell-ia.xpi) = 91587
XMD5 (thunderbird/spell-it.xpi) = ffb0c12c0e985f178503575b78bde581
XSHA256 (thunderbird/spell-it.xpi) = 0ee25550d30f2b87beab13208b96473431b0e8e5f267ba3d7d644293198f2b6c
XSIZE (thunderbird/spell-it.xpi) = 338288
XMD5 (thunderbird/spell-la.xpi) = c8c4326301d1cf72caacdd0961279a31
XSHA256 (thunderbird/spell-la.xpi) = a14a03e476678337eab4b408d24ebcb14d709c41c7a1fbde7dc04cf235451609
XSIZE (thunderbird/spell-la.xpi) = 57617
XMD5 (thunderbird/spell-lt.xpi) = 089e299885b3239c32c86054c8e919a4
XSHA256 (thunderbird/spell-lt.xpi) = 82c82f627483ae1e23cb6b7628a30a20c5defe87d988711c5570ea263f8d609d
XSIZE (thunderbird/spell-lt.xpi) = 66613
XMD5 (thunderbird/spell-lv-LV.xpi) = a2178096c52f03b5b9d6acaadd6fe1be
XSHA256 (thunderbird/spell-lv-LV.xpi) = 1050e5b297ebbbcbf2b76ff313477eb083579c7752aa76c823947948b55c2d26
XSIZE (thunderbird/spell-lv-LV.xpi) = 1098233
XMD5 (thunderbird/spell-mi.xpi) = f863592c869991d596de45380338f793
XSHA256 (thunderbird/spell-mi.xpi) = 07bc7c0c9cb1b8a793b8f6dda3a636302bfa8b89ea28d4fe5fca2c0e7a959bff
XSIZE (thunderbird/spell-mi.xpi) = 79020
XMD5 (thunderbird/spell-ms.xpi) = 11ceedc2fe20e8eb4ed16c485abcc35f
XSHA256 (thunderbird/spell-ms.xpi) = f0eb3b3a88b327937954ecc425667b136628f1631eacb559fd5daf4269470f93
XSIZE (thunderbird/spell-ms.xpi) = 65498
XMD5 (thunderbird/spell-nb.xpi) = a57b2683b7cc57832c6deedd805fbe5f
XSHA256 (thunderbird/spell-nb.xpi) = ac19d858b931817ad19dc77875555ef2f381d059924ac57ab60037a38fe84112
XSIZE (thunderbird/spell-nb.xpi) = 587114
XMD5 (thunderbird/spell-nl.xpi) = bac8d295dbf57dd86d0a9259b05a775d
XSHA256 (thunderbird/spell-nl.xpi) = 289460f51f6f788087e4f82754d4292eed3f63b570651a63fd8353fbc853304d
XSIZE (thunderbird/spell-nl.xpi) = 508812
XMD5 (thunderbird/spell-nn.xpi) = 450d19ee5f5bfd6cd3f4e39956c3a7ce
XSHA256 (thunderbird/spell-nn.xpi) = 8dcd82ccfeb1d8ba5e725c68a70060ea091d13492d88d6bdf6ca149aebad4421
XSIZE (thunderbird/spell-nn.xpi) = 462744
XMD5 (thunderbird/spell-pl.xpi) = 4951aefa9afd2be89c4dfedc71c26f59
XSHA256 (thunderbird/spell-pl.xpi) = 0ebb2d5369fdd8029c67a795f99f1560b9b955e68dc6b559ddd117c0e7319159
XSIZE (thunderbird/spell-pl.xpi) = 759342
XMD5 (thunderbird/spell-pt.xpi) = 24d60a61f7143ab7ead1f19892180ce7
XSHA256 (thunderbird/spell-pt.xpi) = 71a16ce0cac73a6325a6f2f8197ad280c82d19b4a6f8a88dbf0b34943794294b
XSIZE (thunderbird/spell-pt.xpi) = 136899
XMD5 (thunderbird/spell-pt-BR.xpi) = 58da6b1e64fb47fe3fad1f4cb5ad6a07
XSHA256 (thunderbird/spell-pt-BR.xpi) = 5c4b68b821e76ec87c023472c7b49a24ca7deaf0f95d33b7a5c9e9b5e2aecb18
XSIZE (thunderbird/spell-pt-BR.xpi) = 95922
XMD5 (thunderbird/spell-ro.xpi) = 63b3e971e0d6196b44b8f097931b38fb
XSHA256 (thunderbird/spell-ro.xpi) = 444164f92d0b1432bace8d91e9eba9dc5850c3bdae3f54a9f782aed8b935bf17
XSIZE (thunderbird/spell-ro.xpi) = 139001
XMD5 (thunderbird/spell-ru.xpi) = 401f130c50df97b3859fe17b261a5a69
XSHA256 (thunderbird/spell-ru.xpi) = 2d3fba0bfdf8ac782927e70c2a8e7de331f0508473bcce5937fa7215f1c82917
XSIZE (thunderbird/spell-ru.xpi) = 467757
XMD5 (thunderbird/spell-ru-ie.xpi) = e115c13ae930070a784c2f7b9cf39122
XSHA256 (thunderbird/spell-ru-ie.xpi) = 10e64ad9a9a136cde1aa00fd621a1976a291f897ad4b80ee9f1c97935a33ae72
XSIZE (thunderbird/spell-ru-ie.xpi) = 984273
XMD5 (thunderbird/spell-sk.xpi) = 25eec563c43484001d3beaed90ed9213
XSHA256 (thunderbird/spell-sk.xpi) = 9dc481fdb4f788712cc286a00d6be90a8142954f8b345ebb404a12b10c93a475
XSIZE (thunderbird/spell-sk.xpi) = 187733
XMD5 (thunderbird/spell-sl.xpi) = 01e96c3f0a86bd6e4dfc17d610640259
XSHA256 (thunderbird/spell-sl.xpi) = be3b8acfe9610ea255aed791e79a98cdb12dbb4177dd9f802b139721f65c8b6d
XSIZE (thunderbird/spell-sl.xpi) = 1186588
XMD5 (thunderbird/spell-sv.xpi) = 47da6dc9dc9331a82190731d19c80ec1
XSHA256 (thunderbird/spell-sv.xpi) = 497b80d29b7246a0e37909365f850fc29ef1a606709d508c0e0c63cb4e130e32
XSIZE (thunderbird/spell-sv.xpi) = 118607
XMD5 (thunderbird/spell-uk.xpi) = 3db52608eea5db2fc48319562e06530e
XSHA256 (thunderbird/spell-uk.xpi) = 648295fd0f0819cc7280980474be905b8a84334a81aecefc2c2b2225f313822d
XSIZE (thunderbird/spell-uk.xpi) = 1378571
XMD5 (thunderbird/spell-zu-ZA.xpi) = ed25d59f25ff31a4e4d88df484389f99
XSHA256 (thunderbird/spell-zu-ZA.xpi) = 00a54ffb7b79a50f7c5341b9f19d00aa1cdfef884c5e430ceeb93aefcdddddd6
XSIZE (thunderbird/spell-zu-ZA.xpi) = 218351
END-of-thunderbird-dictionaries/distinfo
echo x - thunderbird-dictionaries/Makefile
sed 's/^X//' >thunderbird-dictionaries/Makefile << 'END-of-thunderbird-dictionaries/Makefile'
X# Ports collection Makefile for:	thunderbird-dictionaries
X# Date created:				19 February 2006
X# Whom:					Matthew Luckie <mjl@luckie.org.nz>
X# Based on:				multimedia/mplayer-skins
X#
X# $FreeBSD$
X#
X
XPORTNAME=	thunderbird-dictionaries
XPORTVERSION=	20060219
XCATEGORIES=	mail
XMASTER_SITES=	http://mozdev.dns4.com/dictionaries/ \
X		http://ftp.heanet.ie/pub/mozdev/dictionaries/ \
X		http://mozdev.oregonstate.edu/dictionaries/ \
X		http://mirror.meisterwerk.net/rmozdev/dictionaries/ \
X		http://ftp.ntua.gr/pub/www/mozdev/dictionaries/ \
X		http://www.devlib.org/mozdev/dictionaries/ \
X		http://ftp.iasi.roedu.net/mirrors/mozdev.org/dictionaries/ \
X		http://mozdev.archive.hk/dictionaries/
XDISTFILES=	# filled in later after options
XDIST_SUBDIR=	thunderbird
X
XMAINTAINER=	mjl@luckie.org.nz
XCOMMENT=	Dictionaries for Mozilla Thunderbird
X
XRUN_DEPENDS=	${X11BASE}/bin/thunderbird:${PORTSDIR}/mail/thunderbird
X
XUSE_X_PREFIX=	yes
XUSE_ZIP=	yes
XWRKSRC=		${WRKDIR}/dictionaries
X
X# Dictionary files
XAF_ZA_FILE=	spell-af-ZA.xpi
XBG_FILE=	spell-bg.xpi
XCA_FILE=	spell-ca.xpi
XCS_FILE=	spell-cs.xpi
XCY_GB_FILE=	spell-cy-GB.xpi
XDA_FILE=	spell-da.xpi
XDE_AT_FILE=	spell-de-AT.xpi
XDE_CH_FILE=	spell-de-CH.xpi
XDE_DE_FILE=	spell-de-DE.xpi
XEL_FILE=	spell-el.xpi
XEN_AU_FILE=	spell-en-AU.xpi
XEN_CA_FILE=	spell-en-CA.xpi
XEN_NZ_FILE=	spell-en-NZ.xpi
XES_ES_FILE=	spell-es-ES.xpi
XES_MX_FILE=	spell-es-MX.xpi
XFO_FILE=	spell-fo.xpi
XFR_FR_FILE=	spell-fr-FR.xpi
XGA_FILE=	spell-ga.xpi
XGL_FILE=	spell-gl.xpi
XHE_IL_FILE=	spell-he-IL.xpi
XHR_FILE=	spell-hr.xpi
XHU_FILE=	spell-hu.xpi
XIA_FILE=	spell-ia.xpi
XIT_FILE=	spell-it.xpi
XLA_FILE=	spell-la.xpi
XLT_FILE=	spell-lt.xpi
XLV_LV_FILE=	spell-lv-LV.xpi
XMI_FILE=	spell-mi.xpi
XMS_FILE=	spell-ms.xpi
XNB_FILE=	spell-nb.xpi
XNL_FILE=	spell-nl.xpi
XNN_FILE=	spell-nn.xpi
XPL_FILE=	spell-pl.xpi
XPT_FILE=	spell-pt.xpi
XPT_BR_FILE=	spell-pt-BR.xpi
XRO_FILE=	spell-ro.xpi
XRU_FILE=	spell-ru.xpi
XSK_FILE=	spell-sk.xpi
XSL_FILE=	spell-sl.xpi
XSV_FILE=	spell-sv.xpi
XUK_FILE=	spell-uk.xpi
XZU_ZA_FILE=	spell-zu-ZA.xpi
X
X# Dictionary options
XOPTIONS=	DICT_ALL "all dictionaries" on
XOPTIONS+=	DICT_AF_ZA "Afrikaans" off
XOPTIONS+=	DICT_BG "Bulgarian" off
XOPTIONS+=	DICT_CA "Catalan" off
XOPTIONS+=	DICT_HR "Croatian" off
XOPTIONS+=	DICT_CS "Czech" off
XOPTIONS+=	DICT_DA "Danish" off
XOPTIONS+=	DICT_NL "Dutch" off
XOPTIONS+=	DICT_EN_AU "English (Australia)" off
XOPTIONS+=	DICT_EN_CA "English (Canada)" off
XOPTIONS+=	DICT_EN_NZ "English (New Zealand)" off
XOPTIONS+=	DICT_EN_GB "English (United Kingdom)" off
XOPTIONS+=	DICT_FR_FR "French (France)" off
XOPTIONS+=	DICT_FO "Faroese" off
XOPTIONS+=	DICT_GL "Galician (Spain)" off
XOPTIONS+=	DICT_DE_AT "German (Austria)" off
XOPTIONS+=	DICT_DE_DE "German (Germany)" off
XOPTIONS+=	DICT_DE_CH "German (Switzerland)" off
XOPTIONS+=	DICT_EL "Greek" off
XOPTIONS+=	DICT_HE_IL "Hebrew" off
XOPTIONS+=	DICT_HU "Hungarian" off
XOPTIONS+=	DICT_IA "Interlingua" off
XOPTIONS+=	DICT_GA "Irish" off
XOPTIONS+=	DICT_IT "Italian" off
XOPTIONS+=	DICT_LA "Latin" off
XOPTIONS+=	DICT_LV_LV "Latvian" off
XOPTIONS+=	DICT_LT "Lithuanian" off
XOPTIONS+=	DICT_MS "Malay" off
XOPTIONS+=	DICT_MI "Maori" off
XOPTIONS+=	DICT_NB "Norwegian (Bokmal)" off
XOPTIONS+=	DICT_NN "Norwegian (Nynorsk)" off
XOPTIONS+=	DICT_PL "Polish" off
XOPTIONS+=	DICT_PT "Portuguese (Portugal)" off
XOPTIONS+=	DICT_PT_BR "Portuguese (Brasil)" off
XOPTIONS+=	DICT_RO "Romanian" off
XOPTIONS+=	DICT_RU "Russian" off
XOPTIONS+=	DICT_ES_MX "Spanish (Mexico)" off
XOPTIONS+=	DICT_ES_ES "Spanish (Spain)" off
XOPTIONS+=	DICT_SK "Slovak" off
XOPTIONS+=	DICT_SL "Slovenian" off
XOPTIONS+=	DICT_SV "Swedish" off
XOPTIONS+=	DICT_UK "Ukrainian" off
XOPTIONS+=	DICT_CY_GB "Welsh" off
XOPTIONS+=	DICT_ZU_ZA "Zulu (South Africa)" off
X
X.include <bsd.port.pre.mk>
X
X# For batch building, build all dictionaries
X.if defined(BATCH)
XWITH_DICT_ALL=yes
X.endif
X
X# All available dictionaries
XALLDICTS=	AF_ZA BG CA CS CY_GB DA DE_AT DE_CH DE_DE EL EN_AU EN_CA \
X		EN_NZ ES_ES ES_MX FO FR_FR GA GL HE_IL HR HU IA IT LA LT \
X		LV_LV MI MS NB NL NN PL PT PT_BR RO RU SK SL SV \
X		UK ZU_ZA
X
X# this dictionary requires special handling in do-install
XBG_DICT=	BG
X
X# Build and install all dictionaries
X.if defined(WITH_DICT_ALL)
X.for f in ${ALLDICTS}
XWITH_DICT_${f}=	yes
X.endfor
X.endif
X
X# Figure out which distfiles to use, and how to construct the plist
X.for f in ${ALLDICTS}
X.ifdef(WITH_DICT_${f})
XPLIST_SUB+=	${f}=""
XHAVE_DICT=	yes
XDISTFILES+=	${${f}_FILE}
X.else
XPLIST_SUB+=	${f}="@comment "
X.endif
X.endfor
X
X# Extract the relevant distfiles
Xdo-extract:
X	@${MKDIR} ${WRKSRC}
X.for f in ${ALLDICTS}
X.ifdef(WITH_DICT_${f})
X	@${UNZIP_CMD} -q ${DISTDIR}/${DIST_SUBDIR}/${${f}_FILE} -d ${WRKSRC}/${${f}_FILE}
X.endif
X.endfor
X
X# Check to make sure that at least one dictionary was selected
Xdo-build:
X.if !defined(HAVE_DICT)
X	@${ECHO_MSG} "No dictionary selected"
X	@${FALSE}
X.else
X	@${DO_NADA}
X.endif
X
X# Install the requested dictionaries
Xdo-install:
X	@${MKDIR} ${PREFIX}/lib/thunderbird/components/myspell
X.for f in ${ALLDICTS}
X.ifdef(WITH_DICT_${f})
X.if ${BG_DICT}==${f}
X	@${INSTALL_DATA} \
X		${WRKSRC}/${${f}_FILE}/bin/components/myspell/${${f}_FILE:S/spell-//:S/xpi//}aff \
X		${PREFIX}/lib/thunderbird/components/myspell
X	@${INSTALL_DATA} \
X		${WRKSRC}/${${f}_FILE}/bin/components/myspell/${${f}_FILE:S/spell-//:S/xpi//}dic \
X		${PREFIX}/lib/thunderbird/components/myspell
X.else
X	@${INSTALL_DATA} \
X		${WRKSRC}/${${f}_FILE}/${${f}_FILE:S/spell-//:S/xpi//}aff \
X		${PREFIX}/lib/thunderbird/components/myspell
X	@${INSTALL_DATA} \
X		${WRKSRC}/${${f}_FILE}/${${f}_FILE:S/spell-//:S/xpi//}dic \
X		${PREFIX}/lib/thunderbird/components/myspell
X.endif
X.endif
X.endfor
X
X.include <bsd.port.post.mk>
END-of-thunderbird-dictionaries/Makefile
echo x - thunderbird-dictionaries/pkg-descr
sed 's/^X//' >thunderbird-dictionaries/pkg-descr << 'END-of-thunderbird-dictionaries/pkg-descr'
XLocalized Dictionaries for Mozilla Thunderbird
X
XWWW: http://www.mozilla.com/thunderbird/dictionaries.html
END-of-thunderbird-dictionaries/pkg-descr
echo x - thunderbird-dictionaries/pkg-plist
sed 's/^X//' >thunderbird-dictionaries/pkg-plist << 'END-of-thunderbird-dictionaries/pkg-plist'
X%%AF_ZA%%lib/thunderbird/components/myspell/af-ZA.aff
X%%AF_ZA%%lib/thunderbird/components/myspell/af-ZA.dic
X%%BG%%lib/thunderbird/components/myspell/bg.aff
X%%BG%%lib/thunderbird/components/myspell/bg.dic
X%%CA%%lib/thunderbird/components/myspell/ca.aff
X%%CA%%lib/thunderbird/components/myspell/ca.dic
X%%CS%%lib/thunderbird/components/myspell/cs.aff
X%%CS%%lib/thunderbird/components/myspell/cs.dic
X%%CY_GB%%lib/thunderbird/components/myspell/cy-GB.aff
X%%CY_GB%%lib/thunderbird/components/myspell/cy-GB.dic
X%%DA%%lib/thunderbird/components/myspell/da.aff
X%%DA%%lib/thunderbird/components/myspell/da.dic
X%%DE_AT%%lib/thunderbird/components/myspell/de-AT.aff
X%%DE_AT%%lib/thunderbird/components/myspell/de-AT.dic
X%%DE_CH%%lib/thunderbird/components/myspell/de-CH.aff
X%%DE_CH%%lib/thunderbird/components/myspell/de-CH.dic
X%%DE_DE%%lib/thunderbird/components/myspell/de-DE.aff
X%%DE_DE%%lib/thunderbird/components/myspell/de-DE.dic
X%%EL%%lib/thunderbird/components/myspell/el.aff
X%%EL%%lib/thunderbird/components/myspell/el.dic
X%%EN_AU%%lib/thunderbird/components/myspell/en-AU.aff
X%%EN_AU%%lib/thunderbird/components/myspell/en-AU.dic
X%%EN_CA%%lib/thunderbird/components/myspell/en-CA.aff
X%%EN_CA%%lib/thunderbird/components/myspell/en-CA.dic
X%%EN_NZ%%lib/thunderbird/components/myspell/en-NZ.aff
X%%EN_NZ%%lib/thunderbird/components/myspell/en-NZ.dic
X%%ES_ES%%lib/thunderbird/components/myspell/es-ES.aff
X%%ES_ES%%lib/thunderbird/components/myspell/es-ES.dic
X%%ES_MX%%lib/thunderbird/components/myspell/es-MX.aff
X%%ES_MX%%lib/thunderbird/components/myspell/es-MX.dic
X%%FO%%lib/thunderbird/components/myspell/fo.aff
X%%FO%%lib/thunderbird/components/myspell/fo.dic
X%%FR_FR%%lib/thunderbird/components/myspell/fr-FR.aff
X%%FR_FR%%lib/thunderbird/components/myspell/fr-FR.dic
X%%GA%%lib/thunderbird/components/myspell/ga.aff
X%%GA%%lib/thunderbird/components/myspell/ga.dic
X%%GL%%lib/thunderbird/components/myspell/gl.aff
X%%GL%%lib/thunderbird/components/myspell/gl.dic
X%%HE_IL%%lib/thunderbird/components/myspell/he-IL.aff
X%%HE_IL%%lib/thunderbird/components/myspell/he-IL.dic
X%%HR%%lib/thunderbird/components/myspell/hr.aff
X%%HR%%lib/thunderbird/components/myspell/hr.dic
X%%HU%%lib/thunderbird/components/myspell/hu.aff
X%%HU%%lib/thunderbird/components/myspell/hu.dic
X%%IA%%lib/thunderbird/components/myspell/ia.aff
X%%IA%%lib/thunderbird/components/myspell/ia.dic
X%%IT%%lib/thunderbird/components/myspell/it.aff
X%%IT%%lib/thunderbird/components/myspell/it.dic
X%%LA%%lib/thunderbird/components/myspell/la.aff
X%%LA%%lib/thunderbird/components/myspell/la.dic
X%%LT%%lib/thunderbird/components/myspell/lt.aff
X%%LT%%lib/thunderbird/components/myspell/lt.dic
X%%LV_LV%%lib/thunderbird/components/myspell/lv-LV.aff
X%%LV_LV%%lib/thunderbird/components/myspell/lv-LV.dic
X%%MI%%lib/thunderbird/components/myspell/mi.aff
X%%MI%%lib/thunderbird/components/myspell/mi.dic
X%%MS%%lib/thunderbird/components/myspell/ms.aff
X%%MS%%lib/thunderbird/components/myspell/ms.dic
X%%NB%%lib/thunderbird/components/myspell/nb.aff
X%%NB%%lib/thunderbird/components/myspell/nb.dic
X%%NL%%lib/thunderbird/components/myspell/nl.aff
X%%NL%%lib/thunderbird/components/myspell/nl.dic
X%%NN%%lib/thunderbird/components/myspell/nn.aff
X%%NN%%lib/thunderbird/components/myspell/nn.dic
X%%PL%%lib/thunderbird/components/myspell/pl.aff
X%%PL%%lib/thunderbird/components/myspell/pl.dic
X%%PT%%lib/thunderbird/components/myspell/pt.aff
X%%PT%%lib/thunderbird/components/myspell/pt.dic
X%%PT_BR%%lib/thunderbird/components/myspell/pt-BR.aff
X%%PT_BR%%lib/thunderbird/components/myspell/pt-BR.dic
X%%RO%%lib/thunderbird/components/myspell/ro.aff
X%%RO%%lib/thunderbird/components/myspell/ro.dic
X%%RU%%lib/thunderbird/components/myspell/ru.aff
X%%RU%%lib/thunderbird/components/myspell/ru.dic
X%%SK%%lib/thunderbird/components/myspell/sk.aff
X%%SK%%lib/thunderbird/components/myspell/sk.dic
X%%SL%%lib/thunderbird/components/myspell/sl.aff
X%%SL%%lib/thunderbird/components/myspell/sl.dic
X%%SV%%lib/thunderbird/components/myspell/sv.aff
X%%SV%%lib/thunderbird/components/myspell/sv.dic
X%%UK%%lib/thunderbird/components/myspell/uk.aff
X%%UK%%lib/thunderbird/components/myspell/uk.dic
X%%ZU_ZA%%lib/thunderbird/components/myspell/zu-ZU.aff
X%%ZU_ZA%%lib/thunderbird/components/myspell/zu-ZU.dic
END-of-thunderbird-dictionaries/pkg-plist
exit
--- thunderbird-dictionaries.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1FAj4u-0002Aq-It>