diff options
author | tg <tg@FreeBSD.org> | 1996-10-24 15:59:56 +0800 |
---|---|---|
committer | tg <tg@FreeBSD.org> | 1996-10-24 15:59:56 +0800 |
commit | 85a92871bb5ed8d79de6fb3d4758741b7235e6bd (patch) | |
tree | 515aa65f9cb351c7250a6e36446f4496f5434102 /devel/cxref | |
parent | 00bf3fe0faae9a08e00e540d6231939b1729877c (diff) | |
download | freebsd-ports-graphics-85a92871bb5ed8d79de6fb3d4758741b7235e6bd.tar.gz freebsd-ports-graphics-85a92871bb5ed8d79de6fb3d4758741b7235e6bd.tar.zst freebsd-ports-graphics-85a92871bb5ed8d79de6fb3d4758741b7235e6bd.zip |
Add a port of cxref-1.2b, a C program cross-referencing tool.
Diffstat (limited to 'devel/cxref')
-rw-r--r-- | devel/cxref/Makefile | 49 | ||||
-rw-r--r-- | devel/cxref/distinfo | 3 | ||||
-rw-r--r-- | devel/cxref/pkg-comment | 1 | ||||
-rw-r--r-- | devel/cxref/pkg-descr | 12 | ||||
-rw-r--r-- | devel/cxref/pkg-plist | 8 |
5 files changed, 73 insertions, 0 deletions
diff --git a/devel/cxref/Makefile b/devel/cxref/Makefile new file mode 100644 index 00000000000..c6821b02814 --- /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 00000000000..fc0f1db631a --- /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 00000000000..d9e149bdb5d --- /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 00000000000..d6260698822 --- /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 00000000000..480ae4c51c7 --- /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 |