Annotation of OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2/pkg/INSTALL, Revision 1.4
1.1 takayama 1: #!/bin/sh
1.4 ! takayama 2: # $OpenXM: OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2/pkg/INSTALL,v 1.3 2000/03/04 07:25:35 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 ;
! 14: gzip $PKG_PREFIX/man/man1/sm1.1 $PKG_PREFIX/man/man1/openxm.1 ;
1.1 takayama 15: fi
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>