aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ezmlm-idx/Makefile64
-rw-r--r--mail/ezmlm-idx/distinfo2
-rw-r--r--mail/ezmlm-idx/pkg-comment1
-rw-r--r--mail/ezmlm-idx/pkg-descr19
-rw-r--r--mail/ezmlm-idx/pkg-plist26
5 files changed, 112 insertions, 0 deletions
diff --git a/mail/ezmlm-idx/Makefile b/mail/ezmlm-idx/Makefile
new file mode 100644
index 000000000000..58a6e011d729
--- /dev/null
+++ b/mail/ezmlm-idx/Makefile
@@ -0,0 +1,64 @@
+# New ports collection makefile for: ezmlm
+# Version required: 0.53
+# Date created: 28 November 1998
+# Whom: Neil Blakey-Milner <nbm@rucus.ru.ac.za>
+#
+# $Id$
+
+DISTNAME= ezmlm-idx-${IDX_VERSION}
+CATEGORIES= mail
+MASTER_SITES= ftp://ftp.id.wustl.edu/pub/patches/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ ezmlm-${EZMLM_VERSION}${EXTRACT_SUFX}
+
+MAINTAINER= ports@freebsd.org
+
+RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
+
+WRKSRC= ${WRKDIR}/ezmlm-${EZMLM_VERSION}
+
+ALL_TARGET= it
+INSTALL_TARGET= setup
+
+MAN1= ezmlm-list.1 ezmlm-make.1 ezmlm-manage.1 ezmlm-reject.1 \
+ ezmlm-return.1 ezmlm-send.1 ezmlm-sub.1 ezmlm-unsub.1 \
+ ezmlm-warn.1 ezmlm-weed.1 ezmlm-accept.1 ezmlm-both.1 \
+ ezmlm-issubn.1 ezmlm-glconf.1 ezmlm-glmake.1 ezmlm-moderate.1 \
+ ezmlm-request.1 ezmlm-store.1 ezmlm-idx.1 ezmlm-gate.1 \
+ ezmlm-tstdig.1 ezmlm-get.1 ezmlm-check.1 ezmlm-clean.1 \
+ ezmlm-cron.1
+MAN5= ezmlm.5
+
+DIFF_MSG= Cannot Make and Install with different PREFIX or QMAIL_DIR
+
+.if exists(${PREFIX}/bin/qmail-send)
+QMAIL_DIR?= ${PREFIX}/qmail
+.else
+QMAIL_DIR?= /var/qmail
+.endif
+
+EZMLM_VERSION= 0.53
+IDX_VERSION= 0.313
+
+pre-patch:
+ @${MV} -f ${WRKDIR}/ezmlm-idx-${IDX_VERSION}/* ${WRKSRC}
+ @cd ${WRKSRC} \
+ && ${PATCH} < idx.patch
+
+post-patch:
+ @perl -pi.bak -e "s|.usr.local.bin.ezmlm|${PREFIX}/bin|" ${WRKSRC}/conf-bin
+ @perl -pi.bak -e "s|.usr.local|${PREFIX}|" ${WRKSRC}/conf-man
+ @perl -pi.bak -e "s|-O2|${CFLAGS}|" ${WRKSRC}/conf-cc
+ @perl -pi.bak -e "s|.var.qmail|${QMAIL_DIR}|" ${WRKSRC}/conf-qmail
+
+ @perl -pi.bak -e '$$_ = "" if /cat/' ${WRKSRC}/MAN
+ @echo ${PREFIX} > ${WRKDIR}/.PPREFIX
+ @echo ${QMAIL_DIR} >> ${WRKDIR}/.PPREFIX
+
+pre-install:
+ @echo ${PREFIX} > ${WRKDIR}/.IPREFIX
+ @echo ${QMAIL_DIR} >> ${WRKDIR}/.IPREFIX
+ @diff ${WRKDIR}/.[PI]PREFIX > /dev/null \
+ || (echo ${DIFF_MSG} && exit 1)
+
+.include <bsd.port.mk>
diff --git a/mail/ezmlm-idx/distinfo b/mail/ezmlm-idx/distinfo
new file mode 100644
index 000000000000..dba8e3fcc11e
--- /dev/null
+++ b/mail/ezmlm-idx/distinfo
@@ -0,0 +1,2 @@
+MD5 (ezmlm-idx-0.313.tar.gz) = 34e3b177ae7ccf162a405a96213e85f2
+MD5 (ezmlm-0.53.tar.gz) = 108c632caaa8cdbfd3041e6c449191b2
diff --git a/mail/ezmlm-idx/pkg-comment b/mail/ezmlm-idx/pkg-comment
new file mode 100644
index 000000000000..877ff2e02f7a
--- /dev/null
+++ b/mail/ezmlm-idx/pkg-comment
@@ -0,0 +1 @@
+This is an addition and patch to ezmlm-0.53 [(c) Dan J. Bernstein].
diff --git a/mail/ezmlm-idx/pkg-descr b/mail/ezmlm-idx/pkg-descr
new file mode 100644
index 000000000000..4094f37aa6df
--- /dev/null
+++ b/mail/ezmlm-idx/pkg-descr
@@ -0,0 +1,19 @@
+ezmlm is an easy-to-use, high-speed mailing list manager for qmail.
+
+This is an addition and patch to ezmlm-0.53 [(c) Dan J. Bernstein].
+Ezmlm-idx uses only Dan's libraries and heavily relies on ezmlm-0.53 code.
+ezmlm-idx does not function without ezmlm-0.53.
+
+ezmlm-idx-0.31 adds threaded archive retrieval, digest creation,
+subscription moderation, remote administration, message moderation,
+a fully configurable ezmlm-make list setup and editing commands and
+a large number of other options to ezmlm lists. See man pages and
+FAQ.idx for more information. It also adds support for user- or
+host-wide integration of lists with a ``majordomo@''-style interface
+(see ezmlm-request.1 and FAQ).
+
+To use ezmlm-idx with other languages, copy the correct ezmlmrc.XX file
+(where XX is the iso 639 language code) to /etc/ezmlmrc or ~/.ezmlmrc.
+If the appropriate one doesn't exist, feel free to make a translations
+(please leave comments English for the benefit of maintenance) and mail
+to lindberg@id.wustl.edu. See FAQ.idx for more info.
diff --git a/mail/ezmlm-idx/pkg-plist b/mail/ezmlm-idx/pkg-plist
new file mode 100644
index 000000000000..dadc4a9242b5
--- /dev/null
+++ b/mail/ezmlm-idx/pkg-plist
@@ -0,0 +1,26 @@
+bin/ezmlm-accept
+bin/ezmlm-both
+bin/ezmlm-issubn
+bin/ezmlm-glconf
+bin/ezmlm-glmake
+bin/ezmlm-make
+bin/ezmlm-manage
+bin/ezmlm-send
+bin/ezmlm-request
+bin/ezmlm-reject
+bin/ezmlm-return
+bin/ezmlm-warn
+bin/ezmlm-weed
+bin/ezmlm-list
+bin/ezmlm-clean
+bin/ezmlm-cron
+bin/ezmlm-store
+bin/ezmlm-moderate
+bin/ezmlm-sub
+bin/ezmlm-unsub
+bin/ezmlmrc
+bin/ezmlm-idx
+bin/ezmlm-check
+bin/ezmlm-gate
+bin/ezmlm-tstdig
+bin/ezmlm-get