aboutsummaryrefslogtreecommitdiffstats
path: root/devel/silentbob/Makefile
blob: eb21e408c4331a7e270cb74f6ca132c58ab54d10 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:    silentbob
# Date created:     2008-11-13
# Whom:         TAKATSU Tomonari <tota@rtfm.jp>
#
# $FreeBSD$
#

PORTNAME=   silentbob
PORTVERSION=    2.0.58
CATEGORIES= devel
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}2/${PORTNAME}-${PORTVERSION}

MAINTAINER= tota@FreeBSD.org
COMMENT=    Yet another sourcecode indexing tool

USE_CMAKE=  yes

PORTDOCS=   *
PLIST_FILES=    bin/bob

post-patch:
    @${REINPLACE_CMD} -e 's|/usr/lib/silent_bob/|${PREFIX}/lib/silent_bob/|' \
        ${WRKSRC}/src/init.cxx

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
    @${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif

.include <bsd.port.mk>