source "/Users/distiller/project/miniconda/bin/activate" "/opt/anaconda1anaconda2anaconda3" &> /dev/null
#!/bin/bash

# install in opt/
mkdir -p $PREFIX/opt/
find $SRC_DIR/util -name '*.pl' -exec sed -i.bak 's/FindBin::Bin/FindBin::RealBin/' {} +
find $SRC_DIR/util -name '*.bak' -exec rm {} +
cp -R $SRC_DIR $PREFIX/opt/$PKG_NAME

# symlink to binaries
mkdir -p $PREFIX/bin/
ln -s $PREFIX/opt/$PKG_NAME/TransDecoder.Predict $PREFIX/bin/
ln -s $PREFIX/opt/$PKG_NAME/TransDecoder.LongOrfs $PREFIX/bin/
ln -s $PREFIX/opt/$PKG_NAME/util/*.pl $PREFIX/bin/
