aboutsummaryrefslogtreecommitdiff
path: root/mail/qmail-scanner1
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-07-12 20:14:59 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-07-12 20:14:59 +0000
commit3dea3e4615086557ca0b89e864a54d800f82acea (patch)
tree14914aeaafd9f8828853dc6157f16f5640714195 /mail/qmail-scanner1
parent2b55c8a4f190ebc66df651c5b7e8f4d9dccee887 (diff)
downloadports-3dea3e4615086557ca0b89e864a54d800f82acea.tar.gz
ports-3dea3e4615086557ca0b89e864a54d800f82acea.zip
Notes
Diffstat (limited to 'mail/qmail-scanner1')
-rw-r--r--mail/qmail-scanner1/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/mail/qmail-scanner1/Makefile b/mail/qmail-scanner1/Makefile
index bf51b21a987e..7ad954488368 100644
--- a/mail/qmail-scanner1/Makefile
+++ b/mail/qmail-scanner1/Makefile
@@ -7,6 +7,7 @@
PORTNAME= qmail-scanner
PORTVERSION= 1.22
+PORTREVISION= 1
CATEGORIES= mail security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,8 +18,8 @@ MAINTAINER= freebsd@simplerezo.com
COMMENT= Content/Anti-virus Scanner for qmail
BUILD_DEPENDS= ${QMAIL_QUEUE}:${PORTSDIR}/mail/qmail \
- ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
reformime:${PORTSDIR}/mail/maildrop
+RUN_DEPENDS= ${BUILD_DEPENDS}
# A normal qmail installation puts everything into /var/qmail/.
# Must match your qmail installation
@@ -113,8 +114,8 @@ pre-configure:
@${ECHO_MSG} ""
@PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/pkg-install ${PKGNAME} PRE-INSTALL
@if ! ${TEST} -f ${QMAIL_QUEUE}; then \
- @${ECHO_MSG} "Unable to found qmail-queue binary trying '${QMAIL_QUEUE}'."; \
- @${ECHO_MSG} "Please set QMAIL_DIR to your qmail installation directory !"; \
+ ${ECHO_MSG} "Unable to found qmail-queue binary trying '${QMAIL_QUEUE}'."; \
+ ${ECHO_MSG} "Please set QMAIL_DIR to your qmail installation directory !"; \
exit 1; \
fi
@@ -144,4 +145,10 @@ post-deinstall:
test:
@${WRKSRC}/contrib/test_installation.sh -doit
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
+.endif
+
+.include <bsd.port.post.mk>