aboutsummaryrefslogtreecommitdiff
path: root/devel/cxref
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1996-10-24 07:59:56 +0000
committerThomas Gellekum <tg@FreeBSD.org>1996-10-24 07:59:56 +0000
commitb9dca714eaed4fdc10de2d59823d537ffa7fbe53 (patch)
tree6146b4d38cb069b725b1ff3d560a9f1130ffdb77 /devel/cxref
parent098c036f46d210e64c5abc33895c703326c47362 (diff)
downloadports-b9dca714eaed4fdc10de2d59823d537ffa7fbe53.tar.gz
ports-b9dca714eaed4fdc10de2d59823d537ffa7fbe53.zip
Notes
Diffstat (limited to 'devel/cxref')
-rw-r--r--devel/cxref/Makefile49
-rw-r--r--devel/cxref/distinfo3
-rw-r--r--devel/cxref/pkg-comment1
-rw-r--r--devel/cxref/pkg-descr12
-rw-r--r--devel/cxref/pkg-plist8
5 files changed, 73 insertions, 0 deletions
diff --git a/devel/cxref/Makefile b/devel/cxref/Makefile
new file mode 100644
index 000000000000..c6821b028146
--- /dev/null
+++ b/devel/cxref/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: cxref
+# Version required: 1.2b
+# Date created: 26 May 1995
+# Whom: Satoshi Asami <asami@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= cxref-1.2
+PKGNAME= cxref-1.2b
+CATEGORIES+= devel
+MASTER_SITES= ftp://ftp.demon.co.uk/pub/unix/unix/tools/
+EXTRACT_SUFX= .tgz
+
+PATCHFILES= cxref-1.2-1.2a.diff.gz cxref-1.2a-1.2b.diff.gz
+PATCH_SITES= ${MASTER_SITES}
+PATCH_DIST_STRIP= -p1
+
+MAINTAINER= tg@freebsd.org
+
+WRKSRC= ${WRKDIR}/cxref
+USE_GMAKE= yes
+ALL_TARGET= program
+
+DOCDIR= ${PREFIX}/share/doc/cxref
+
+do-install:
+ @mkdir -p ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/cxref ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/query/cxref-query ${PREFIX}/bin
+ @mkdir -p ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/cxref.sty ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/fonts.sty ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/page.sty ${DOCDIR}
+.if !defined(NOPORTDOCS)
+ ${INSTALL_DATA} ${WRKSRC}/README.c ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}/README.cxref
+ ${INSTALL_DATA} ${WRKSRC}/query/README ${DOCDIR}/README.query
+ @${ECHO_MSG}
+ @${ECHO_MSG} "Unfortunately, there's no man page."
+ @${ECHO_MSG} "Please see ${DOCDIR}/README* for documentation."
+.endif
+ @${ECHO_MSG}
+ @${ECHO_MSG} "If you want to use the LaTeX output from cxref,"
+ @${ECHO_MSG} "you should copy ${DOCDIR}/*.sty"
+ @${ECHO_MSG} "to a directory where TeX looks for its input files."
+ @${ECHO_MSG}
+
+.include <bsd.port.mk>
diff --git a/devel/cxref/distinfo b/devel/cxref/distinfo
new file mode 100644
index 000000000000..fc0f1db631ab
--- /dev/null
+++ b/devel/cxref/distinfo
@@ -0,0 +1,3 @@
+MD5 (cxref-1.2.tgz) = e1cf16216a337185548f42896298c099
+MD5 (cxref-1.2-1.2a.diff.gz) = f6b61204f8f1b1200b71197ca598c5c1
+MD5 (cxref-1.2a-1.2b.diff.gz) = 2414c5f4d45f2d8d54cf0b0b6bf3f142
diff --git a/devel/cxref/pkg-comment b/devel/cxref/pkg-comment
new file mode 100644
index 000000000000..d9e149bdb5d7
--- /dev/null
+++ b/devel/cxref/pkg-comment
@@ -0,0 +1 @@
+C program cross-referencing & documentation tool.
diff --git a/devel/cxref/pkg-descr b/devel/cxref/pkg-descr
new file mode 100644
index 000000000000..d62606988223
--- /dev/null
+++ b/devel/cxref/pkg-descr
@@ -0,0 +1,12 @@
+A program that takes as input a series of C source files
+and produces a LaTeX or HTML document containing a cross
+reference of the files/functions/variables in the program,
+including documentation taken from suitably formatted
+source code comments.
+
+The documentation is stored in the C source file in
+specially formatted comments, making it simple to maintain.
+The cross referencing includes lists of functions called,
+callers of each function, usage of global variables, header
+file inclusion, macro definitions and type definitions.
+Works for ANSI C, including a few gcc extensions.
diff --git a/devel/cxref/pkg-plist b/devel/cxref/pkg-plist
new file mode 100644
index 000000000000..480ae4c51c70
--- /dev/null
+++ b/devel/cxref/pkg-plist
@@ -0,0 +1,8 @@
+bin/cxref
+bin/cxref-query
+share/doc/cxref/README.c
+share/doc/cxref/README.cxref
+share/doc/cxref/README.query
+share/doc/cxref/cxref.sty
+share/doc/cxref/fonts.sty
+share/doc/cxref/page.sty