aboutsummaryrefslogtreecommitdiff
path: root/mail/usendmail
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/usendmail
parentf484c99df79f169bf954fc4b0ed83e59279a596a (diff)
downloadports-01c588a6357d8452a3e0af157e9c1250c067db2f.tar.gz
ports-01c588a6357d8452a3e0af157e9c1250c067db2f.zip
Notes
Diffstat (limited to 'mail/usendmail')
-rw-r--r--mail/usendmail/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/mail/usendmail/Makefile b/mail/usendmail/Makefile
index 7b66dc2edde7..b4959f1126ef 100644
--- a/mail/usendmail/Makefile
+++ b/mail/usendmail/Makefile
@@ -4,20 +4,17 @@
#
# $FreeBSD$
#
-# Tunables: QMAIL_DIR: Where qmail resides (default: /var/qmail)
PORTNAME= usendmail
PORTVERSION= 0.1.6
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.ohse.de/uwe/usendmail/
MAINTAINER= tmseck@netcologne.de
COMMENT= A replacement for qmail's sendmail drop-in
-BUILD_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
-RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
-
-QMAIL_DIR?= /var/qmail
+USE_QMAIL= yes
NO_SIZE= yes
USE_REINPLACE= yes
@@ -26,10 +23,10 @@ WRKSRC= ${WRKDIR}/mail/${DISTNAME}
PLIST_FILES= sbin/usendmail
PORTDOCS= NEWS README
SUB_FILES= pkg-message
-SUB_LIST= QMAIL_DIR=${QMAIL_DIR}
+SUB_LIST= QMAIL_PREFIX=${QMAIL_PREFIX}
post-patch:
- @${REINPLACE_CMD} -e 's,/var/qmail,${QMAIL_DIR},' \
+ @${REINPLACE_CMD} -e 's,/var/qmail,${QMAIL_PREFIX},' \
${WRKSRC}/src/usendmail.c
@${REINPLACE_CMD} -e 's,^CC=,CC\?=,' \
${WRKSRC}/src/Makefile