summaryrefslogtreecommitdiff
path: root/textproc/hyphen
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2011-07-20 15:21:11 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2011-07-20 15:21:11 +0000
commit48a94c6122cd488740d29f7e28bedc9df4d6d522 (patch)
tree526e70764eedfdfa1805422192b01232893625ed /textproc/hyphen
parent- Update to 1.01. (diff)
Add alias for all english locales
Notes
Notes: svn path=/head/; revision=278013
Diffstat (limited to 'textproc/hyphen')
-rw-r--r--textproc/hyphen/Makefile14
1 files changed, 14 insertions, 0 deletions
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 <bsd.port.mk>