mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
"SilentBob" is a tool to help a programmer/team manager to digest
and comprehend either a simple program or a big source code tree based on the source code by presenting the code in a searcheable and tagged way. It helps to speed up the learning curve and to make it more convenient to get hands on a code from somebody, or also is convenient to browse your own projects. It includes functionality from such tools as: ctags, cscope and ctree, but it is faster than any of them, and is offering the features in one package. In some way it can be viewed as a superset of ctags, cscope and ctree. WWW: http://silentbob.sourceforge.net/ PR: 128969 Submitted by: TAKATSU Tomonari <tota at rtfm dot jp>
This commit is contained in:
parent
889a243ead
commit
89de9a2fb4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=223037
@ -2492,6 +2492,7 @@
|
||||
SUBDIR += sid
|
||||
SUBDIR += sigslot
|
||||
SUBDIR += silc-toolkit
|
||||
SUBDIR += silentbob
|
||||
SUBDIR += simgear
|
||||
SUBDIR += simian
|
||||
SUBDIR += simpletest
|
||||
|
44
devel/silentbob/Makefile
Normal file
44
devel/silentbob/Makefile
Normal file
@ -0,0 +1,44 @@
|
||||
# New ports collection makefile for: silentbob
|
||||
# Date created: 2008-11-13
|
||||
# Whom: TAKATSU Tomonari <tota@rtfm.jp>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= silentbob
|
||||
PORTVERSION= 1.7.3
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= SF
|
||||
|
||||
MAINTAINER= tota@rtfm.jp
|
||||
COMMENT= Yet another sourcecode indexing tool
|
||||
|
||||
USE_CMAKE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
PORTDOCS= *
|
||||
MAN1= silent_bob.1
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr/lib/silent_bob/|${PREFIX}/lib/silent_bob/|' \
|
||||
${WRKSRC}/src/init.cxx
|
||||
|
||||
pre-configure:
|
||||
${CP} ${WRKSRC}/CMakeLists_bsd.txt ${WRKSRC}/CMakeLists.txt
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/silent_bob.1 ${MANPREFIX}/man/man1
|
||||
${MKDIR} ${PREFIX}/lib/silent_bob
|
||||
.for f in editor grep perl perlpackages python ruby ruby_newclass
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/libplugin_${f}.so ${PREFIX}/lib/silent_bob
|
||||
.endfor
|
||||
.for l in bob tags the_tt gc_indent bob_perl bob_python bob_ruby
|
||||
${LN} -s silent_bob ${PREFIX}/bin/${l}
|
||||
.endfor
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/silentbob/distinfo
Normal file
3
devel/silentbob/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (silentbob-1.7.3.tar.gz) = ae948ca0fd2e5a03093e88110a8ef923
|
||||
SHA256 (silentbob-1.7.3.tar.gz) = ef2a3fe08bf1c716c86400812d5f04816b2bcfd0afc6f250e753a1b5b614bfb1
|
||||
SIZE (silentbob-1.7.3.tar.gz) = 80357
|
11
devel/silentbob/files/patch-Sblib.cxx
Normal file
11
devel/silentbob/files/patch-Sblib.cxx
Normal file
@ -0,0 +1,11 @@
|
||||
--- sblib/Sblib.cxx.orig 2008-09-18 12:45:29.000000000 +0900
|
||||
+++ sblib/Sblib.cxx 2008-11-13 15:53:16.000000000 +0900
|
||||
@@ -346,7 +346,7 @@
|
||||
lseek (fd, 0, SEEK_END);
|
||||
dup2 (devnull, 2);
|
||||
dup2 (fd, 1);
|
||||
- execlp ("find", path, "-name", name, NULL);
|
||||
+ execlp ("find", "find", path, "-name", name, NULL);
|
||||
} else if (pid > 0) {
|
||||
waitpid (pid, &status, 0);
|
||||
return status;
|
11
devel/silentbob/files/patch-inline.h
Normal file
11
devel/silentbob/files/patch-inline.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- include/inline.h.orig 2008-08-28 18:31:51.000000000 +0900
|
||||
+++ include/inline.h 2008-11-13 15:53:51.000000000 +0900
|
||||
@@ -109,7 +109,7 @@
|
||||
return count;
|
||||
}
|
||||
|
||||
-#define find_one_ext(ext) sblib_find ((char *) "./", (char *) ext, ENV->tmp_files)
|
||||
+#define find_one_ext(ext) sblib_find ((char *) ".", (char *) ext, ENV->tmp_files)
|
||||
|
||||
#endif
|
||||
|
17
devel/silentbob/pkg-descr
Normal file
17
devel/silentbob/pkg-descr
Normal file
@ -0,0 +1,17 @@
|
||||
"SilentBob" is a tool to help a programmer/team manager to digest
|
||||
and comprehend either a simple program or a big source code tree
|
||||
based on the source code by presenting the code in a searcheable
|
||||
and tagged way.
|
||||
|
||||
It helps to speed up the learning curve and to make it more convenient
|
||||
to get hands on a code from somebody, or also is convenient to
|
||||
browse your own projects.
|
||||
|
||||
It includes functionality from such tools as: ctags, cscope and
|
||||
ctree, but it is faster than any of them, and is offering the
|
||||
features in one package.
|
||||
|
||||
In some way it can be viewed as a superset of ctags, cscope and
|
||||
ctree.
|
||||
|
||||
WWW: http://silentbob.sourceforge.net/
|
17
devel/silentbob/pkg-plist
Normal file
17
devel/silentbob/pkg-plist
Normal file
@ -0,0 +1,17 @@
|
||||
bin/bob
|
||||
bin/bob_perl
|
||||
bin/bob_python
|
||||
bin/bob_ruby
|
||||
bin/gc_indent
|
||||
bin/silent_bob
|
||||
bin/tags
|
||||
bin/the_tt
|
||||
lib/libsblib.so
|
||||
lib/silent_bob/libplugin_editor.so
|
||||
lib/silent_bob/libplugin_grep.so
|
||||
lib/silent_bob/libplugin_perl.so
|
||||
lib/silent_bob/libplugin_perlpackages.so
|
||||
lib/silent_bob/libplugin_python.so
|
||||
lib/silent_bob/libplugin_ruby.so
|
||||
lib/silent_bob/libplugin_ruby_newclass.so
|
||||
@dirrm lib/silent_bob
|
Loading…
Reference in New Issue
Block a user