aboutsummaryrefslogtreecommitdiffstats
path: root/mail/qpopper
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-10-08 17:05:38 +0800
committerache <ache@FreeBSD.org>1997-10-08 17:05:38 +0800
commit87eb31e3bf2a82787c2053ef06a8647876a98c26 (patch)
tree3cb065c1bda63ff95e140620ad7f59e8e90e19cd /mail/qpopper
parent44c54d82cce394eec62a679734ad909db94a05f2 (diff)
downloadfreebsd-ports-gnome-87eb31e3bf2a82787c2053ef06a8647876a98c26.tar.gz
freebsd-ports-gnome-87eb31e3bf2a82787c2053ef06a8647876a98c26.tar.zst
freebsd-ports-gnome-87eb31e3bf2a82787c2053ef06a8647876a98c26.zip
Remove NO_PACKAGE and add pkg/REQ instead
Diffstat (limited to 'mail/qpopper')
-rw-r--r--mail/qpopper/Makefile4
-rw-r--r--mail/qpopper/pkg-req12
-rw-r--r--mail/qpopper/scripts/pre-install4
3 files changed, 15 insertions, 5 deletions
diff --git a/mail/qpopper/Makefile b/mail/qpopper/Makefile
index 55bb95303394..6949dbf279e1 100644
--- a/mail/qpopper/Makefile
+++ b/mail/qpopper/Makefile
@@ -3,7 +3,7 @@
# Date created: 1 April 1995
# Whom: pst
#
-# $Id: Makefile,v 1.16 1997/10/07 20:37:15 ache Exp $
+# $Id: Makefile,v 1.17 1997/10/07 20:55:49 ache Exp $
#
DISTNAME= qpopper2.4b2
@@ -19,8 +19,6 @@ MAINTAINER= pst@freebsd.org
# with APOP authentification only
#
-NO_PACKAGE= "Needs POP UID"
-
O_DEFS= -DSETPROCTITLE -DKEEP_TEMP_DROP -DBSD44_DBM -DBIND43 \
-DAPOP='\"'${PREFIX}'/etc/popper/pop.auth\"' \
-DPOPUID='\"pop\"' \
diff --git a/mail/qpopper/pkg-req b/mail/qpopper/pkg-req
new file mode 100644
index 000000000000..62e0f233117f
--- /dev/null
+++ b/mail/qpopper/pkg-req
@@ -0,0 +1,12 @@
+if [ "$2" != "INSTALL" ]; then
+ exit 0
+fi
+if ! id -u pop > /dev/null 2>&1; then
+ echo "You need an account \"pop\" to install this package."
+ echo "Please add it by hand (try \"man vipw\") and try again."
+ echo ""
+ echo "An example passwd entry is:"
+ echo "pop:*:68:6::0:0:Post Office Owner:/nonexistent:/nonexistent"
+ echo ""
+ exit 1
+fi
diff --git a/mail/qpopper/scripts/pre-install b/mail/qpopper/scripts/pre-install
index b6cb9cfe0763..d3e1fef66350 100644
--- a/mail/qpopper/scripts/pre-install
+++ b/mail/qpopper/scripts/pre-install
@@ -3,8 +3,8 @@ if ! id -u pop > /dev/null 2>&1; then
echo "You need an account \"pop\" to install this package."
echo "Please add it by hand (try \"man vipw\") and try again."
echo ""
- echo "An example passwd entry (assuming uid 68 is available) is;"
- echo "pop:*:68:1::0:0:Post Office Owner:/nonexistent:/nonexistent"
+ echo "An example passwd entry is:"
+ echo "pop:*:68:6::0:0:Post Office Owner:/nonexistent:/nonexistent"
echo ""
exit 1
fi