From 68b41447c245ffc91ac670511ca80b1895638432 Mon Sep 17 00:00:00 2001 From: "Sergey A. Osokin" Date: Sat, 14 Jun 2003 00:42:25 +0000 Subject: [PATCH] Update to 0.9.7, maintainership to Sergei Submitted by: Sergei Kolobov PR: 53179 Approved by: fjoe (implicit) --- devel/cdoc/Makefile | 27 +++++++++++++-------------- devel/cdoc/distinfo | 2 +- devel/cdoc/pkg-descr | 7 ++++--- devel/cdoc/pkg-plist | 2 ++ 4 files changed, 20 insertions(+), 18 deletions(-) diff --git a/devel/cdoc/Makefile b/devel/cdoc/Makefile index fbb6f8000abc..4881cccad89c 100644 --- a/devel/cdoc/Makefile +++ b/devel/cdoc/Makefile @@ -1,5 +1,3 @@ -# ex:ts=8 -*-mode: makefile-*- -# # New ports collection makefile for: cdoc # Date created: 2002-12-22 # Whom: Alan Eldridge @@ -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 +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} + cd ${WRKSRC}; make+ install +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} +.endif -.include - -#EOF +.include diff --git a/devel/cdoc/distinfo b/devel/cdoc/distinfo index e76daf213cbc..d9bec9b66f67 100644 --- a/devel/cdoc/distinfo +++ b/devel/cdoc/distinfo @@ -1 +1 @@ -MD5 (cdoc-0.9.6.tar.gz) = 438f738db520b09c3a0de5da77258673 +MD5 (cdoc-0.9.7.tar.gz) = 8ac5b0c086accc4abd54c66283abbb1f diff --git a/devel/cdoc/pkg-descr b/devel/cdoc/pkg-descr index 443b8933ad06..605944baa69e 100644 --- a/devel/cdoc/pkg-descr +++ b/devel/cdoc/pkg-descr @@ -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 +WWW: http://www.annexia.org/freeware/cdoc/ -- AlanE diff --git a/devel/cdoc/pkg-plist b/devel/cdoc/pkg-plist index a08e03ba0f70..cae0e1a1d251 100644 --- a/devel/cdoc/pkg-plist +++ b/devel/cdoc/pkg-plist @@ -1 +1,3 @@ bin/cdoc +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%%