Index: head/devel/cscout/Makefile =================================================================== --- head/devel/cscout/Makefile (revision 506399) +++ head/devel/cscout/Makefile (revision 506400) @@ -1,58 +1,56 @@ # Created by: netchild@FreeBSD.org # $FreeBSD$ PORTNAME= cscout PORTVERSION= 2.7 PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= http://www.spinellis.gr/cscout/ \ http://www.dmst.aueb.gr/dds/cscout/ DISTFILES= ${DISTNAME}-neutral${EXTRACT_SUFX} \ ${DISTNAME}-fbsd-${ARCH}${EXTRACT_SUFX} MAINTAINER= dds@FreeBSD.org COMMENT= Source code analyzer and refactoring browser for C program collections LIB_DEPENDS+= libc.so.6:misc/compat6x NO_BUILD= yes ONLY_FOR_ARCHS= i386 amd64 sparc64 ONLY_FOR_ARCHS_REASON= The port fetches and installs precompiled binaries USES= perl5 shebangfix USE_PERL5= run SHEBANG_FILES= bin/csmake bin/cswc OPTIONS_DEFINE= DOCS EXAMPLES -.include - post-patch: .if exists(/usr/include/g++/) ${REINPLACE_CMD} -i "" -e 's:g++-3:g++:g' \ ${WRKSRC}/etc/cscout_incs.FBSD_GCC .endif (${SED} -n '1,/Platform defines begin/p' \ ${WRKSRC}/etc/cscout_defs.FBSD_GCC && \ ${CPP} -O -dM /dev/null | ${SORT} && \ ${SED} -n '/Platform defines end/,$$p' \ ${WRKSRC}/etc/cscout_defs.FBSD_GCC ) \ > ${WRKDIR}/cscout_defs.h ${CP} ${WRKDIR}/cscout_defs.h ${WRKSRC}/etc/cscout_defs.FBSD_GCC do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/cscout ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/cswc ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/csmake ${STAGEDIR}${PREFIX}/bin cd ${WRKSRC}/etc && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/etc/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/etc/cscout_incs.FBSD_GCC ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/ ${INSTALL_DATA} ${WRKSRC}/etc/cscout_defs.FBSD_GCC ${STAGEDIR}${PREFIX}/etc/${PORTNAME}/ -.if ${PORT_OPTIONS:MEXAMPLES} - cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} -.endif -.if ${PORT_OPTIONS:MDOCS} - cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} -.endif ${INSTALL_MAN} ${WRKSRC}/man/cscout.1 ${STAGEDIR}${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/man/cswc.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 Index: head/devel/cscout/pkg-descr =================================================================== --- head/devel/cscout/pkg-descr (revision 506399) +++ head/devel/cscout/pkg-descr (revision 506400) @@ -1,19 +1,19 @@ CScout is a source code analyzer and refactoring browser for collections of C programs. It can process workspaces of multiple projects (we define a project as a collection of C source files that are linked together) mapping the complexity introduced by the C preprocessor back into the original C source code files. CScout takes advantage of modern hardware advances (fast processors and large memory capacities) to analyze C source code beyond the level of detail and accuracy provided by current compilers and linkers. The analysis CScout performs takes into account the identifier scopes introduced by the C preprocessor and the C language proper scopes and namespaces. CScout has already been applied on projects ranging from tens of thousands of lines, like the FreeBSD and Linux kernels, and the Apache web server. This free unsupported version of CScout is distributed under the terms of the CScout Public License, which is available in the accompanying documentation. -WWW: http://www.spinellis.gr/cscout/ +WWW: https://www.spinellis.gr/cscout/