From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Sep 8 02:20:25 2004 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 90F0B16A4CE for ; Wed, 8 Sep 2004 02:20:25 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73BC943D48 for ; Wed, 8 Sep 2004 02:20:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i882KP8t099906 for ; Wed, 8 Sep 2004 02:20:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i882KP6i099904; Wed, 8 Sep 2004 02:20:25 GMT (envelope-from gnats) Resent-Date: Wed, 8 Sep 2004 02:20:25 GMT Resent-Message-Id: <200409080220.i882KP6i099904@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, Yen-Ming Lee Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B6ADA16A4CE for ; Wed, 8 Sep 2004 02:14:59 +0000 (GMT) Received: from utopia.leeym.com (utopia.leeym.com [211.21.137.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6721043D41 for ; Wed, 8 Sep 2004 02:14:59 +0000 (GMT) (envelope-from leeym@utopia.leeym.com) Received: from localhost (localhost [127.0.0.1]) by utopia.leeym.com (Postfix) with ESMTP id 97BB63E9C63; Wed, 8 Sep 2004 10:14:58 +0800 (CST) Received: from utopia.leeym.com ([127.0.0.1]) by localhost (utopia.leeym.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00964-07; Wed, 8 Sep 2004 10:14:56 +0800 (CST) Received: by utopia.leeym.com (Postfix, from userid 1000) id 260D83E9C58; Wed, 8 Sep 2004 10:14:56 +0800 (CST) Message-Id: <20040908021456.260D83E9C58@utopia.leeym.com> Date: Wed, 8 Sep 2004 10:14:56 +0800 (CST) From: Yen-Ming Lee To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: bremner@unb.ca Subject: ports/71482: [PATCH] mail/hashcash: utilize PORTDOCS and unbreak 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: Wed, 08 Sep 2004 02:20:25 -0000 >Number: 71482 >Category: ports >Synopsis: [PATCH] mail/hashcash: utilize PORTDOCS and unbreak >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Sep 08 02:20:24 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 5.3-BETA3 i386 >Organization: FreeBSD Taiwan >Environment: System: FreeBSD utopia.leeym.com 5.3-BETA3 FreeBSD 5.3-BETA3 #1: Sun Sep 5 01:06:46 CST >Description: - utilize PORTDOCS - unbreak this port Port maintainer (bremner@unb.ca) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: http://pointyhat.freebsd.org/errorlogs/i386-5-latest/hashcash-1.02.log >Fix: --- hashcash-1.02.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/mail/hashcash/Makefile,v retrieving revision 1.2 diff -u -u -r1.2 Makefile --- Makefile 28 Aug 2004 18:27:54 -0000 1.2 +++ Makefile 8 Sep 2004 02:13:10 -0000 @@ -15,5 +15,14 @@ COMMENT= Anti-spam / denial of service counter-measure tool MAN1= hashcash.1 sha1-hashcash.1 +PORTDOCS= CHANGELOG LICENSE README + +.if defined(NOPORTDOCS) + +USE_REINPLACE= yes + +post-patch: + ${REINPLACE_CMD} -e '/DOC_INSTALL_PATH/d' ${WRKSRC}/Makefile +.endif .include Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/mail/hashcash/pkg-plist,v retrieving revision 1.2 diff -u -u -r1.2 pkg-plist --- pkg-plist 28 Aug 2004 18:27:54 -0000 1.2 +++ pkg-plist 8 Sep 2004 02:13:10 -0000 @@ -1,6 +1,2 @@ bin/hashcash bin/sha1 -share/doc/hashcash/CHANGELOG -share/doc/hashcash/LICENSE -share/doc/hashcash/README -@dirrm share/doc/hashcash Index: files/patch-Makefile =================================================================== RCS file: /home/pcvs/ports/mail/hashcash/files/patch-Makefile,v retrieving revision 1.2 diff -u -u -r1.2 patch-Makefile --- files/patch-Makefile 28 Aug 2004 18:27:54 -0000 1.2 +++ files/patch-Makefile 8 Sep 2004 02:13:10 -0000 @@ -1,14 +1,16 @@ ---- Makefile.orig Wed Aug 11 04:01:24 2004 -+++ Makefile Sat Aug 28 11:23:16 2004 -@@ -1,6 +1,6 @@ +--- Makefile.orig Wed Aug 11 19:01:24 2004 ++++ Makefile Wed Sep 8 10:01:54 2004 +@@ -1,7 +1,7 @@ HC_VERS = 1.02 -INSTALL_PATH = /usr/bin -MAN_INSTALL_PATH = /usr/share/man/man1 +-DOC_INSTALL_PATH = /usr/share/doc/hashcash-$(HC_VERS) +INSTALL_PATH = ${PREFIX}/bin +MAN_INSTALL_PATH = ${PREFIX}/man/man1 - DOC_INSTALL_PATH = /usr/share/doc/hashcash-$(HC_VERS) ++DOC_INSTALL_PATH = ${PREFIX}/share/doc/hashcash MAKEDEPEND = makedepend # add -DCHROMATIX for libfastmint integration + EXTRA_COPT = -O3 -funroll-loops @@ -12,8 +12,8 @@ # if no POSIX or BSD, disable, still have builtin basic wildcard support # OPT = -O --- hashcash-1.02.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: