summaryrefslogtreecommitdiff
path: root/security/drweb-qmail
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-08-14 07:47:50 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-08-14 07:47:50 +0000
commiteb1aff55328e96dcbf13fcd6244f3170d401d48f (patch)
treebd54db9db430dcd3286b61d023e0774878d5f01a /security/drweb-qmail
parent- Update to 1.11 (diff)
- Add native binary for FreeBSD 5.x
Submitted by: maintainer
Diffstat (limited to 'security/drweb-qmail')
-rw-r--r--security/drweb-qmail/Makefile12
-rw-r--r--security/drweb-qmail/distinfo1
2 files changed, 10 insertions, 3 deletions
diff --git a/security/drweb-qmail/Makefile b/security/drweb-qmail/Makefile
index 72b13247ac68..dc77dd4b0019 100644
--- a/security/drweb-qmail/Makefile
+++ b/security/drweb-qmail/Makefile
@@ -7,10 +7,9 @@
PORTNAME= drweb_qmail
PORTVERSION= 4.29.12
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security mail
MASTER_SITES= ftp://ftp.drweb.ru/pub/unix/
-DISTNAME= drweb-qmail-${PORTVERSION}-F-freebsd4
MAINTAINER= info@volginfo.ru
COMMENT= Qmail client for DrWeb antivirus suite
@@ -33,6 +32,13 @@ DRWEB_PREFIX= ${PREFIX}/drweb
PW_CMD?= /usr/sbin/pw
+.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 500000
+DISTNAME= drweb-qmail-${PORTVERSION}-F-freebsd5
+.else
+DISTNAME= drweb-qmail-${PORTVERSION}-F-freebsd4
+.endif
+
pre-fetch:
@${ECHO_MSG} ""
@${ECHO_MSG} "You can use QMAIL_PREFIX (default value is /var/qmail) and QMAIL_NOFILES (default value is qnofiles) options."
@@ -81,4 +87,4 @@ do-install:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/security/drweb-qmail/distinfo b/security/drweb-qmail/distinfo
index c860262ecf18..4d268d257a95 100644
--- a/security/drweb-qmail/distinfo
+++ b/security/drweb-qmail/distinfo
@@ -1 +1,2 @@
MD5 (drweb-qmail-4.29.12-F-freebsd4.tar.gz) = d59d9e5f9c6773676676d4c357aaac3e
+MD5 (drweb-qmail-4.29.12-F-freebsd5.tar.gz) = bc5ea264ceda2a3133d3354817e564b5