From nobody Fri Jan 12 20:14:03 2024 X-Original-To: dev-commits-ports-main@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 4TBXmq2m76z56Fnk; Fri, 12 Jan 2024 20:14:03 +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 4TBXmq2Fqrz4Jpt; Fri, 12 Jan 2024 20:14:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705090443; 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=Y8FJ5z/b1gqJmp+O4KoZseZgELS9BmOSmO2yx3f5qVE=; b=xrihL78MfopMsXPqmJDZbidbKFB49uGQzZZ3/lOuck3Hd++rmWX+y2TyUhluXeY0dfNb5C HmmuBc7GOI1dax/lSLeorTu2lYlgZbUAMYooVN/NQmKJaQndhP/AA6tVcXGdb7xyf91d1w WnXE1J7cmNpW7jpRRxRs6GCTIRqsVFwos9KaqXgtsdGJ+cQjN+xf0la+VpYgSJ+DfAKSXr UO38qbPM48SOsydq4U+i8xaCUHEX9PksgIjQzW86UkzylDv36SCAWerB2l02QvujEV21nU oP369EI/1RkbGtGSwxCk0kqlBY2vWFuvjFfJdBrJ58X6DmnWxAIFqG46ePFAzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705090443; 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=Y8FJ5z/b1gqJmp+O4KoZseZgELS9BmOSmO2yx3f5qVE=; b=eav53ZnWcaKm6TzRX92WItj1dhZlM6rYxg1fj6zmTHYMiRanLb3cRnXo3fLwrSQ7kTIDvS q6HyGHhdkTQS6foiMQT15739u49mv9kUKCO8UQGo8KLAnNwFSqUKTuu91CFc+0TMlpfjNM jgFcXJcoWE6E5+LT4dWXt5V+WLfZJIFKEVT6UG+2+BOuz/b3clMr7Jo/hu8GwhZMlI27J+ AksvsQTfHLGE/kaDueXh6NzJ69yyCADlAyEK83d1OkLMUclpHm+ACaux2K2hF7UVNmfID8 yKsC/RafEwI5QTPZyeCQzNRg3BXiTXtSVcYZhvwGf6DaXWrQf5A3nKKsRqKM/g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705090443; a=rsa-sha256; cv=none; b=yyYP4rSg9J5Iz0hk+EdybOOejDo2t/INI/SaX+OFxd2d4qP0hNod8epU4JWby77RwccKUX fEoeHuZsOsJqUVo0SEBX6ZlHJ83YWQUx/0HaMmGAIXku+RZpiC2eIvwZaWOrPX3yBJbyr3 ADssmKnE68cCfc8FBp+qbt+bdpEcLuI9nQK4vrplPXl4dGPaWTSj3Bsmwf9irXA7yaUWwk aiKCF7FJ5REKsa4arY0yikgx/GySedqHXgf29UusP3I3m+7Jo3bMa1mqYHsIK4AgDjDYSY 8iERh0uj9D3YqWsWRAk/Sf0IA7Gx3ggxu/g5LAojNGZD+Lo+XAAN9CFLQfgRmw== 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 4TBXmq1JFfz1Fsm; Fri, 12 Jan 2024 20:14:03 +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 40CKE3uo035722; Fri, 12 Jan 2024 20:14:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40CKE3uG035719; Fri, 12 Jan 2024 20:14:03 GMT (envelope-from git) Date: Fri, 12 Jan 2024 20:14:03 GMT Message-Id: <202401122014.40CKE3uG035719@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dirk Meyer Subject: git: faf808d6ecc2 - main - devel/cxref: new option CPP List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dinoex X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: faf808d6ecc2407e7dfa3ca59cdc7cbdcd9936f0 Auto-Submitted: auto-generated The branch main has been updated by dinoex: URL: https://cgit.FreeBSD.org/ports/commit/?id=faf808d6ecc2407e7dfa3ca59cdc7cbdcd9936f0 commit faf808d6ecc2407e7dfa3ca59cdc7cbdcd9936f0 Author: Dirk Meyer AuthorDate: 2024-01-12 20:13:44 +0000 Commit: Dirk Meyer CommitDate: 2024-01-12 20:13:44 +0000 devel/cxref: new option CPP use ${PREFIX}/share/man --- devel/cxref/Makefile | 13 ++++++++++++- devel/cxref/pkg-plist | 9 +++++++-- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/devel/cxref/Makefile b/devel/cxref/Makefile index 6486e327680d..d0ce10855690 100644 --- a/devel/cxref/Makefile +++ b/devel/cxref/Makefile @@ -1,5 +1,6 @@ PORTNAME= cxref PORTVERSION= 1.6e +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://www.gedanken.org.uk/software/cxref/download/ \ http://fossies.org/linux/misc/ @@ -13,12 +14,22 @@ LICENSE= GPLv2 USES= gmake shebangfix tar:tgz SHEBANG_FILES= contrib/xrgr.pl GNU_CONFIGURE= yes -CONFIGURE_ARGS= --without-cxref-cpp +GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share ALL_TARGET= programs +OPTIONS_DEFINE= CPP +OPTIONS_DEFAULT= +OPTIONS_SUB=yes + +CPP_DESC= with bundled cpp +CPP_CONFIGURE_WITH= cxref-cpp + post-install: @${MKDIR} ${STAGEDIR}${DATADIR} @(cd ${WRKSRC}/contrib && ${INSTALL_DATA} *.el *.pl *.py README* \ ${STAGEDIR}${DATADIR}) +post-install-CPP-on: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cxref-cpp + .include diff --git a/devel/cxref/pkg-plist b/devel/cxref/pkg-plist index 5d0d2ef3f9f9..71d09b406ddd 100644 --- a/devel/cxref/pkg-plist +++ b/devel/cxref/pkg-plist @@ -1,12 +1,13 @@ bin/cxref bin/cxref-cc +%%CPP%%bin/cxref-cpp +%%CPP%%bin/cxref-cpp-configure bin/cxref-query -man/man1/cxref-query.1.gz -man/man1/cxref.1.gz %%DATADIR%%/README %%DATADIR%%/README.xrgr %%DATADIR%%/cflow.el %%DATADIR%%/cxref.el +%%CPP%%%%DATADIR%%/cxref-cpp.defines %%DATADIR%%/cxref_includes.pl %%DATADIR%%/daVinvi_function.pl %%DATADIR%%/daVinvi_include.pl @@ -17,3 +18,7 @@ man/man1/cxref.1.gz %%DATADIR%%/tree.pl %%DATADIR%%/xrefgraph.py %%DATADIR%%/xrgr.pl +%%CPP%%share/man/man1/cxref-cpp-configure.1.gz +%%CPP%%share/man/man1/cxref-cpp.1.gz +share/man/man1/cxref-query.1.gz +share/man/man1/cxref.1.gz