Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  8 Sep 2004 10:14:56 +0800 (CST)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        bremner@unb.ca
Subject:   ports/71482: [PATCH] mail/hashcash: utilize PORTDOCS and unbreak
Message-ID:  <20040908021456.260D83E9C58@utopia.leeym.com>
Resent-Message-ID: <200409080220.i882KP6i099904@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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 <bsd.port.mk>
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040908021456.260D83E9C58>