Package: system-ghostscript6 Version: 6.01 Revision: 1 Depends: type1inst Conflicts: ghostscript, ghostscript6, ghostscript-nox, ghostscript6-nox, ghostscript-fonts, system-ghostscript Provides: ghostscript, ghostscript6, ghostscript-fonts #Replaces: ghostscript6 Type: nosource Maintainer: Dave Morrison Description: Placeholder package for manually installed ghostscript 6.01 DescDetail: << Install this package if you have ghostscript v.6.01 and the ghostscript fonts installed manually, for example, using Gerben Wierda's ghostscript and teTeX installer that accompanies TeXShop (as released in August 2001). << CompileScript: << echo "This public domain package creates links from a ghostscript installation in" > README echo "/usr/local to appropriate locations in the fink tree." >> README << InstallScript: << mkdir -p %i/bin mkdir -p %i/share/man/man1 for file in bdftops dvipdf eps2eps fixmswrd.pl font2c gs gsbj gsdj gsdj500 gslj gslp gsnd lprsetup.sh pdf2dsc pdf2ps pf2afm pfbtopfa pj-gs.sh printafm ps2ascii ps2epsi ps2pdf ps2pdf12 ps2pdf13 ps2pdfwr ps2ps pv.sh sysvlp.sh unix-lpr.sh wftopfa; do ln -s /usr/local/bin/$file %i/bin; done for file in dvipdf.1 eps2eps.1 font2c.1 gs.1 gslp.1 gsnd.1 pdf2dsc.1 pdf2ps.1 pf2afm.1 pfbtopfa.1 printafm.1 ps2ascii.1 ps2epsi.1 ps2pdf.1 ps2pdfwr.1 ps2ps.1 wftopfa.1 gsbj.1 gsdj.1 gsdj500.1 gslj.1 ps2pdf12.1 ps2pdf13.1; do ln -s /usr/local/man/man1/$file %i/share/man/man1; done mkdir -p %i/share/doc/ mkdir -p %i/share/ghostscript/%v ln -s /usr/local/share/ghostscript/%v/doc %i/share/doc/ghostscript ln -s /usr/local/share/ghostscript/%v/examples %i/share/ghostscript/%v/examples ln -s /usr/local/share/ghostscript/%v/lib %i/share/ghostscript/%v/lib ln -s /usr/local/share/ghostscript/fonts %i/share/ghostscript/fonts << DocFiles: README License: Public Domain PostInstScript: << cd %p/share/ghostscript/fonts && type1inst --nolog << PreInstScript: << echo # check for ghostscript installation. if [ -d /usr/local/share/ghostscript/%v ]; then echo "It looks like you may have ghostscript installed .. will check for some files .." echo else echo "You don't have ghostscript version %v installed in /usr/local. Install" echo "the ghostscript6 package instead." exit 1 fi #check for fonts if [ -d /usr/local/share/ghostscript/fonts ]; then # check for some needed files if [ ! -f "/usr/local/bin/gs" ]; then echo "You don't a valid ghostscript installation; you were missing" echo "/usr/local/bin/gs. Install the ghostscript6 package instead." fi echo "Valid ghostscript installation detected." echo else #fonts echo "You don't have the ghostscript fonts installed in /usr/local." echo "Install the ghostscript6 and ghostscript-fonts packages instead." exit 1 fi <<