diff options
author | tota <tota@FreeBSD.org> | 2014-05-11 15:09:42 +0800 |
---|---|---|
committer | tota <tota@FreeBSD.org> | 2014-05-11 15:09:42 +0800 |
commit | 6d6cfe94dff3b33ac5f194198b7af5b7152bd4d4 (patch) | |
tree | d44705d9eda4271b39eb7462f8fa6220e238afdd /devel | |
parent | 13a5b755104f3d5379cfce75f7147b1163cc17c2 (diff) | |
download | freebsd-ports-gnome-6d6cfe94dff3b33ac5f194198b7af5b7152bd4d4.tar.gz freebsd-ports-gnome-6d6cfe94dff3b33ac5f194198b7af5b7152bd4d4.tar.zst freebsd-ports-gnome-6d6cfe94dff3b33ac5f194198b7af5b7152bd4d4.zip |
- 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
Diffstat (limited to 'devel')
-rw-r--r-- | devel/quickcheck++/Makefile | 30 | ||||
-rw-r--r-- | devel/quickcheck++/pkg-descr | 2 |
2 files changed, 13 insertions, 19 deletions
diff --git a/devel/quickcheck++/Makefile b/devel/quickcheck++/Makefile index 6955db5cb49f..74b75cbe41f5 100644 --- a/devel/quickcheck++/Makefile +++ b/devel/quickcheck++/Makefile @@ -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> diff --git a/devel/quickcheck++/pkg-descr b/devel/quickcheck++/pkg-descr index e62d764ff5ce..96048a333a4c 100644 --- a/devel/quickcheck++/pkg-descr +++ b/devel/quickcheck++/pkg-descr @@ -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/ |