mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Switch to options helpers
- Update WWW Approved by: portmgr blanket
This commit is contained in:
parent
ed63df8a2c
commit
7ffda84c49
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=506400
2 changed files with 7 additions and 9 deletions
|
@ -24,8 +24,6 @@ SHEBANG_FILES= bin/csmake bin/cswc
|
|||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
.if exists(/usr/include/g++/)
|
||||
${REINPLACE_CMD} -i "" -e 's:g++-3:g++:g' \
|
||||
|
@ -46,13 +44,13 @@ do-install:
|
|||
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 <bsd.port.mk>
|
||||
|
|
|
@ -16,4 +16,4 @@ 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/
|
||||
|
|
Loading…
Add table
Reference in a new issue