![]() ![]() | ![]() |
File: [local] / OpenXM / misc / packages / FreeBSD / openxm-ports / openxm-1.1.2 / pkg / INSTALL (download)
Revision 1.5, Sat Mar 11 01:38:45 2000 UTC (24 years, 5 months ago) by takayama
DEINSTALL script saves asir_key |
#!/bin/sh # $OpenXM: OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2/pkg/INSTALL,v 1.5 2000/03/11 01:38:45 takayama Exp $ # If you change this, modify Makefile/ post-install, too. echo "pkg/INSTALL script" echo -n "PKG_PREFIX is " echo $PKG_PREFIX if [ $2 = "PRE-INSTALL" ] ; then (/bin/rm -rf $PKG_PREFIX/OpenXM ; mkdir $PKG_PREFIX/OpenXM ; mkdir $PKG_PREFIX/OpenXM/lib ; mkdir $PKG_PREFIX/OpenXM/lib/sm1 ; mkdir $PKG_PREFIX/OpenXM/lib/sm1/bin ) fi if [ $2 = "POST-INSTALL" ] ; then (cd $PKG_PREFIX/OpenXM/rc ; make clean ; make install PREFIX=$PKG_PREFIX) ; cp $PKG_PREFIX/OpenXM/man/man1/sm1.1 $PKG_PREFIX/man/man1 ; cp $PKG_PREFIX/OpenXM/man/man1/openxm.1 $PKG_PREFIX/man/man1 ; gzip -f $PKG_PREFIX/man/man1/sm1.1 $PKG_PREFIX/man/man1/openxm.1 ; if [ -f /var/tmp/asir_key.save ] ; then cp -f /var/tmp/asir_key.save $PKG_PREFIX/OpenXM/lib/asir/asir_key ; fi ; fi