initial checkin of new hdw-linux development cvs repository
[hdw-linux/hdw-linux.git] / packages / x11 / gv / gv
1 # hdw-linux gv extensions
2
3 # author: hackbard@hackdaworld.dyndns.org
4
5 # [V] 3.5.8
6 # [S] 3-7
7 # [D] gv-3.5.8.tar.gz ftp://ftpthep.physik.uni-mainz.de/pub/gv/unix/
8
9 make_conf="$make_conf Makefiles"
10
11 pre_install()   {
12         # patch the configuration
13         sed "s% /usr/local% $root/usr%" config.Unix > config_tmp
14         mv config_tmp config.Unix
15         [ -z "`echo $PATH | grep X11\/bin`" ] && \
16                 export PATH="$PATH:$root/usr/X11/bin"
17         echo "running xmkmf ..."
18         xmkmf
19                 }
20
21 post_install()  {
22         echo "installing manpages ..."
23         make install.man &&
24         echo "installing documentation ..."
25         rm -rf $docdir
26         make install.doc
27                 }