blob: 0fc9ef3324ac9ea76a87b09e69a8ddd6d6000562 (
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
33
34
35
36
37
38
39
40
41
42
43
|
PORTNAME= cscout
PORTVERSION= 3.01
CATEGORIES= devel
MAINTAINER= dds@FreeBSD.org
COMMENT= Source code analyzer and refactoring browser for C program collections
LICENSE= GPLv3
BUILD_DEPENDS= unzip:archivers/unzip
RUN_DEPENDS= dot:graphics/graphviz
USES= compiler:c++11-lang gmake perl5 shebangfix
USE_GITHUB= yes
GH_ACCOUNT= dspinellis dspinellis:swill,btyacc
GH_PROJECT= cscout swill:swill btyacc:btyacc
GH_TAGNAME= bd7dfac fafde76:swill 4d0be15:btyacc
GH_SUBDIR= swill:swill btyacc:btyacc
USE_PERL5= run build
SHEBANG_FILES= src/csmake.pl src/cswc.pl
# DOCS temporary disabled, need XML -> HTML conversion
OPTIONS_DEFINE= EXAMPLES #DOCS
SUB_FILES= pkg-message
post-patch:
${REINPLACE_CMD} -e 's|install -d \"|install -d \"${STAGEDIR}/|g' ${WRKSRC}/src/Makefile
${REINPLACE_CMD} -e 's|install -Ds $$< \"|install -s $$< \"${STAGEDIR}/|g' ${WRKSRC}/src/Makefile
${REINPLACE_CMD} -e 's|./dest-install.sh \"|./dest-install.sh \"${STAGEDIR}/|g' ${WRKSRC}/src/Makefile
do-install:
${INSTALL_MAN} ${WRKSRC}/man/cscout.1 ${STAGEDIR}${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/cswc.1 ${STAGEDIR}${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/cscc.1 ${STAGEDIR}${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/csmake.1 ${STAGEDIR}${PREFIX}/man/man1
#do-install-DOCS-on:
# cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
do-install-EXAMPLES-on:
cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|