mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
Add alias for all english locales
This commit is contained in:
parent
defb28ca14
commit
48a94c6122
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=278013
@ -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 <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user