aboutsummaryrefslogtreecommitdiff
path: root/mail/mess822
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/mess822
parentf484c99df79f169bf954fc4b0ed83e59279a596a (diff)
downloadports-01c588a6357d8452a3e0af157e9c1250c067db2f.tar.gz
ports-01c588a6357d8452a3e0af157e9c1250c067db2f.zip
Notes
Diffstat (limited to 'mail/mess822')
-rw-r--r--mail/mess822/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/mail/mess822/Makefile b/mail/mess822/Makefile
index a163ee95fe8d..ff7273f4a5d3 100644
--- a/mail/mess822/Makefile
+++ b/mail/mess822/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mess822
PORTVERSION= 0.58
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://cr.yp.to/software/ \
ftp://ftp.jp.qmail.org/qmail/ \
@@ -16,7 +17,7 @@ MASTER_SITES= http://cr.yp.to/software/ \
MAINTAINER= drs@rucus.ru.ac.za
COMMENT= RFC 822 mail message parsing library and rewriting utilities
-RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
+USE_QMAIL_RUN= yes
NO_PACKAGE= Violates djb\'s license
USE_REINPLACE= yes
@@ -31,17 +32,11 @@ MAN3= mess822.3 mess822_addr.3 mess822_date.3 mess822_fold.3 \
MAN5= rewriting.5
MAN8= ofmipd.8 ofmipname.8
-.if exists(${PREFIX}/qmail/bin/qmail-send)
-QMAIL_DIR?= ${PREFIX}/qmail
-.else
-QMAIL_DIR?= /var/qmail
-.endif
-
NO_MTREE= yes
post-patch:
@${REINPLACE_CMD} -e "s|-O2|${CFLAGS}|" ${WRKSRC}/conf-cc
- @${REINPLACE_CMD} -e "s|.var.qmail|${QMAIL_DIR}|" ${WRKSRC}/conf-qmail
+ @${REINPLACE_CMD} -e "s|.var.qmail|${QMAIL_PREFIX}|" ${WRKSRC}/conf-qmail
@${ECHO_CMD} ${PREFIX} > ${WRKSRC}/conf-home
.include <bsd.port.mk>