aboutsummaryrefslogtreecommitdiff
path: root/mail/qtools/Makefile
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2003-05-10 12:54:45 +0000
committerPete Fritchman <petef@FreeBSD.org>2003-05-10 12:54:45 +0000
commit3c1f3e7438862e9c3c9ac6ebf24539875315b651 (patch)
tree3ea2fa09453326d5aa1439a357f692846359ac9b /mail/qtools/Makefile
parent5abb6716eb5600d13daf693cf7b94039cc12b471 (diff)
downloadports-3c1f3e7438862e9c3c9ac6ebf24539875315b651.tar.gz
ports-3c1f3e7438862e9c3c9ac6ebf24539875315b651.zip
Notes
Diffstat (limited to 'mail/qtools/Makefile')
-rw-r--r--mail/qtools/Makefile24
1 files changed, 11 insertions, 13 deletions
diff --git a/mail/qtools/Makefile b/mail/qtools/Makefile
index 9350a2ee7788..34e82ec197b0 100644
--- a/mail/qtools/Makefile
+++ b/mail/qtools/Makefile
@@ -7,29 +7,27 @@
PORTNAME= qtools
PORTVERSION= 0.56
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.superscript.com/qtools/
-MAINTAINER= petef@FreeBSD.org
-COMMENT= Several utilities for use with qmail
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Tools to use in .qmail files
-RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
+RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail \
+ ${EZMLM_DIR}/bin/ezmlm-weed:${PORTSDIR}/mail/ezmlm
ALL_TARGET= it
INSTALL_TARGET= setup check
-.if exists(${PREFIX}/qmail/bin/qmail-send)
-QMAIL_DIR?= ${PREFIX}/qmail
-.else
QMAIL_DIR?= /var/qmail
-.endif
+EZMLM_DIR?= ${LOCALBASE}
-NO_PACKAGE= A possibly inherited DJB-style license would prohibit \
- distribution of modified binary packages
-
-post-patch:
+do-configure:
@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
- @${ECHO_CMD} "${CC} ${CFLAGS} ${STRIP}" > ${WRKSRC}/conf-ld
- @${PERL} -pi -e 's!/usr/local!${PREFIX}!g' ${WRKSRC}/conf-home
+ @${ECHO_CMD} "${CC} ${STRIP}" > ${WRKSRC}/conf-ld
+ @${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home
+ @${ECHO_CMD} "${QMAIL_DIR}" > ${WRKSRC}/conf-qmail
+ @${ECHO_CMD} "${EZMLM_DIR}/bin/ezmlm" > ${WRKSRC}/conf-ezmlm
.include <bsd.port.mk>