IGNOREPATH=/slackware390:/home:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src
STRIPLIB=y
STRIPBIN=y

# pkginfo
PROGNAME="teTeX documentation"
DESC="\
tetex-doc (Documentation for teTeX)                                    \n\
                                                                       \n\
This package contains documentation for AMSTeX, BibTeX, extended plain \n\
format, font packages, format files (babel, texdraw, pstricks, xypic), \n\
LaTeX, MetaPost, Makeindex, pdftex, the Kpathsea library, as well as   \n\
general information about TeX such as a list of ftp servers, a draft   \n\
for the TeX Directory Standard (TDS), The TeX and LaTeX Catalogue, and \n\
TeX FAQs."

BUILD=1
SUBPKGNAME=tetex-doc-$VERSION-s390-$BUILD
TAG=REC

subinstall() {
   echo "Nothing to install for tex-doc."
}

subspecial() {
   ### populate the tree
   mkdir -p $SUBPKG/usr/share/texmf/doc
   cp -a $TMP/tex-package/usr/share/texmf/doc/* $SUBPKG/usr/share/texmf/doc

   cd $SUBCTL
   ### add the doinst.doc.sh script
   sed -e 's%package-tetex/%%g' $TMP/doinst.doc.sh > doinst.sh

   cat $CWD/slack-desc.tetex-doc > slack-desc
}
