version 1.2, 2000/03/04 04:00:48 |
version 1.3, 2000/03/04 07:25:35 |
|
|
#!/bin/sh |
#!/bin/sh |
# $OpenXM: OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2/pkg/INSTALL,v 1.1.1.1 2000/03/02 10:32:39 takayama Exp $ |
# $OpenXM: OpenXM/misc/packages/FreeBSD/openxm-ports/openxm-1.1.2/pkg/INSTALL,v 1.2 2000/03/04 04:00:48 takayama Exp $ |
# If you change this, modify Makefile/ post-install, too. |
# If you change this, modify Makefile/ post-install, too. |
echo "pkg/INSTALL script" |
echo "pkg/INSTALL script" |
echo -n "PKG_PREFIX is " |
echo -n "PKG_PREFIX is " |
echo $PKG_PREFIX |
echo $PKG_PREFIX |
if [ $2 = "PRE-INSTALL" ] ; then |
if [ $2 = "PRE-INSTALL" ] ; then |
(/bin/rm -rf $PKG_PREFIX/OpenXM ; mkdir -f $PKG_PREFIX/OpenXM ; mkdir -f $PKG_PREFIX/OpenXM/lib ; mkdir -f $PKG_PREFIX/OpenXM/lib/sm1 ; mkdir -f $PKG_PREFIX/OpenXM/lib/sm1/bin ) |
(/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 |
fi |
if [ $2 = "POST-INSTALL" ] ; then |
if [ $2 = "POST-INSTALL" ] ; then |
(cd $PKG_PREFIX/OpenXM/rc ; make clean ; make install PREFIX=$PKG_PREFIX) |
(cd $PKG_PREFIX/OpenXM/rc ; make clean ; make install PREFIX=$PKG_PREFIX) |