From 402d15358d5d47aaf46b408b6ca18e10688fd344 Mon Sep 17 00:00:00 2001 From: bapt Date: Wed, 20 Jul 2011 15:21:11 +0000 Subject: Add alias for all english locales --- textproc/hyphen/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'textproc/hyphen') diff --git a/textproc/hyphen/Makefile b/textproc/hyphen/Makefile index 82aee9280e15..e4a00c1673f5 100644 --- a/textproc/hyphen/Makefile +++ b/textproc/hyphen/Makefile @@ -7,6 +7,7 @@ PORTNAME= hyphen PORTVERSION= 2.7.1 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= SF/hunspell/Hyphen/2.7/ @@ -21,4 +22,17 @@ USE_PERL5_BUILD= yes GNU_CONFIGURE= yes +USALIASES= en_AG en_AU en_BS en_BW en_BZ en_CA en_DK en_GB en_GH en_HK \ + en_IE en_IN en_JM en_NA en_NZ en_PH en_SG en_TT en_ZA en_ZW + +.for ALIAS in ${USALIASES} +PLIST_FILES+= share/hyphen/hyph_${ALIAS}.dic +.endfor + +post-install: + @cd ${DATADIR}; \ + for alias in ${USALIASES}; do \ + ${LN} -s hyph_en_US.dic hyph_$${alias}.dic ; \ + done + .include -- cgit