#!/bin/bash
# package is installed here with the $pkg_make_install comand from the port/conf file
# $pkg_name_version contains portname-portversion $pkg_name contains portname and $pkg_version
# contains portversion
instmon -l $pkg_name
if [ $? = 0 ]
then 
	echo "$name package $pkg_name is allready installed in another version"
	exit
fi
