#!/bin/sh # Beispiel - Install-Script fuer FreeBSD 4.4 # ################################################################################ # # Diese Datei sollte als root ausgefuehrt werden! # Es werden die benoetigten Ports installiert und # die vorbereiteten Konfigurationsdateien werden # an die entsprechende Stelle kopiert. # (dabei werden die originalen Dateien ueberschrieben.) # # startverzeichnis=`pwd` echo $startverzeichnis # # bash2=/usr/ports/shells/bash2 tcsh=/usr/ports/shells/tcsh xfree86=/usr/ports/x11/XFree86-4 xloadimage=/usr/ports/x11/xloadimage ghostview=/usr/ports/print/ghostview #ghostscript6=/usr/ports/print/ghostscript6 pstoedit=/usr/ports/graphics/pstoedit acroread4=/usr/ports/print/acroread4 icewm=/usr/ports/x11-wm/icewm-i18n icepref=/usr/ports/x11-wm/icepref # fvwm2=/usr/ports/x11-wm/fvwm2-i18n # enlightenment=/usr/ports/x11-wm/enlightenment xterm=/usr/ports/x11/xterm rxvt=/usr/ports/x11/rxvt eterm=/usr/ports/x11/eterm aterm=/usr/ports/x11/aterm unzip=/usr/ports/archivers/unzip xosview=/usr/ports/sysutils/xosview asclock=/usr/ports/x11-clocks/asclock wmcalclock=/usr/ports/x11-clocks/wmCalClock xlockmore=/usr/ports/x11/xlockmore nmap=/usr/ports/security/nmap iglooftp=/usr/ports/ftp/IglooFTP teapot=/usr/ports/deskutils/teapot soffice52=/usr/ports/german/staroffice52 gnumeric=/usr/ports/math/gnumeric gnuplot=/usr/ports/math/gnuplot gimp=/usr/ports/graphics/gimp1 mtv=/usr/ports/graphics/mtv sane=/usr/ports/graphics/sane xfig=/usr/ports/graphics/xfig xv=/usr/ports/graphics/xv # gnome=/usr/ports/x11/gnome #latex=/usr/ports/print/latex #dvips=/usr/ports/print/dvips #dvipdfm=/usr/ports/print/dvipdfm #dvi2tty=/usr/ports/print/dvi2tty #xdvi=/usr/ports/print/xdvi # # cd $bash2;make install;make clean cd $tcsh;make install;make clean cd $xfree86;make install;make clean cd $xloadimage;make install;make clean cd $ghostview;make install;make clean #cd $ghostscript6;make install;make clean cd $pstoedit;make install;make clean cd $acroread4;make install;make clean ln -s /usr/local/Acrobat4/bin/acroread /usr/X11R6/bin/acroread cd $icewm;make install;make clean cd $icepref;make install;make clean # cd $fvwm2;make install;make clean # cd $enlightenment;make install;make clean cd $xterm;make install;make clean cd $rxvt;make install;make clean cd $eterm;make install;make clean cd $aterm;make install;make clean cd $unzip;make install;make clean cd $xosview;make install;make clean cd $asclock;make install;make clean cd $wmcalclock;make install;make clean cd $xlockmore;make install;make clean cd $nmap;make install;make clean cd $iglooftp;make install;make clean cd $teapot;make install;make clean cd $soffice52;make install;make clean cd $gnumeric;make install;make clean cd $gnuplot;make install;make clean cd $gimp;make install;make clean cd $mtv;make install;make clean cd $sane;make install;make clean cd $xfig;make install;make clean cd $xv;make install;make clean # cd $gnom;make install;make clean #cd $latex;make install;make clean #cd $dvips;make install;make clean #cd $dvipdfm;make install;make clean #cd $dvi2tty;make install;make clean #cd $xdvi;make install;make clean # # cd $startverzeichnis # # echo " " >> /usr/X11R6/etc/system.fvwm2rc mv /usr/X11R6/etc/system.fvwm2rc /usr/X11R6/etc/system.fvwm2rc.original cp ./system.fvwm2rc /usr/X11R6/etc/system.fvwm2rc echo " " >> /usr/X11R6/lib/X11/xinit/xinitrc mv /usr/X11R6/lib/X11/xinit/xinitrc /usr/X11R6/lib/X11/xinit/xinitrc.original cp ./xinitrc /usr/X11R6/lib/X11/xinit/