From nobody Sat Jul 22 14:36:25 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R7TWY5RS4z4p03Q; Sat, 22 Jul 2023 14:36:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R7TWY4kb0z3Q4d; Sat, 22 Jul 2023 14:36:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690036585; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WfAXg4GBTerUtVXyyCkp/Rb82Rn5/4X+xNwRbPcQbgo=; b=MITvoXGDw9mdZURku2sLMw3oHe96zCCASVwjP/pE1629BBrkpUrlk6GiCzKS72xWym3xsr v1gXdGeXRYGWkGj+NPp+wC6GNkUz+q/BH6aVCzqBUb5FjESHpwYCa4dqWw+lwrLH3iJxP7 RmOBCTTviCdSZIdoo/njMcOCc++k8lhCUbFMNmPy90k4aDaorKZflraaKrBTbbhVGu6sCe V8P/WAxI2ufC5OZPDEqR8lwVC4PXx7pwLF6kAHA5kPfzGU+X8lgKB8ulldqSv+UIeMbbyh 1zsEoD4t1jmaIYBgz1oRRIv08MulVkC89ZhZGD+pfcADpnQqMLe/zjuFFcFo7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690036585; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WfAXg4GBTerUtVXyyCkp/Rb82Rn5/4X+xNwRbPcQbgo=; b=oxhbYaV+Jyrxep72yDpaycrbPg9gP7PVUCBYAgAlSgnmJXeA6gqEvwrfwtLsxkJAuxYhcD YAQQkBYivw9SL8E/hpyqbcZ1hzlJM4CItyZv/+XDZdr1ttFPP89EdWTwkzpuFHna8H2WwM 1Y1BTI7okCr6tcbvwI9ehyl2Z6nE5YcpJ/mUlU7ho9phAMHIb4PlNVbNptKtiEeUc8N5NI 6KzmcfvFomhyY5dZiH38y9lb5PEko7ntM0VKxANJFwkgCvDuCtn64PX6EzJ0UpY1SZ3h+6 h+IvU7+0clY7lZct6G/mzZtgrut7+6vCWSSc3AJUCZU3DHunD1nPPsw1aONPKQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690036585; a=rsa-sha256; cv=none; b=MgpicebmBgXwKrXM9qcOznuWug5C4Ln3N2rZFVxNOONTOHKWhUg+t5XnHPddQ5tZ4mDJat xFFQ7vttYMT/QrvYfAO2ZZvqxPxenned7s3sOUr4UC+S8HwapaUvZGfBY/76cuMcUzy1Gr RYXOqjuSp7kt+zgDYEEujCV6Fx0iM+XDUGZyP6lE8hElOC6XMsBvw76uACG/nY47XYrFMu c4qDtWjaN6In8KiERKHLjccMlFUE+k6/MCezEBTlbGylwQIDvwr30P9SEgxoTRUulr7Iws 9INRGGPQWBd0XdyG5cekDPQlz+5Q+YO2FAODpin5SdSRddoiC6IthU2cwaXKsg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4R7TWY3qDPzyLJ; Sat, 22 Jul 2023 14:36:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36MEaPA2096260; Sat, 22 Jul 2023 14:36:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36MEaPW7096259; Sat, 22 Jul 2023 14:36:25 GMT (envelope-from git) Date: Sat, 22 Jul 2023 14:36:25 GMT Message-Id: <202307221436.36MEaPW7096259@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Matthias Andree Subject: git: 0da13d75dcaa - main - devel/cxxtest: take maintainership, add docs/examples List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mandree X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0da13d75dcaa2156678745e43f2aaf156945c9f7 Auto-Submitted: auto-generated The branch main has been updated by mandree: URL: https://cgit.FreeBSD.org/ports/commit/?id=0da13d75dcaa2156678745e43f2aaf156945c9f7 commit 0da13d75dcaa2156678745e43f2aaf156945c9f7 Author: Matthias Andree AuthorDate: 2023-07-22 14:26:13 +0000 Commit: Matthias Andree CommitDate: 2023-07-22 14:36:23 +0000 devel/cxxtest: take maintainership, add docs/examples This port is in need of a new maintainer, Hans Petter Selasky who was the previous maintainer has passed away in June 2023. https://lists.freebsd.org/archives/freebsd-announce/2023-July/000076.html We thank Hans Petter for maintaining this port and his other contributions, which have been countless. I am taking maintainership of this port, which is Approved by: portmgr@ (discussed with bofh@ → blanket) Apparently the home page is currently unavailable due to configuration issues (no DNS A nor AAAA RR), so add a different WWW for now. Issue reported upstream to https://github.com/CxxTest/cxxtest/issues/157 Add DOCS and EXAMPLES options, and install the relevant bits (for docs: the guide.txt in asciidoc from the tarball, and the .pdf downloaded separately from Github [1]; for examples: these are part of the distribution's tarball). [1] NOTE: DOCS_DISTFILES needs an explicit DISTFILES. portlint does not know this currently and will complain. We still need it, see the warning box at the end of https://docs.freebsd.org/en/books/porters-handbook/makefiles/#options-variables Bump PORTREVISION to make the DOCS/EXAMPLES addition effective. --- devel/cxxtest/Makefile | 29 ++++++++++++++++++++++++++--- devel/cxxtest/distinfo | 8 +++++--- 2 files changed, 31 insertions(+), 6 deletions(-) diff --git a/devel/cxxtest/Makefile b/devel/cxxtest/Makefile index d4b4e64e1b10..648fb2d87279 100644 --- a/devel/cxxtest/Makefile +++ b/devel/cxxtest/Makefile @@ -1,11 +1,18 @@ PORTNAME= cxxtest PORTVERSION= 4.4 +PORTREVISION= 1 CATEGORIES= devel -MASTER_SITES= SF +MASTER_SITES= SF:DEFAULT \ + https://github.com/CxxTest/cxxtest.github.com/raw/8505a9c37bdf17d9167f0b946c82ccb032d3cd4c/:docs +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} +DIST_SUBDIR= ${PORTNAME} +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} -MAINTAINER= hselasky@FreeBSD.org +MAINTAINER= mandree@FreeBSD.org COMMENT= Simple and powerful JUnit/CppUnit/xUnit-like framework for C++ -WWW= http://cxxtest.sourceforge.net/ +#WWW= http://cxxtest.com/ # unavailable, https://github.com/CxxTest/cxxtest/issues/157 +#WWW= https://github.com/CxxTest/cxxtest.github.com +WWW= https://github.com/CxxTest/cxxtest LICENSE= LGPL3+ @@ -16,9 +23,25 @@ NO_ARCH= yes WRKSRC_SUBDIR= python +OPTIONS_DEFINE= DOCS EXAMPLES +OPTIONS_DEFAULT= DOCS EXAMPLES + +DOCS_DISTFILES= guide.pdf:docs +DOCS_PORTDOCS= * +EXAMPLES_PORTEXAMPLES= * + post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/include/cxxtest ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/cxxtest/* \ ${STAGEDIR}${PREFIX}/include/cxxtest/ +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/guide.pdf ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/guide.txt ${STAGEDIR}${DOCSDIR} + +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ( cd ${WRKSRC}/../sample/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} ) + .include diff --git a/devel/cxxtest/distinfo b/devel/cxxtest/distinfo index 052107e7ef56..51b162de3079 100644 --- a/devel/cxxtest/distinfo +++ b/devel/cxxtest/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1567682856 -SHA256 (cxxtest-4.4.tar.gz) = 1c154fef91c65dbf1cd4519af7ade70a61d85a923b6e0c0b007dc7f4895cf7d8 -SIZE (cxxtest-4.4.tar.gz) = 330076 +TIMESTAMP = 1690034322 +SHA256 (cxxtest/cxxtest-4.4.tar.gz) = 1c154fef91c65dbf1cd4519af7ade70a61d85a923b6e0c0b007dc7f4895cf7d8 +SIZE (cxxtest/cxxtest-4.4.tar.gz) = 330076 +SHA256 (cxxtest/guide.pdf) = 05d4afa4ca48113a2d2d6c6efc9cf88297986204a74aad4caa70a8211bdd1cf8 +SIZE (cxxtest/guide.pdf) = 270989