groff: use https and syntax

This commit is contained in:
Tim Biermann 2021-12-13 12:18:52 +01:00
parent 32c6d68429
commit 549b1bfd29
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 26 additions and 26 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/core.pub
RWRJc1FUaeVeqtwm7f4tWraQYV9FZCFmBvV6Hx7LRKp23GRTeunGqafYal5HIhywn+ElGhGQeC7UCMaZo0n2xIKWSd/4EQcsuwg=
SHA256 (Pkgfile) = d3be449ad54ea3388a60f5aa68ef179877bd843d956cbbbc0748cbd214865ee9
RWRJc1FUaeVeqqx3kg4XleP892WZLAg5iV3q/K+nlUqKjqI/gf/GhX2C0/0nNxHZBY3Nzqe4RtsrXDAkExSgsEn2V57fc2ZliA8=
SHA256 (Pkgfile) = bfc2af0c99f43e80d37c11ebbd6f7303b3f5bbebe7a2ced305969d98c8e92204
SHA256 (.footprint) = 057672c0ea16e2d558773121d8dd26f5155a19fc549ec8332350331aa162e0d6
SHA256 (groff-1.22.4.tar.gz) = e78e7b4cb7dec310849004fa88847c44701e8d133b5d4c13057d876c1bad0293

View File

@ -1,39 +1,39 @@
# Description: The GNU troff text-formatting system
# URL: http://www.gnu.org/software/groff/groff.html
# Maintainer: CRUX System Team, core-ports at crux dot nu
# URL: https://www.gnu.org/software/groff/groff.html
# Maintainer: CRUX System Team, core-ports at crux dot nu
name=groff
version=1.22.4
release=1
source=(http://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.gz)
source=(https://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.gz)
build() {
cd $name-$version
cd $name-$version
# we install only the Base14 and EURO pdf fonts
# and don't lookup for fonts in the filesystem
# https://savannah.gnu.org/bugs/?38029
sed -r -e '/^EURO\|/s/N/Y/' \
-e '/^[A-Z]+\|N/d' \
-e '/\(gs\)/d' \
-i font/devpdf/Foundry.in
# we install only the Base14 and EURO pdf fonts
# and don't lookup for fonts in the filesystem
# https://savannah.gnu.org/bugs/?38029
sed -r -e '/^EURO\|/s/N/Y/' \
-e '/^[A-Z]+\|N/d' \
-e '/\(gs\)/d' \
-i font/devpdf/Foundry.in
./configure --prefix=/usr \
--without-x \
--with-doc=no
./configure --prefix=/usr \
--without-x \
--with-doc=no
make -j1
make DESTDIR=$PKG install
make -j1
make DESTDIR=$PKG install
sed -e 's|^\(papersize\).*|\1 /etc/papersize|' \
-i $PKG/usr/share/groff/current/font/*/DESC
sed -e 's|^\(papersize\).*|\1 /etc/papersize|' \
-i $PKG/usr/share/groff/current/font/*/DESC
install -d $PKG/etc
echo 'letter' > $PKG/etc/papersize
install -d $PKG/etc
echo 'letter' > $PKG/etc/papersize
rm -rf $PKG/usr/share/{info,doc}
rm -rf $PKG/usr/share/{info,doc}
ln -s eqn $PKG/usr/bin/geqn
ln -s tbl $PKG/usr/bin/gtbl
ln -s soelim $PKG/usr/bin/zsoelim
ln -s eqn $PKG/usr/bin/geqn
ln -s tbl $PKG/usr/bin/gtbl
ln -s soelim $PKG/usr/bin/zsoelim
}