summaryrefslogtreecommitdiffstats
path: root/devel/cdoc
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2003-06-14 00:42:25 +0000
committerosa <osa@FreeBSD.org>2003-06-14 00:42:25 +0000
commit2b16a7a50ff4ab18804759ac5cdbeaef6781f996 (patch)
tree5a5696a4a595dbeb563e3ee3c3a065c9d33cc7d7 /devel/cdoc
parent53112412a14d43281a7dd582bb4fa65de20d2c88 (diff)
downloadFreeBSD-ports-2b16a7a50ff4ab18804759ac5cdbeaef6781f996.zip
FreeBSD-ports-2b16a7a50ff4ab18804759ac5cdbeaef6781f996.tar.gz
Update to 0.9.7, maintainership to Sergei
Submitted by: Sergei Kolobov <sergei@kolobov.com> PR: 53179 Approved by: fjoe (implicit)
Diffstat (limited to 'devel/cdoc')
-rw-r--r--devel/cdoc/Makefile27
-rw-r--r--devel/cdoc/distinfo2
-rw-r--r--devel/cdoc/pkg-descr7
-rw-r--r--devel/cdoc/pkg-plist2
4 files changed, 20 insertions, 18 deletions
diff --git a/devel/cdoc/Makefile b/devel/cdoc/Makefile
index fbb6f80..4881ccc 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 <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>
diff --git a/devel/cdoc/distinfo b/devel/cdoc/distinfo
index e76daf2..d9bec9b 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 443b893..605944b 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 <rich@annexia.org>
+WWW: http://www.annexia.org/freeware/cdoc/
-- AlanE
diff --git a/devel/cdoc/pkg-plist b/devel/cdoc/pkg-plist
index a08e03b..cae0e1a 100644
--- a/devel/cdoc/pkg-plist
+++ b/devel/cdoc/pkg-plist
@@ -1 +1,3 @@
bin/cdoc
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
OpenPOWER on IntegriCloud