import cflow 1.1

GNU cflow analyzes a collection of C source files and prints a graph,
charting control flow within the program.

submitted by Louis Bertrand <louis at bertrandtech.ca>

ok naddy@
This commit is contained in:
steven 2006-07-15 19:33:08 +00:00
parent 3aa7e403de
commit 9c18b150dd
4 changed files with 60 additions and 0 deletions

34
devel/cflow/Makefile Normal file
View File

@ -0,0 +1,34 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/07/15 19:33:08 steven Exp $
COMMENT= "analyze C source files and print a call graph"
DISTNAME= cflow-1.1
CATEGORIES= devel
HOMEPAGE= http://www.gnu.org/software/cflow/
MAINTAINER= Louis Bertrand <louis@bertrandtech.ca>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNU:=cflow/}
WANTLIB= c
MODULES= devel/gettext
SEPARATE_BUILD= simple
CONFIGURE_STYLE=gnu
MAKE_FLAGS= LIBINTL="-L${LOCALBASE}/lib -liconv -lintl"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp
${INSTALL_DATA} ${WRKSRC}/elisp/cflow-mode.el \
${PREFIX}/share/emacs/site-lisp
.include <bsd.port.mk>

4
devel/cflow/distinfo Normal file
View File

@ -0,0 +1,4 @@
SHA1 (cflow-1.1.tar.gz) = 57355331ffab12c502d2cbfc7b5d216a266911a1
MD5 (cflow-1.1.tar.gz) = d4dec6c3555ed3f941a7a3ed91bea4ff
RMD160 (cflow-1.1.tar.gz) = 1063a4edd400362e379d54a20064344106f8a684
SIZE (cflow-1.1.tar.gz) = 515770

14
devel/cflow/pkg/DESCR Normal file
View File

@ -0,0 +1,14 @@
GNU cflow analyzes a collection of C source files and prints a graph,
charting control flow within the program.
GNU cflow is able to produce both direct and inverted flowgraphs for C
sources. Optionally a cross-reference listing can be generated. Two
output formats are implemented: POSIX and GNU (extended).
Input files can optionally be preprocessed before analyzing.
The package also provides Emacs major mode for examining the produced
flowcharts in Emacs.
Note: this program is written in C and is not the same as cflow-2.x
which is a bash script using a lex and yacc generated parser.

8
devel/cflow/pkg/PLIST Normal file
View File

@ -0,0 +1,8 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/07/15 19:33:08 steven Exp $
bin/cflow
@info info/cflow.info
share/emacs/site-lisp/cflow-mode.el
share/locale/da/LC_MESSAGES/cflow.mo
share/locale/pl/LC_MESSAGES/cflow.mo
share/locale/uk/LC_MESSAGES/cflow.mo
share/locale/vi/LC_MESSAGES/cflow.mo