diff options
Diffstat (limited to 'source/ap/groff/groff.SlackBuild')
-rwxr-xr-x | source/ap/groff/groff.SlackBuild | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/source/ap/groff/groff.SlackBuild b/source/ap/groff/groff.SlackBuild index 3cdb36f9c..b67eff1e6 100755 --- a/source/ap/groff/groff.SlackBuild +++ b/source/ap/groff/groff.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2005-2008, 2009, 2010, 2011, 2016, 2018 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2005-2008, 2009, 2010, 2011, 2016, 2018, 2023 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=groff VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-4} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -88,6 +88,8 @@ CXXFLAGS="$SLKCFLAGS" \ --with-appresdir=/etc/X11/app-defaults \ --mandir=/usr/man \ --infodir=/usr/info \ + --with-x \ + --with-appdefdir=/etc/X11/app-defaults \ --build=$ARCH-slackware-linux || exit 1 make $NUMJOBS || make || exit 1 @@ -116,7 +118,9 @@ fi rm -rf $PKG/usr/doc/groff-$VERSION/*.ps \ $PKG/usr/doc/groff-$VERSION/examples \ $PKG/usr/doc/groff-$VERSION/html \ - $PKG/usr/doc/groff-$VERSION/pdf + $PKG/usr/doc/groff-$VERSION/pdf \ + $PKG/usr/doc/groff-$VERSION/groff-man-pages* \ + $PKG/usr/doc/groff-$VERSION/groff.txt ( cd $PKG/usr/man find . -type f -exec gzip -9 {} \+ @@ -126,12 +130,6 @@ rm -rf $PKG/usr/doc/groff-$VERSION/*.ps \ rm -f $PKG/usr/info/dir gzip -9 $PKG/usr/info/* -# Do not use color ANSI output by default for man pages. -# A silly "innovation" if ever there was one, sure to break -# a ton of existing scripts otherwise... -zcat $CWD/groff.man.mdoc.local.gz >> $PKG/usr/share/groff/site-tmac/man.local -zcat $CWD/groff.man.mdoc.local.gz >> $PKG/usr/share/groff/site-tmac/mdoc.local - ( cd $PKG/usr/bin rm -rf geqn ; ln -sf eqn geqn rm -rf gindxbib ; ln -sf indxbib gindxbib @@ -151,4 +149,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG /sbin/makepkg -l y -c n $TMP/groff-$VERSION-$ARCH-$BUILD.txz - |