Annotation of OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2/pkg/INSTALL, Revision 1.5
1.1 takayama 1: #!/bin/sh
1.5 ! takayama 2: # $OpenXM: OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2/pkg/INSTALL,v 1.4 2000/03/06 04:29:02 takayama Exp $
1.2 takayama 3: # If you change this, modify Makefile/ post-install, too.
1.1 takayama 4: echo "pkg/INSTALL script"
5: echo -n "PKG_PREFIX is "
6: echo $PKG_PREFIX
1.2 takayama 7: if [ $2 = "PRE-INSTALL" ] ; then
1.3 takayama 8: (/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 )
1.2 takayama 9: fi
1.1 takayama 10: if [ $2 = "POST-INSTALL" ] ; then
1.4 takayama 11: (cd $PKG_PREFIX/OpenXM/rc ; make clean ; make install PREFIX=$PKG_PREFIX) ;
12: cp $PKG_PREFIX/OpenXM/man/man1/sm1.1 $PKG_PREFIX/man/man1 ;
13: cp $PKG_PREFIX/OpenXM/man/man1/openxm.1 $PKG_PREFIX/man/man1 ;
1.5 ! takayama 14: gzip -f $PKG_PREFIX/man/man1/sm1.1 $PKG_PREFIX/man/man1/openxm.1 ;
! 15: if [ -f /var/tmp/asir_key.save ] ; then
! 16: cp -f /var/tmp/asir_key.save $PKG_PREFIX/OpenXM/lib/asir/asir_key ;
! 17: fi ;
1.1 takayama 18: fi
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>