svn commit: r353653 - head/devel/quickcheck++
TAKATSU Tomonari
tota at FreeBSD.org
Sun May 11 07:09:43 UTC 2014
Author: tota
Date: Sun May 11 07:09:42 2014
New Revision: 353653
URL: http://svnweb.freebsd.org/changeset/ports/353653
QAT: https://qat.redports.org/buildarchive/r353653/
Log:
- 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
Modified:
head/devel/quickcheck++/Makefile
head/devel/quickcheck++/pkg-descr
Modified: head/devel/quickcheck++/Makefile
==============================================================================
--- head/devel/quickcheck++/Makefile Sun May 11 06:57:51 2014 (r353652)
+++ head/devel/quickcheck++/Makefile Sun May 11 07:09:42 2014 (r353653)
@@ -10,25 +10,23 @@ MASTER_SITE_SUBDIR= tota/${PORTNAME}
DISTNAME= quickcheck_${PORTVERSION}
MAINTAINER= tota at 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>
Modified: head/devel/quickcheck++/pkg-descr
==============================================================================
--- head/devel/quickcheck++/pkg-descr Sun May 11 06:57:51 2014 (r353652)
+++ head/devel/quickcheck++/pkg-descr Sun May 11 07:09:42 2014 (r353653)
@@ -14,4 +14,4 @@ distribution of test data and to write c
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/
More information about the svn-ports-all
mailing list