freebsd-ports/devel/silentbob/Makefile
Dmitry Marakasov 89de9a2fb4 "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>
2008-11-19 14:01:19 +00:00

44 lines
1 KiB
Makefile

# 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>