#!/bin/sh
# $FreeBSD: ports/devel/apr-devel/pkg-install,v 1.2 2002/03/19 13:20:04 roberto Exp $

if [ "$2" != "PRE-INSTALL" ]; then
  exit 0
fi

pkg_info 'apache-2*' > /dev/null 2<&1

if [ $? = 0 ]; then
  echo "apr-devel cannot currently be installed alongside apache2.  sorry."
  exit 1
fi

exit 0
