aboutsummaryrefslogtreecommitdiff
path: root/mail/qmailanalog
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2006-01-21 17:37:14 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2006-01-21 17:37:14 +0000
commit01c588a6357d8452a3e0af157e9c1250c067db2f (patch)
treefb26bf418ea8791ab4d308a7931c623124611c3c /mail/qmailanalog
parentf484c99df79f169bf954fc4b0ed83e59279a596a (diff)
downloadports-01c588a6357d8452a3e0af157e9c1250c067db2f.tar.gz
ports-01c588a6357d8452a3e0af157e9c1250c067db2f.zip
Notes
Diffstat (limited to 'mail/qmailanalog')
-rw-r--r--mail/qmailanalog/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/mail/qmailanalog/Makefile b/mail/qmailanalog/Makefile
index 6fc29071352a..d2b0b233c28c 100644
--- a/mail/qmailanalog/Makefile
+++ b/mail/qmailanalog/Makefile
@@ -7,14 +7,14 @@
PORTNAME= qmailanalog
PORTVERSION= 0.70
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= http://cr.yp.to/software/
MAINTAINER= garga@FreeBSD.org
COMMENT= A collection of tools to analyze qmail-send's activity
-RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
+USE_QMAIL_RUN= yes
ALL_TARGET= it
INSTALL_TARGET= setup
@@ -24,19 +24,13 @@ MAN1= matchup.1 xqp.1 xsender.1 xrecipient.1 columnt.1
PLIST_SUB+= MYSUBDIR=${MYSUBDIR}
-.if exists(${PREFIX}/qmail/bin/qmail-send)
-QMAIL_DIR?= ${PREFIX}/qmail
-.else
-QMAIL_DIR?= /var/qmail
-.endif
-
.if !defined(NOSUBDIR)
MYSUBDIR?= qmailanalog/
.else
MYSUBDIR?=
.endif
-PREFIX?= ${QMAIL_DIR}
+PREFIX?= ${QMAIL_PREFIX}
QMPREFIX?= ${PREFIX}/${MYSUBDIR}
NO_MTREE= yes
@@ -44,8 +38,8 @@ USE_REINPLACE= yes
.include <bsd.port.pre.mk>
-.if ${PREFIX} != ${QMAIL_DIR}
-BROKEN= "Cannot Make and Install with different PREFIX or QMAIL_DIR"
+.if ${PREFIX} != ${QMAIL_PREFIX}
+BROKEN= "Cannot Make and Install with different PREFIX or QMAIL_PREFIX"
.endif
post-patch: