From sgk@kolobov.com  Tue Jun 10 17:06:02 2003
Return-Path: <sgk@kolobov.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id CD36137B404
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 10 Jun 2003 17:05:57 -0700 (PDT)
Received: from outpost.globcon.net (outpost.globcon.net [62.141.88.161])
	by mx1.FreeBSD.org (Postfix) with SMTP id 2E10243FAF
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 10 Jun 2003 17:05:55 -0700 (PDT)
	(envelope-from sgk@kolobov.com)
Received: (qmail 99005 invoked from network); 11 Jun 2003 00:05:36 -0000
Received: from h166.lukarcos.com (HELO kolobov.com) (62.141.88.166)
  by outpost.globcon.net with SMTP; 11 Jun 2003 00:05:36 -0000
Received: (qmail 31251 invoked by uid 911); 10 Jun 2003 23:28:51 -0000
Message-Id: <20030610232851.31250.qmail@kolobov.com>
Date: 10 Jun 2003 23:28:51 -0000
From: Sergei Kolobov <sergei@kolobov.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] Update devel/cdoc to 0.9.7, take maintainership
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         53179
>Category:       ports
>Synopsis:       [PATCH] Update devel/cdoc to 0.9.7, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 10 17:10:11 PDT 2003
>Closed-Date:    Fri Jun 13 17:43:03 PDT 2003
>Last-Modified:  Fri Jun 13 17:43:03 PDT 2003
>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:
In memory of AlanE:

- Update to 0.9.7
- Use HAS_CONFIGURE, remove unneeded USE_GMAKE
- Reword pkg-descr, add Author tag, update WWW tag
- Adopt this orphan
>How-To-Repeat:
>Fix:

--- cdoc-0.9.7.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/cdoc/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	2003/06/08 21:13:45	1.5
+++ Makefile	2003/06/10 23:26:06
@@ -1,5 +1,3 @@
-# ex:ts=8	-*-mode: makefile-*-
-#
 # New ports collection makefile for:	cdoc
 # Date created:		2002-12-22
 # Whom:			Alan Eldridge <alane@FreeBSD.org>
@@ -8,29 +6,30 @@
 #
 
 PORTNAME=	cdoc
-PORTVERSION=	0.9.6
-PORTREVISION=	1
-PORTEPOCH=	0
+PORTVERSION=	0.9.7
 CATEGORIES=	devel
 MASTER_SITES=	http://www.annexia.org/freeware/${PORTNAME}/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	sergei@kolobov.com
 COMMENT=	Extracts documentation from C source code comments
 
-BUILD_DEPENDS+=	make+:${.CURDIR}/../makeplus
+BUILD_DEPENDS+=	make+:${PORTSDIR}/devel/makeplus
 
-USE_GMAKE=	yes
 USE_PERL5_RUN=	yes
-PREFIX?=	${LOCALBASE}
+HAS_CONFIGURE=	yes
+CONFIGURE_ARGS=	--prefix=${PREFIX}
 
-.include <bsd.port.pre.mk>
+DOCS=		README
 
 do-build:
 	cd ${WRKSRC}; make+
+	${PERL} -pi.orig -e 's,#!/usr/bin/perl,#!${PERL},' ${WRKSRC}/cdoc
 
 do-install:
-	cd ${WRKSRC}; make+ install prefix=${PREFIX}
-
-.include <bsd.port.post.mk>
+	cd ${WRKSRC}; make+ install 
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+.endif
 
-#EOF
+.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/devel/cdoc/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	2003/01/01 15:46:55	1.1
+++ distinfo	2003/06/10 23:26:06
@@ -1 +1 @@
-MD5 (cdoc-0.9.6.tar.gz) = 438f738db520b09c3a0de5da77258673
+MD5 (cdoc-0.9.7.tar.gz) = 8ac5b0c086accc4abd54c66283abbb1f
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/devel/cdoc/pkg-descr,v
retrieving revision 1.1
diff -u -r1.1 pkg-descr
--- pkg-descr	2003/01/01 15:46:55	1.1
+++ pkg-descr	2003/06/10 23:26:06
@@ -1,6 +1,7 @@
-Cdoc extracts documentation from C source code comments. It is used by
-c2lib. pthrlib, and other code by the same author.
+cdoc is perldoc-like documentation tool for C programs and libraries.  
+It takes inline embedded comments and turns them into manual pages. 
 
-WWW: http://www.annexia.org/freeware/
+Author:	Richard W.M. Jones <rich@annexia.org>
+WWW:	http://www.annexia.org/freeware/cdoc/
 
 -- AlanE
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/devel/cdoc/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist	2003/01/01 15:46:55	1.1
+++ pkg-plist	2003/06/10 23:26:06
@@ -1 +1,3 @@
 bin/cdoc
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- cdoc-0.9.7.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: osa 
State-Changed-When: Fri Jun 13 17:42:43 PDT 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53179 
>Unformatted:
