1
0
forked from ports/opt

hyphen: contrib -> opt

This commit is contained in:
Danny Rawlins 2018-04-02 16:32:21 +10:00
parent fe9c27a7d0
commit ea592782af
4 changed files with 95 additions and 0 deletions

57
hyphen/.footprint Normal file
View File

@ -0,0 +1,57 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/substrings.pl
drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/hyphen.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libhyphen.a
-rwxr-xr-x root/root usr/lib/libhyphen.la
lrwxrwxrwx root/root usr/lib/libhyphen.so -> libhyphen.so.0.3.0
lrwxrwxrwx root/root usr/lib/libhyphen.so.0 -> libhyphen.so.0.3.0
-rwxr-xr-x root/root usr/lib/libhyphen.so.0.3.0
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/hyphen/
lrwxrwxrwx root/root usr/share/hyphen/hyph_en_AG.dic -> hyph_en_US.dic
lrwxrwxrwx root/root usr/share/hyphen/hyph_en_AU.dic -> hyph_en_US.dic
lrwxrwxrwx root/root usr/share/hyphen/hyph_en_BS.dic -> hyph_en_US.dic
lrwxrwxrwx root/root usr/share/hyphen/hyph_en_BW.dic -> hyph_en_US.dic
lrwxrwxrwx root/root usr/share/hyphen/hyph_en_BZ.dic -> hyph_en_US.dic
lrwxrwxrwx root/root usr/share/hyphen/hyph_en_CA.dic -> hyph_en_US.dic
lrwxrwxrwx root/root usr/share/hyphen/hyph_en_DK.dic -> hyph_en_US.dic
lrwxrwxrwx root/root usr/share/hyphen/hyph_en_GB.dic -> hyph_en_US.dic
lrwxrwxrwx root/root usr/share/hyphen/hyph_en_GH.dic -> hyph_en_US.dic
lrwxrwxrwx root/root usr/share/hyphen/hyph_en_HK.dic -> hyph_en_US.dic
lrwxrwxrwx root/root usr/share/hyphen/hyph_en_IE.dic -> hyph_en_US.dic
lrwxrwxrwx root/root usr/share/hyphen/hyph_en_IN.dic -> hyph_en_US.dic
lrwxrwxrwx root/root usr/share/hyphen/hyph_en_JM.dic -> hyph_en_US.dic
lrwxrwxrwx root/root usr/share/hyphen/hyph_en_NA.dic -> hyph_en_US.dic
lrwxrwxrwx root/root usr/share/hyphen/hyph_en_NZ.dic -> hyph_en_US.dic
lrwxrwxrwx root/root usr/share/hyphen/hyph_en_PH.dic -> hyph_en_US.dic
lrwxrwxrwx root/root usr/share/hyphen/hyph_en_SG.dic -> hyph_en_US.dic
lrwxrwxrwx root/root usr/share/hyphen/hyph_en_TT.dic -> hyph_en_US.dic
-rw-r--r-- root/root usr/share/hyphen/hyph_en_US.dic
lrwxrwxrwx root/root usr/share/hyphen/hyph_en_ZA.dic -> hyph_en_US.dic
lrwxrwxrwx root/root usr/share/hyphen/hyph_en_ZW.dic -> hyph_en_US.dic
drwxr-xr-x root/root usr/share/myspell/
drwxr-xr-x root/root usr/share/myspell/dicts/
lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_en_AG.dic -> /usr/share/hyphen/hyph_en_AG.dic
lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_en_AU.dic -> /usr/share/hyphen/hyph_en_AU.dic
lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_en_BS.dic -> /usr/share/hyphen/hyph_en_BS.dic
lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_en_BW.dic -> /usr/share/hyphen/hyph_en_BW.dic
lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_en_BZ.dic -> /usr/share/hyphen/hyph_en_BZ.dic
lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_en_CA.dic -> /usr/share/hyphen/hyph_en_CA.dic
lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_en_DK.dic -> /usr/share/hyphen/hyph_en_DK.dic
lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_en_GB.dic -> /usr/share/hyphen/hyph_en_GB.dic
lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_en_GH.dic -> /usr/share/hyphen/hyph_en_GH.dic
lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_en_HK.dic -> /usr/share/hyphen/hyph_en_HK.dic
lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_en_IE.dic -> /usr/share/hyphen/hyph_en_IE.dic
lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_en_IN.dic -> /usr/share/hyphen/hyph_en_IN.dic
lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_en_JM.dic -> /usr/share/hyphen/hyph_en_JM.dic
lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_en_NA.dic -> /usr/share/hyphen/hyph_en_NA.dic
lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_en_NZ.dic -> /usr/share/hyphen/hyph_en_NZ.dic
lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_en_PH.dic -> /usr/share/hyphen/hyph_en_PH.dic
lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_en_SG.dic -> /usr/share/hyphen/hyph_en_SG.dic
lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_en_TT.dic -> /usr/share/hyphen/hyph_en_TT.dic
lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_en_US.dic -> /usr/share/hyphen/hyph_en_US.dic
lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_en_ZA.dic -> /usr/share/hyphen/hyph_en_ZA.dic
lrwxrwxrwx root/root usr/share/myspell/dicts/hyph_en_ZW.dic -> /usr/share/hyphen/hyph_en_ZW.dic

1
hyphen/.md5sum Normal file
View File

@ -0,0 +1 @@
5ade6ae2a99bc1e9e57031ca88d36dad hyphen-2.8.8.tar.gz

5
hyphen/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/bqN5GXNwdiMFP4r63Gf6SqcMYd9Cd6bAJBLYiSoUyB8ssUTJmZacaNK17p0QTLM59D1+CZebH8+4XKp/k3KBgg=
SHA256 (Pkgfile) = 1dede584ed886b76a23ca476f096751cfa15cdcc60bcaab62376f93d32e7b127
SHA256 (.footprint) = 5a52ee3557898887cb294e2e1527a581331e802cce9ad0cc3e247dd2795747d6
SHA256 (hyphen-2.8.8.tar.gz) = 304636d4eccd81a14b6914d07b84c79ebb815288c76fe027b9ebff6ff24d5705

32
hyphen/Pkgfile Normal file
View File

@ -0,0 +1,32 @@
# Description: Library for high quality hyphenation and justification.
# URL: https://sourceforge.net/projects/hunspell/files/Hyphen/
# Maintainer: Danny Rawlins, crux at romster dot me
name=hyphen
version=2.8.8
release=1
source=(https://downloads.sourceforge.net/hunspell/$name-$version.tar.gz)
build() {
cd $name-$version
./configure --prefix=/usr
make
make DESTDIR=$PKG install
pushd $PKG/usr/share/hyphen/
en_US_aliases="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 lang in $en_US_aliases; do
ln -s hyph_en_US.dic hyph_$lang.dic
done
popd
# the symlinks
install -d -m 0755 $PKG/usr/share/myspell/dicts
pushd $PKG/usr/share/myspell/dicts
for file in $PKG/usr/share/hyphen/*; do
ln -sv /usr/share/hyphen/$(basename $file) .
done
popd
}