- Remove indefinite article from COMMENT

- Convert USE_BZIP2 to USES
- Remove LICENSE_FILE for standard license
- Add DOCS to OPTIONS_DEFINE
- Support STAGEDIR
  * Make PORTDOCS and PORTEXAMPLES unconditional to stage
- Unmute INSTALL_DATA and COPYTREE_SHARE
- Replace tab with a single space after WWW: in pkg-descr
This commit is contained in:
TAKATSU Tomonari 2014-05-11 07:09:42 +00:00
parent 62e30ec642
commit dfad65b5e0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353653
2 changed files with 13 additions and 19 deletions

View file

@ -10,25 +10,23 @@ MASTER_SITE_SUBDIR= tota/${PORTNAME}
DISTNAME= quickcheck_${PORTVERSION}
MAINTAINER= tota@FreeBSD.org
COMMENT= A tool for testing C++ programs automatically, inspired by QuickCheck
COMMENT= Tool for testing C++ programs automatically, inspired by QuickCheck
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_BZIP2= yes
USES= tar:bzip2
NO_BUILD= yes
PORTDOCS= COPYRIGHT README
PORTEXAMPLES= examples.cc
OPTIONS_DEFINE= DOXYGEN
OPTIONS_DEFINE= DOCS DOXYGEN
DOXYGEN_DESC= Build documentation with doxygen
NO_STAGE= yes
.include <bsd.port.options.mk>
.if !defined(NOPORTDOCS) && ${PORT_OPTIONS:MDOXYGEN}
.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN}
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
PORTDOCS+= html
@ -37,20 +35,16 @@ pre-install:
.endif
do-install:
@${MKDIR} ${PREFIX}/include/quickcheck
@${INSTALL_DATA} ${WRKSRC}/quickcheck/* ${PREFIX}/include/quickcheck
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/include/quickcheck
${INSTALL_DATA} ${WRKSRC}/quickcheck/* ${STAGEDIR}${PREFIX}/include/quickcheck
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in COPYRIGHT README
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.if defined(WITH_DOXYGEN)
@cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${DOCSDIR}
.endif
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${EXAMPLESDIR}
.if ${PORT_OPTIONS:MDOXYGEN}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}
.endif
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>

View file

@ -14,4 +14,4 @@ distribution of test data and to write custom test data generators.
The framework also allows the specification of fixed test data, as
can be done with more traditional unit testing frameworks.
WWW: http://software.legiasoft.com/quickcheck/
WWW: http://software.legiasoft.com/quickcheck/