New port, nana:
Improved support for assertion checking and logging using GNU C and GDB. PR: 3363 Submitted by: Phil maker <pjm@cs.ntu.edu.au>
This commit is contained in:
parent
9bb5b997e1
commit
5f76e0e10e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=8285
5 changed files with 93 additions and 0 deletions
28
devel/nana/Makefile
Normal file
28
devel/nana/Makefile
Normal file
|
@ -0,0 +1,28 @@
|
|||
# New ports collection makefile for: nana
|
||||
# Version required: 1.09
|
||||
# Date created: 20th April 1997
|
||||
# Whom: Phil Maker <pjm@cs.ntu.edu.au>
|
||||
#
|
||||
# $Id: Makefile,v 1.1.1.1 1997/04/20 19:29:24 pjm Exp $
|
||||
#
|
||||
|
||||
DISTNAME= nana-1.09
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ftp://ftp.cs.ntu.edu.au/pub/nana/
|
||||
|
||||
MAINTAINER= pjm@cs.ntu.edu.au
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
|
||||
RUN_DEPENDS= gdb:${PORTSDIR}/devel/gdb
|
||||
|
||||
MAN1= nana.1 nana-clg.1
|
||||
MAN3= nana.3 I.3 DI.3 L.3 DL.3 Q.3 Qstl.3
|
||||
|
||||
pre-install:
|
||||
@if [ ! -f ${PREFIX}/info/dir ]; then \
|
||||
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
|
||||
fi
|
||||
|
||||
.include <bsd.port.mk>
|
1
devel/nana/distinfo
Normal file
1
devel/nana/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (nana-1.09.tar.gz) = b46580727a5bafb5777eae8e698ca99e
|
1
devel/nana/pkg-comment
Normal file
1
devel/nana/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
Improved support for assertion checking and logging using GNU C and GDB.
|
23
devel/nana/pkg-descr
Normal file
23
devel/nana/pkg-descr
Normal file
|
@ -0,0 +1,23 @@
|
|||
Nana provides improved support for assertion checking and logging in C, C++
|
||||
using GDB. In particular it provides:
|
||||
|
||||
o Operations can be implemented directly in C or by generating
|
||||
debugger commands which do the checking and logging only if the
|
||||
application is run under the debugger. The debugger based calls
|
||||
require are very space efficient (0 or 1 bytes per call).
|
||||
o Support for checking real time constraints.
|
||||
o Support for assertion (invariant checking) including:
|
||||
+ Space and time efficient (at least versus <assert.h>)
|
||||
For example: assert(i>=0) uses 53 bytes on a i386 vs
|
||||
an optimised nana call which uses 10 bytes per call.
|
||||
+ Checking can be turned on or off at compile or run time.
|
||||
+ The action taken when an error is detected can be modified
|
||||
on a global and per/call basis.
|
||||
o Support for logging (printf style debugging) including:
|
||||
+ Logging can be turned on and off at compile or run time.
|
||||
+ Logging to files, processes or circular buffers in memory
|
||||
with optional time stamping.
|
||||
o Support for the quantifiers of predicate calculus (forall, exists).
|
||||
o Support for before and after state saving and checking (x, x').
|
||||
|
||||
Phil Maker <pjm@cs.ntu.edu.au>
|
40
devel/nana/pkg-plist
Normal file
40
devel/nana/pkg-plist
Normal file
|
@ -0,0 +1,40 @@
|
|||
bin/nana
|
||||
bin/nana-c++lg
|
||||
bin/nana-clg
|
||||
bin/nana-run
|
||||
bin/nana-trace
|
||||
include/DI.h
|
||||
include/DL.h
|
||||
include/GDB.h
|
||||
include/I.h
|
||||
include/L.h
|
||||
include/L_buffer.h
|
||||
include/Q.h
|
||||
include/Qstl.h
|
||||
include/calls.h
|
||||
include/eiffel.h
|
||||
include/nana-config.h
|
||||
include/nana.h
|
||||
include/nana_error.h
|
||||
include/now.h
|
||||
@unexec install-info --delete %D/info/nana.info %D/info/dir
|
||||
info/nana.info
|
||||
info/nana.info-1
|
||||
info/nana.info-2
|
||||
@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
|
||||
@exec install-info %D/info/nana.info %D/info/dir
|
||||
lib/libnana.a
|
||||
libexec/nana-trace.gdb
|
||||
libexec/nanafilter
|
||||
man/man1/nana-clg.1.gz
|
||||
man/man1/nana.1.gz
|
||||
man/man3/DI.3.gz
|
||||
man/man3/DL.3.gz
|
||||
man/man3/I.3.gz
|
||||
man/man3/L.3.gz
|
||||
man/man3/Q.3.gz
|
||||
man/man3/Qstl.3.gz
|
||||
man/man3/nana.3.gz
|
||||
share/nana/nana-run-init.gdb
|
||||
share/nana/nana-run.gdb
|
||||
@dirrm share/nana
|
Loading…
Reference in a new issue