Skip site navigation (1)Skip section navigation (2)
Date:      10 Jun 2003 23:28:51 -0000
From:      Sergei Kolobov <sergei@kolobov.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:    ports/53179: [PATCH] Update devel/cdoc to 0.9.7, take maintainership
Message-ID:  <20030610232851.31250.qmail@kolobov.com>
Resent-Message-ID: <200306110010.h5B0ABmq056657@freefall.freebsd.org>

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

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 10 17:10:11 PDT 2003
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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