aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/Makefile1
-rw-r--r--mail/qtools/Makefile34
-rw-r--r--mail/qtools/distinfo1
-rw-r--r--mail/qtools/pkg-comment1
-rw-r--r--mail/qtools/pkg-descr12
-rw-r--r--mail/qtools/pkg-plist16
6 files changed, 65 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 0d5b950a5df1..b2756381d34b 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -155,6 +155,7 @@
SUBDIR += qmailadmin
SUBDIR += qmailanalog
SUBDIR += qpopper
+ SUBDIR += qtools
SUBDIR += rblcheck
SUBDIR += rftp
SUBDIR += ripmime
diff --git a/mail/qtools/Makefile b/mail/qtools/Makefile
new file mode 100644
index 000000000000..e19685c96fe7
--- /dev/null
+++ b/mail/qtools/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: qtools
+# Date created: 3 July 2001
+# Whom: petef@databits.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= qtools
+PORTVERSION= 0.55
+CATEGORIES= mail
+MASTER_SITES= http://www.superscript.com/qtools/
+
+MAINTAINER= petef@databits.net
+
+RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
+
+ALL_TARGET= it
+INSTALL_TARGET= setup check
+
+.if exists(${PREFIX}/qmail/bin/qmail-send)
+QMAIL_DIR?= ${PREFIX}/qmail
+.else
+QMAIL_DIR?= /var/qmail
+.endif
+
+NO_PACKAGE= A possibly inherited DJB-style license would prohibit \
+ distribution of modified binary packages
+
+post-patch:
+ @${ECHO} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
+ @${ECHO} "${CC} ${CFLAGS} ${STRIP}" > ${WRKSRC}/conf-ld
+ @${PERL} -pi -e 's!/usr/local!${PREFIX}!g' ${WRKSRC}/conf-home
+
+.include <bsd.port.mk>
diff --git a/mail/qtools/distinfo b/mail/qtools/distinfo
new file mode 100644
index 000000000000..c3191e7fd68d
--- /dev/null
+++ b/mail/qtools/distinfo
@@ -0,0 +1 @@
+MD5 (qtools-0.55.tar.gz) = 79ca4b9933a4b7038d8e6884a9e5214b
diff --git a/mail/qtools/pkg-comment b/mail/qtools/pkg-comment
new file mode 100644
index 000000000000..70795d1b2c4b
--- /dev/null
+++ b/mail/qtools/pkg-comment
@@ -0,0 +1 @@
+Several utilities for use with qmail
diff --git a/mail/qtools/pkg-descr b/mail/qtools/pkg-descr
new file mode 100644
index 000000000000..7b127fc4b79e
--- /dev/null
+++ b/mail/qtools/pkg-descr
@@ -0,0 +1,12 @@
+The qtools package comprises several utilities for use with qmail,
+typically as part of .qmail command processing.
+
+Included are tools to extract the message body, extract all or
+parts of the header, check an address list for a matching address
+or domain, message filtering and forwarding, write to a maildir,
+and automatically reply to certain messages.
+
+WWW: http://www.superscript.com/qtools/intro.html
+
+- Pete
+petef@databits.net
diff --git a/mail/qtools/pkg-plist b/mail/qtools/pkg-plist
new file mode 100644
index 000000000000..c76d37a2c2bd
--- /dev/null
+++ b/mail/qtools/pkg-plist
@@ -0,0 +1,16 @@
+bin/822addr
+bin/822body
+bin/822bodyfilter
+bin/822fields
+bin/822headerfilter
+bin/822headerok
+bin/822headers
+bin/checkaddr
+bin/checkdomain
+bin/condtomaildir
+bin/filterto
+bin/ifaddr
+bin/iftoccfrom
+bin/replier
+bin/replier-config
+bin/tomaildir