1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/devel/silentbob/Makefile
TAKATSU Tomonari 859fea0cea - Unmute INSTALL_DATA
- Make docs unconditional to stage
  * Remove bsd.port.options.mk, accordingly
- Improve REINPLACE_CMD statement

Pointed out by:	danfe@ (on ports-committers@ and svn-ports-all@)
2014-01-15 15:20:21 +00:00

31 lines
646 B
Makefile

# Created by: TAKATSU Tomonari <tota@rtfm.jp>
# $FreeBSD$
PORTNAME= silentbob
PORTVERSION= 3.0
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:outsource
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 <bsd.port.mk>