From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 27 14:50:10 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0A1837B404 for ; Fri, 27 Jun 2003 14:50:09 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EED044001 for ; Fri, 27 Jun 2003 14:50:07 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h5RLo6Up039908 for ; Fri, 27 Jun 2003 14:50:06 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h5RLo6lj039907; Fri, 27 Jun 2003 14:50:06 -0700 (PDT) Resent-Date: Fri, 27 Jun 2003 14:50:06 -0700 (PDT) Resent-Message-Id: <200306272150.h5RLo6lj039907@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sergei Kolobov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79F7337B404 for ; Fri, 27 Jun 2003 14:48:29 -0700 (PDT) Received: from outpost.globcon.net (outpost.globcon.net [62.141.88.161]) by mx1.FreeBSD.org (Postfix) with SMTP id 1A27344015 for ; Fri, 27 Jun 2003 14:48:27 -0700 (PDT) (envelope-from sgk@kolobov.com) Received: (qmail 91907 invoked from network); 27 Jun 2003 21:48:23 -0000 Received: from dom.kolobov.com (HELO kolobov.com) (213.247.180.114) by outpost.globcon.net with SMTP; 27 Jun 2003 21:48:23 -0000 Received: (qmail 5284 invoked by uid 911); 27 Jun 2003 21:12:44 -0000 Message-Id: <20030627211244.5283.qmail@kolobov.com> Date: 27 Jun 2003 21:12:44 -0000 From: Sergei Kolobov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/53858: [PATCH] mail/ezmlm: take maintainership X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2003 21:50:10 -0000 >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 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 +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: