1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/mail/imap-uw/pkg-req.rev
David W. Chapman Jr. bd84b72bdf Update imap-uw and cclient to 0106191041
Add SSL support to both
Add pkg-req.rev to detect version
Add pkg-req.ssl to keep track of ssl versions

PR:		28289
Submitted by:	maintainer
2001-06-25 02:40:49 +00:00

24 lines
608 B
Bash

#! /bin/sh
# anders@fix.no, 2001-06-19
if [ ! -f "$1" ]
then
echo "Your installation of the cclient port is outdated. Please delete it before"
echo "continuing."
exit 1
fi
portver=`grep "^#define CCLIENT_PORTVERSION" $1 | awk '{print $3}' \
| sed s/\"//g`
if [ "$portver" = "$2" ]
then
echo "Your imap-uw port matches the version of your cclient port. Fine."
exit 0
else
echo "Your cclient port (PORTVERSION $portver) does not match the version of imap-uw"
echo "(PORTVERSION $2) you are trying to install. Please delete your"
echo "installation of the cclient port before continuing."
exit 1
fi