[BACK]Return to pkg-install CVS log [TXT][DIR] Up to [local] / OpenXM / misc / packages / FreeBSD / openxm-ports / openxm

Annotation of OpenXM/misc/packages/FreeBSD/openxm-ports/openxm/pkg-install, Revision 1.1

1.1     ! maekawa     1: #!/bin/sh
        !             2: # $OpenXM: OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.3/pkg/INSTALL,v 1.1 2000/09/23 07:30:05 takayama Exp $
        !             3: # If you change this, modify Makefile/ post-install, too.
        !             4: echo "pkg/INSTALL script"
        !             5: echo -n "PKG_PREFIX is "
        !             6: echo $PKG_PREFIX
        !             7: if [ $2 = "PRE-INSTALL" ] ; then
        !             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 )
        !             9: fi
        !            10: if [ $2 = "POST-INSTALL" ] ; then
        !            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 -f $PKG_PREFIX/man/man1/sm1.1 $PKG_PREFIX/man/man1/openxm.1 ;
        !            15: fi

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>