freebsd-ports/x11-toolkits/py-gtk2/pkg-install
Joe Marcus Clarke ef15a1d919 * Update to 1.99.13 [1]
* Don't install .la files [2]
* Correct typo in pkg-install [2]
* Add missing file to plist [2]
* Correct GNOMENG dependency [2]
* Fix portlint nits [2]

PR:		43985 [1]
Submitted by:	maintainer [1]
Approved by:	maintainer [2]
2002-10-12 22:53:58 +00:00

16 lines
327 B
Bash

#!/bin/sh
if [ -n "${PACKAGE_BUILDING}" ]; then
exit 0
fi
PATH=/bin:/usr/bin:/sbin:/usr/sbin:${PATH}
export PATH
if [ "$2" = "PRE-INSTALL" ]; then
if pkg_info | grep "^py-gtk-[0-9]"; then
echo "py-gtk for GTK+ 1.x was detected."
echo "This packages cannot coexist with py-gtk."
false
fi
fi