Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  8 Apr 2003 22:47:32 +0200 (CEST)
From:      Oliver Braun <obraun@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        pat@FreeBSD.org
Subject:   ports/50734: [Update Port] editors/hnb to 1.9.17
Message-ID:  <20030408204732.C2E0E264@unsane.de>
Resent-Message-ID: <200304082050.h38Ko6Lr074254@freefall.freebsd.org>

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

>Number:         50734
>Category:       ports
>Synopsis:       [Update Port] editors/hnb to 1.9.17
>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:   Tue Apr 08 13:50:06 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Braun
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD galore.unsane.de 4.8-STABLE FreeBSD 4.8-STABLE #0: Fri Apr 4 17:26:26 CEST 2003 root@galore.unsane.de:/usr/obj/usr/src/sys/GALORE i386


>Description:

* Update editors/hnb to 1.9.17.
* Install documentation.

cvs rm files/patch-Makefile files/patch-libcli::Makefile

>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/editors/hnb/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	7 Mar 2003 06:00:29 -0000	1.6
+++ Makefile	6 Apr 2003 17:48:13 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	hnb
-PORTVERSION=	1.9.8
+PORTVERSION=	1.9.17
 CATEGORIES=	editors
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -15,13 +15,24 @@
 COMMENT=	Hierarchical NoteBook a data organizer
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
+USE_REINPLACE=	yes
 USE_GMAKE=	yes
 ALL_TARGET=
 
 MAN1=		hnb.1
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|^CFLAGS=|CFLAGS+=|' ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e '/^CFLAGS/d' ${WRKSRC}/libcli/Makefile
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/hnb ${PREFIX}/bin
 	${INSTALL_MAN}	${WRKSRC}/../doc/hnb.1 ${MANPREFIX}/man/man1
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${DOCSDIR}
+.for FILE in Documentation.hnb Documentation.html hnbrc
+	${INSTALL_DATA} ${WRKSRC}/../doc/${FILE} ${DOCSDIR}
+.endfor
+.endif
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/editors/hnb/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo	14 Feb 2003 20:41:08 -0000	1.4
+++ distinfo	6 Apr 2003 17:48:13 -0000
@@ -1 +1 @@
-MD5 (hnb-1.9.8.tar.gz) = f571f61a0c4f65d9f8a3669234490f42
+MD5 (hnb-1.9.17.tar.gz) = c73b5f63d8ffe1976c915c1f8265951d
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/editors/hnb/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist	6 Jul 2001 16:19:07 -0000	1.1
+++ pkg-plist	6 Apr 2003 17:48:13 -0000
@@ -1 +1,5 @@
 bin/hnb
+%%PORTDOCS%%share/doc/hnb/Documentation.hnb
+%%PORTDOCS%%share/doc/hnb/Documentation.html
+%%PORTDOCS%%share/doc/hnb/hnbrc
+%%PORTDOCS%%@dirrm share/doc/hnb/

>Release-Note:
>Audit-Trail:
>Unformatted:



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