From nobody Wed Feb 22 00:47:36 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 4PLyDS68myz3tjNk; Wed, 22 Feb 2023 00:47:36 +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 4PLyDS5flzz3DvH; Wed, 22 Feb 2023 00:47:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677026856; 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=7MDcEgKwDoMWHUgCgL5tJ1qQ4TYIDvFS7aaj1TsGd/Q=; b=CUn2ozcesZvkG0SQCAoowd0O/WrxQg7E6uN2c+rlbq2ixaNQQDl8ScrxxKTiqbUQeWFyq2 ZFw+GeyB9aqOpM/kq15mNYBamNYr7TteiikKNm7SItP8PnlQUqs0n9gKMQAhlWBwKQ3yxQ PFsG/PR1/lSfEKJQCHXFiq/7jItFu1B+pS+1eHREXCiVWD2Medf5nRfmeqVzuyttojoBEO grfYfOZjbc5g3z2RyA7//fXrh8R4C6O1TAC31i4Z2/5HMk+uAT4cu7Qi5jFgZePzD4CDgt YSVrYT5WulB1pgHoMQW4v0mlDIzdQJRC1V/IJz8rX6kz0P0/7KmLe0xnK6d6wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677026856; 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=7MDcEgKwDoMWHUgCgL5tJ1qQ4TYIDvFS7aaj1TsGd/Q=; b=gIU7+2riuW0D+kGMNPOfMz3HxeAgh6kDPTXe81e50SdZyCLYZcsZ81hiYBZ3bIAswcAU6E iedxcTM+VjE1wmaxzrq1Kov/m1oeRd2RxJXvfwsDq/uDwYwJTs1WJnPiiMEa9rbwMqpPEm mVXNlgk/zaXlmpteqduNhfhiminsVwmS5yxQhuqFdHo4eU6mSiQQ8UheKBAsOuEVHTtKQ+ hK+q89SII6R8yrd7zZ5QsWGcSKtxhW96ieFABRUTbqz6XF8G9NOpAKjZM9k9hRh2qimkip YOlb/I0N0qZGXaLmge3gwLRYEmHWfgMhFVi217MBqmPlIjoZE7WyQo8TrQW0Rg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677026856; a=rsa-sha256; cv=none; b=qXEbHfj2OBpLCAmjjrwpUhY4JSOHD9D56+Xub2dl9nE4iUfy9rwQEt3SEzbLccp5gXF7v5 NzMkeanDgunMK79/XA/NNpQ6f3rgg9LNu0fqy2dDnDQX4QeL5YD+n3Ji9OlFbQLSvMeZW3 gicXWQA6BFfULZYAxGfa8pH8QwQexD2n72K7tHWbwlIUBw1pFlQ4S0wAIkeZ1gly72DfBV wex8sFAPQ/emk3VSMhlnnyDxP8KFhA+/PTNyVOQvXoU0MuJ962wb56J5YNBt4ujU8pXz9D SQjYkX6VuHT2HEPifiSaYREMH1zR7kSOESKE3/BGrkY4xisVFnyzMiK58cWteg== 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 4PLyDS4k6PzghC; Wed, 22 Feb 2023 00:47:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31M0laDk040743; Wed, 22 Feb 2023 00:47:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31M0laq3040742; Wed, 22 Feb 2023 00:47:36 GMT (envelope-from git) Date: Wed, 22 Feb 2023 00:47:36 GMT Message-Id: <202302220047.31M0laq3040742@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Brooks Davis Subject: git: 513c2583ad36 - main - textproc/mdocml: build and install man.cgi 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: brooks X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 513c2583ad366628c03c238ae5553a42beea7fcc Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/ports/commit/?id=513c2583ad366628c03c238ae5553a42beea7fcc commit 513c2583ad366628c03c238ae5553a42beea7fcc Author: Brooks Davis AuthorDate: 2023-02-22 00:46:00 +0000 Commit: Brooks Davis CommitDate: 2023-02-22 00:47:06 +0000 textproc/mdocml: build and install man.cgi PR: 269604 Approved by: uqs (maintainer) Sponsored by: DARPA --- textproc/mdocml/Makefile | 8 ++++++++ textproc/mdocml/pkg-plist | 2 ++ 2 files changed, 10 insertions(+) diff --git a/textproc/mdocml/Makefile b/textproc/mdocml/Makefile index 993ff291a542..48270fe35a7d 100644 --- a/textproc/mdocml/Makefile +++ b/textproc/mdocml/Makefile @@ -23,6 +23,14 @@ LDFLAGS+= -L${LOCALBASE}/lib post-configure: @${REINPLACE_CMD} -e '/^CFLAGS/s/=/?=/' -e '/^PREFIX/s/=/?=/' \ -e 's/^INSTALL_PROGRAM.*/INSTALL_PROGRAM=${INSTALL_PROGRAM}/' \ + -e 's|/var/www|${WWWDIR}|' \ ${WRKSRC}/Makefile.local + cp ${WRKSRC}/cgi.h.example ${WRKSRC}/cgi.h + +post-build: + cd ${WRKSRC} && ${MAKE} ${MAKE_ARGS} man.cgi + +post-install: + cd ${WRKSRC} && ${MAKE} ${MAKE_ARGS} cgi-install .include diff --git a/textproc/mdocml/pkg-plist b/textproc/mdocml/pkg-plist index 4ff587f96d4e..0e1bcf8dca17 100644 --- a/textproc/mdocml/pkg-plist +++ b/textproc/mdocml/pkg-plist @@ -20,3 +20,5 @@ man/man7/mdoc.7.gz man/man7/tbl.7.gz man/man8/makewhatis.8.gz sbin/makewhatis +%%WWWDIR%%/cgi-bin/man.cgi +%%WWWDIR%%/htdocs/mandoc.css