diff options
Diffstat (limited to 'ports-mgmt/portaudit/pkg-req')
-rw-r--r-- | ports-mgmt/portaudit/pkg-req | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/ports-mgmt/portaudit/pkg-req b/ports-mgmt/portaudit/pkg-req deleted file mode 100644 index 5a8ba2d087db..000000000000 --- a/ports-mgmt/portaudit/pkg-req +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -case $2 in -INSTALL) - if [ -z "${PKG_INFO}" ]; then - if [ -x "%%LOCALBASE%%/sbin/pkg_info" ]; then - PKG_INFO="%%LOCALBASE%%/sbin/pkg_info" - else - PKG_INFO="/usr/sbin/pkg_info" - fi - fi - - if [ ! -x "${PKG_INFO}" ]; then - echo "${PKG_INFO} missing, please install port sysutils/pkg_install-devel" - exit 1 - fi - - PKG_INSTALL_VER=`${PKG_INFO} -qP 2>/dev/null` - if [ -z "${PKG_INSTALL_VER}" -o "${PKG_INSTALL_VER}" -lt %%REQPKGVER%% ]; then - echo "${PKG_INFO} is too old, please update port sysutils/pkg_install-devel" - exit 1 - fi - - if [ "`echo FreeBSD | tr -s .`" != "FreeBSD" ]; then - echo "tr(1) is broken." - exit 1 - fi - ;; -esac |