From owner-freebsd-ports Wed Aug 21 15:40:16 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6665237B400 for ; Wed, 21 Aug 2002 15:40:07 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BA2043E9E for ; Wed, 21 Aug 2002 15:40:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7LMe5JU090062 for ; Wed, 21 Aug 2002 15:40:05 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7LMe54V090061; Wed, 21 Aug 2002 15:40:05 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EA8937B400 for ; Wed, 21 Aug 2002 15:33:18 -0700 (PDT) Received: from outpost.lukarcos.com (outpost.lukarcos.com [195.239.240.132]) by mx1.FreeBSD.org (Postfix) with SMTP id 01BD343E42 for ; Wed, 21 Aug 2002 15:33:17 -0700 (PDT) (envelope-from sgk@outpost.globcon.net) Received: (qmail 757 invoked by uid 911); 21 Aug 2002 22:33:19 -0000 Message-Id: <20020821223319.756.qmail@outpost.globcon.net> Date: 21 Aug 2002 22:33:19 -0000 From: Sergei Kolobov To: FreeBSD-gnats-submit@FreeBSD.org Cc: anders@hack.org X-Send-Pr-Version: 3.113 Subject: ports/41864: [PATCH] mail/getmail port: simplify Makefile Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 41864 >Category: ports >Synopsis: [PATCH] mail/getmail port: simplify Makefile >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 21 15:40:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Sergei Kolobov >Release: FreeBSD 4.6-STABLE i386 >Organization: >Environment: System: FreeBSD outpost.globcon.net 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Aug 1 02:44:26 MSD 2002 sgk@outpost.globcon.net:/data/FreeBSD/obj/data/FreeBSD/src/sys/OUTPOST i386 >Description: Use EXAMPLESDIR to slightly simplify Makefile >How-To-Repeat: Patch included. >Fix: --- getmail.patch begins here --- diff -ruN getmail.orig/Makefile getmail/Makefile --- getmail.orig/Makefile Wed Aug 21 13:26:02 2002 +++ getmail/Makefile Wed Aug 21 13:28:14 2002 @@ -17,6 +17,8 @@ USE_REINPLACE= yes NO_BUILD= yes +DOCS= CHANGELOG docs.txt faq.txt getmail.txt + post-patch: @${REINPLACE_CMD} -e 's!/usr/lib/getmail!${DATADIR}!' \ -e 's!`which python`!${PYTHON_CMD}!' ${WRKSRC}/getmail @@ -25,12 +27,11 @@ ${INSTALL_SCRIPT} ${WRKSRC}/getmail ${PREFIX}/bin @${MKDIR} ${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIR} - @${MKDIR} ${PREFIX}/share/examples/getmail - ${INSTALL_DATA} ${WRKSRC}/getmailrc-example \ - ${PREFIX}/share/examples/getmail + @${MKDIR} ${EXAMPLEDIR} + ${INSTALL_DATA} ${WRKSRC}/getmailrc-example ${EXAMPLEDIR} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -.for file in CHANGELOG docs.txt faq.txt getmail.txt +.for file in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} .endfor .endif --- getmail.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message