summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2003-07-09 08:58:26 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2003-07-09 08:58:26 +0000
commit09653035a1e51325cf7c79553863c529ef0c59ec (patch)
treef4e37ef0d5c6a822642dff6080a8e5d2004091fb /mail
parentpatch mail/ezmlm-idx: (diff)
update mail/ezmlm:
- Install at least some documentation - Make portlint(1) happy - move RUN_DEPENDS, etc. - Cleanup and simplify Makefile - Remove checks for changin PREFIX and/or QMAIL_DIR between build and install phases - the Ports does not support such scenarios in any case, the checks are unnecessary - Add Author tag in pkg-descr - Take maintainership PR: 53858 Submitted by: Sergei Kolobov <sergei@kolobov.com>
Notes
Notes: svn path=/head/; revision=84514
Diffstat (limited to 'mail')
-rw-r--r--mail/ezmlm/Makefile44
-rw-r--r--mail/ezmlm/pkg-descr3
-rw-r--r--mail/ezmlm/pkg-plist6
3 files changed, 24 insertions, 29 deletions
diff --git a/mail/ezmlm/Makefile b/mail/ezmlm/Makefile
index bef37b41620f..a70c51c81915 100644
--- a/mail/ezmlm/Makefile
+++ b/mail/ezmlm/Makefile
@@ -16,29 +16,25 @@ MASTER_SITES= http://cr.yp.to/software/ \
ftp://ftp.nl.uu.net/pub/unix/mail/qmail/ \
ftp://ftp.archive.de.uu.net/pub/unix/mail/qmail/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sergei@kolobov.com
COMMENT= An easy-to-use, high-speed mailing list manager for qmail
-# QMAIL_DIR is the directory where qmail is installed
-.if !defined(QMAIL_DIR)
-QMAIL_DIR= /var/qmail
-.endif
-
RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
-NO_PACKAGE= Unsure of djb's license
+NO_PACKAGE= Unsure of DJB license
+
+# QMAIL_DIR is the directory where qmail is installed
+QMAIL_DIR?= /var/qmail
ALL_TARGET= it
+PROGRAMS= ezmlm-make ezmlm-manage ezmlm-send ezmlm-reject ezmlm-return \
+ ezmlm-warn ezmlm-weed ezmlm-list ezmlm-sub ezmlm-unsub
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
MAN5= ezmlm.5
-
-DIFF_MSG= Cannot Make and Install with different PREFIX or QMAIL_DIR
-
-MY_PROGRAMS= ezmlm-make ezmlm-manage ezmlm-send ezmlm-reject ezmlm-return \
- ezmlm-warn ezmlm-weed ezmlm-list ezmlm-sub ezmlm-unsub
+DOCS= BLURB INSTALL README THANKS TODO
post-patch:
@${ECHO_CMD} ${PREFIX}/bin > ${WRKSRC}/conf-bin
@@ -46,23 +42,15 @@ post-patch:
@${ECHO_CMD} ${CC} -s > ${WRKSRC}/conf-ld
@${ECHO_CMD} ${PREFIX}/man > ${WRKSRC}/conf-man
@${ECHO_CMD} ${QMAIL_DIR} > ${WRKSRC}/conf-qmail
- @${ECHO_CMD} ${PREFIX} > ${WRKDIR}/.PPREFIX
- @${ECHO_CMD} ${QMAIL_DIR} >> ${WRKDIR}/.PPREFIX
-
-pre-install:
- @${ECHO_CMD} ${PREFIX} > ${WRKDIR}/.IPREFIX
- @${ECHO_CMD} ${QMAIL_DIR} >> ${WRKDIR}/.IPREFIX
- @diff ${WRKDIR}/.[PI]PREFIX || (${ECHO} ${DIFF_MSG} && exit 1)
do-install:
-.for file in ${MY_PROGRAMS}
- @${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
-.endfor
-.for file in ${MAN1}
- @${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/man/man1
-.endfor
-.for file in ${MAN5}
- @${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/man/man5
-.endfor
+ cd ${WRKSRC} && \
+ ${INSTALL_PROGRAM} ${PROGRAMS} ${PREFIX}/bin && \
+ ${INSTALL_MAN} ${MAN1} ${MANPREFIX}/man/man1 && \
+ ${INSTALL_MAN} ${MAN5} ${MANPREFIX}/man/man5
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+.endif
.include <bsd.port.mk>
diff --git a/mail/ezmlm/pkg-descr b/mail/ezmlm/pkg-descr
index 39d5157e1ec3..1d3a083aef3d 100644
--- a/mail/ezmlm/pkg-descr
+++ b/mail/ezmlm/pkg-descr
@@ -20,4 +20,5 @@ memory. ezmlm hashes the subscription list into a set of independent
files so that it can handle subscription requests quickly. ezmlm uses
qmail for blazingly fast parallel SMTP deliveries.
-WWW: http://cr.yp.to/ezmlm.html
+Author: D.J. Bernstein <djb@cr.yp.to>
+WWW: http://cr.yp.to/ezmlm.html
diff --git a/mail/ezmlm/pkg-plist b/mail/ezmlm/pkg-plist
index 3178efc3b9e4..2331a5ca2ed8 100644
--- a/mail/ezmlm/pkg-plist
+++ b/mail/ezmlm/pkg-plist
@@ -8,3 +8,9 @@ bin/ezmlm-sub
bin/ezmlm-unsub
bin/ezmlm-warn
bin/ezmlm-weed
+%%PORTDOCS%%%%DOCSDIR%%/BLURB
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/THANKS
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%@dirrm %%DOCSDIR%%