mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 15:20:32 -04:00
Support stage
Add a DOCS option Fix shebangs
This commit is contained in:
parent
5bbc87c519
commit
b3e93674a6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341476
1 changed files with 12 additions and 14 deletions
|
@ -9,31 +9,29 @@ MASTER_SITES= SF
|
||||||
MAINTAINER= drewish@katherinehouse.com
|
MAINTAINER= drewish@katherinehouse.com
|
||||||
COMMENT= Simple and powerful JUnit/CppUnit/xUnit-like framework for C++
|
COMMENT= Simple and powerful JUnit/CppUnit/xUnit-like framework for C++
|
||||||
|
|
||||||
|
OPTIONS_DEFINE= DOCS
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
USES= perl5
|
USES= gmake perl5 shebangfix
|
||||||
USE_PERL5= run
|
USE_PERL5= run
|
||||||
USE_GMAKE= yes
|
SHEBANG_FILES= cxxtestgen.pl cxxtestgen.py
|
||||||
|
|
||||||
DOCS= README TODO docs/*.html docs/*.png
|
DOCS= README TODO docs/*.html docs/*.png
|
||||||
EXAMPLES= sample/*.cpp sample/*.h sample/*.tpl sample/Construct \
|
EXAMPLES= sample/*.cpp sample/*.h sample/*.tpl sample/Construct \
|
||||||
sample/Makefile.unix sample/gui/GreenYellowRed.h
|
sample/Makefile.unix sample/gui/GreenYellowRed.h
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
do-install:
|
do-install:
|
||||||
# scripts
|
# scripts
|
||||||
@${MKDIR} ${PREFIX}/include/cxxtest
|
@${MKDIR} ${STAGEDIR}${PREFIX}/include/cxxtest
|
||||||
${INSTALL_DATA} ${WRKSRC}/cxxtest/* ${PREFIX}/include/cxxtest/
|
${INSTALL_DATA} ${WRKSRC}/cxxtest/* ${STAGEDIR}${PREFIX}/include/cxxtest/
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/cxxtestgen.pl ${PREFIX}/bin/
|
${INSTALL_SCRIPT} ${WRKSRC}/cxxtestgen.pl ${STAGEDIR}${PREFIX}/bin/
|
||||||
${INSTALL_SCRIPT} ${WRKSRC}/cxxtestgen.py ${PREFIX}/bin/
|
${INSTALL_SCRIPT} ${WRKSRC}/cxxtestgen.py ${STAGEDIR}${PREFIX}/bin/
|
||||||
# docs and examples (minus the win ddk stuff)
|
# docs and examples (minus the win ddk stuff)
|
||||||
.if !defined(NOPORTDOCS)
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
@${MKDIR} ${DOCSDIR}
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
|
||||||
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
@@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||||
@${ECHO_MSG} "* Documentation has been installed in ${DOCSDIR}"
|
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
|
||||||
.endif
|
|
||||||
@${MKDIR} ${EXAMPLESDIR}
|
|
||||||
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
|
|
||||||
@${ECHO_MSG} "* Samples have been installed in ${EXAMPLESDIR}"
|
@${ECHO_MSG} "* Samples have been installed in ${EXAMPLESDIR}"
|
||||||
@${ECHO_MSG} "* The CxxTest scripts have been installed into ${PREFIX}/bin/."
|
@${ECHO_MSG} "* The CxxTest scripts have been installed into ${PREFIX}/bin/."
|
||||||
@${ECHO_MSG} "* The include files are in ${PREFIX}/include/cxxtest/"
|
@${ECHO_MSG} "* The include files are in ${PREFIX}/include/cxxtest/"
|
||||||
|
|
Loading…
Add table
Reference in a new issue