Date: 27 Jun 2003 21:12:44 -0000 From: Sergei Kolobov <sergei@kolobov.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/53858: [PATCH] mail/ezmlm: take maintainership Message-ID: <20030627211244.5283.qmail@kolobov.com> Resent-Message-ID: <200306272150.h5RLo6lj039907@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 53858 >Category: ports >Synopsis: [PATCH] mail/ezmlm: take maintainership >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Jun 27 14:50:06 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Sergei Kolobov >Release: FreeBSD 5.1-CURRENT i386 >Organization: >Environment: System: FreeBSD elf.chetwood.ru 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Thu Jun 5 02:19:41 MSD >Description: - 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 >How-To-Repeat: >Fix: --- ezmlm-0.53.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/mail/ezmlm/Makefile,v retrieving revision 1.12 diff -u -r1.12 Makefile --- Makefile 27 Jun 2003 17:48:10 -0000 1.12 +++ Makefile 27 Jun 2003 21:08:02 -0000 @@ -16,29 +16,25 @@ 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 @@ @${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> Index: pkg-descr =================================================================== RCS file: /home/ncvs/ports/mail/ezmlm/pkg-descr,v retrieving revision 1.2 diff -u -r1.2 pkg-descr --- pkg-descr 15 Sep 2000 00:25:04 -0000 1.2 +++ pkg-descr 27 Jun 2003 21:08:02 -0000 @@ -20,4 +20,5 @@ 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 Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/mail/ezmlm/pkg-plist,v retrieving revision 1.2 diff -u -r1.2 pkg-plist --- pkg-plist 22 Feb 1999 04:19:11 -0000 1.2 +++ pkg-plist 27 Jun 2003 21:08:02 -0000 @@ -8,3 +8,9 @@ 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%% --- ezmlm-0.53.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030627211244.5283.qmail>