hyphen: adopted port
This commit is contained in:
parent
5c884c9d8f
commit
a67eba087b
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/opt.pub
|
||||
RWSE3ohX2g5d/bqN5GXNwdiMFP4r63Gf6SqcMYd9Cd6bAJBLYiSoUyB8ssUTJmZacaNK17p0QTLM59D1+CZebH8+4XKp/k3KBgg=
|
||||
SHA256 (Pkgfile) = 1dede584ed886b76a23ca476f096751cfa15cdcc60bcaab62376f93d32e7b127
|
||||
RWSE3ohX2g5d/VAEl++IUjzG9UzR3F7h4XhRlEL+t9QlFQELG2e3orY6oUxuy49s70i/wQawdT890AlECPWJwioWrfIByi0+Ygo=
|
||||
SHA256 (Pkgfile) = 309a78137a3feb064cf6cfb939c1c08f2f39be9d7aa3416290ec0d8e062de2ca
|
||||
SHA256 (.footprint) = 5a52ee3557898887cb294e2e1527a581331e802cce9ad0cc3e247dd2795747d6
|
||||
SHA256 (hyphen-2.8.8.tar.gz) = 304636d4eccd81a14b6914d07b84c79ebb815288c76fe027b9ebff6ff24d5705
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Description: Library for high quality hyphenation and justification.
|
||||
# Description: Library for high quality hyphenation and justification
|
||||
# URL: https://sourceforge.net/projects/hunspell/files/Hyphen/
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
|
||||
name=hyphen
|
||||
version=2.8.8
|
||||
@ -8,25 +8,25 @@ release=1
|
||||
source=(https://downloads.sourceforge.net/hunspell/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
cd $name-$version
|
||||
|
||||
./configure --prefix=/usr
|
||||
./configure --prefix=/usr
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
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
|
||||
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
|
||||
# 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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user