diff options
author | Danny Rawlins <monster.romster@gmail.com> | 2018-04-02 16:32:21 +1000 |
---|---|---|
committer | Danny Rawlins <monster.romster@gmail.com> | 2018-04-02 16:32:21 +1000 |
commit | ea592782af2b3d4fe656188e5ed0d237504549c5 (patch) | |
tree | e2c11ecc03fc9337873f42f09ffb17a41db27c01 /hyphen | |
parent | fe9c27a7d0b0133a972d02b5231dfa80d9a621df (diff) | |
download | opt-ea592782af2b3d4fe656188e5ed0d237504549c5.tar.gz opt-ea592782af2b3d4fe656188e5ed0d237504549c5.tar.xz |
hyphen: contrib -> opt
Diffstat (limited to 'hyphen')
-rw-r--r-- | hyphen/.footprint | 57 | ||||
-rw-r--r-- | hyphen/.md5sum | 1 | ||||
-rw-r--r-- | hyphen/.signature | 5 | ||||
-rw-r--r-- | hyphen/Pkgfile | 32 |
4 files changed, 95 insertions, 0 deletions
diff --git a/hyphen/.footprint b/hyphen/.footprint new file mode 100644 index 000000000..25d3ad9d3 --- /dev/null +++ b/hyphen/.footprint @@ -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 diff --git a/hyphen/.md5sum b/hyphen/.md5sum new file mode 100644 index 000000000..5aa766254 --- /dev/null +++ b/hyphen/.md5sum @@ -0,0 +1 @@ +5ade6ae2a99bc1e9e57031ca88d36dad hyphen-2.8.8.tar.gz diff --git a/hyphen/.signature b/hyphen/.signature new file mode 100644 index 000000000..08a9c331f --- /dev/null +++ b/hyphen/.signature @@ -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 diff --git a/hyphen/Pkgfile b/hyphen/Pkgfile new file mode 100644 index 000000000..96c916d81 --- /dev/null +++ b/hyphen/Pkgfile @@ -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 +} |