aboutsummaryrefslogtreecommitdiff
path: root/devel/cdoc
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-06-14 00:42:25 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-06-14 00:42:25 +0000
commit68b41447c245ffc91ac670511ca80b1895638432 (patch)
tree071ef87a5c3b70444c06c785d7aadc8e9754a76c /devel/cdoc
parent8b18ba997063dcbafd12a5726a4f9cc0f774d54f (diff)
downloadports-68b41447c245ffc91ac670511ca80b1895638432.tar.gz
ports-68b41447c245ffc91ac670511ca80b1895638432.zip
Notes
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 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 <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 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 <rich@annexia.org>
+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%%