1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/devel/silentbob/Makefile
2009-03-24 19:13:32 +00:00

46 lines
1.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
PORTREVISION= 1
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>