# Created by: TAKATSU Tomonari # $FreeBSD: head/devel/silentbob/Makefile 488341 2018-12-25 20:25:39Z tcberner $ PORTNAME= silentbob PORTVERSION= 3.0 PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= SF/${PORTNAME}/${PORTNAME}2/${PORTNAME}-${PORTVERSION:C@\.[0-9]+$@@}/ MAINTAINER= tota@FreeBSD.org COMMENT= Yet another sourcecode indexing tool LICENSE= GPLv2 USES= cmake PORTDOCS= README PLIST_FILES= bin/silentbob OPTIONS_DEFINE= DOCS post-patch: @${RM} ${WRKSRC}/CMakeCache.txt @${REINPLACE_CMD} -e '/lib\/silent_bob/s|/usr|${PREFIX}|' \ ${WRKSRC}/src/init.cxx post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include