aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-08-14 15:47:50 +0800
committerkrion <krion@FreeBSD.org>2003-08-14 15:47:50 +0800
commitf17e5584f4fd39f9c4ae6da61f2d4af5ff41b91b (patch)
tree8ade897a9a8a1559787228490653a036d7639a92
parent2662b4a99ab772eebab8802a5fe4a03a631306f9 (diff)
downloadfreebsd-ports-gnome-f17e5584f4fd39f9c4ae6da61f2d4af5ff41b91b.tar.gz
freebsd-ports-gnome-f17e5584f4fd39f9c4ae6da61f2d4af5ff41b91b.tar.zst
freebsd-ports-gnome-f17e5584f4fd39f9c4ae6da61f2d4af5ff41b91b.zip
- Add native binary for FreeBSD 5.x
Submitted by: maintainer
-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