aboutsummaryrefslogtreecommitdiff
path: root/mail/qtools
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/qtools
parentf484c99df79f169bf954fc4b0ed83e59279a596a (diff)
downloadports-01c588a6357d8452a3e0af157e9c1250c067db2f.tar.gz
ports-01c588a6357d8452a3e0af157e9c1250c067db2f.zip
Notes
Diffstat (limited to 'mail/qtools')
-rw-r--r--mail/qtools/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/mail/qtools/Makefile b/mail/qtools/Makefile
index 9dc33ceb6193..171e9a5433ef 100644
--- a/mail/qtools/Makefile
+++ b/mail/qtools/Makefile
@@ -7,27 +7,32 @@
PORTNAME= qtools
PORTVERSION= 0.56
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= http://www.superscript.com/qtools/
MAINTAINER= sergei@FreeBSD.org
COMMENT= Tools to use in .qmail files
-RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail \
- ${EZMLM_DIR}/bin/ezmlm-weed:${PORTSDIR}/mail/ezmlm
+RUN_DEPENDS= ${EZMLM_DIR}/bin/ezmlm-weed:${PORTSDIR}/mail/ezmlm
+
+WANT_QMAIL= yes
ALL_TARGET= it
INSTALL_TARGET= setup check
-QMAIL_DIR?= /var/qmail
EZMLM_DIR?= ${LOCALBASE}
+USE_REINPLACE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|02755|0755|g' ${WRKSRC}/hier.c
+
do-configure:
@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
@${ECHO_CMD} "${CC} ${STRIP}" > ${WRKSRC}/conf-ld
@${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home
- @${ECHO_CMD} "${QMAIL_DIR}" > ${WRKSRC}/conf-qmail
+ @${ECHO_CMD} "${QMAIL_PREFIX}" > ${WRKSRC}/conf-qmail
@${ECHO_CMD} "${EZMLM_DIR}/bin/ezmlm" > ${WRKSRC}/conf-ezmlm
.include <bsd.port.mk>