From nobody Sat Apr 22 17:49:06 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 4Q3f5w0lgkz464Tn; Sat, 22 Apr 2023 17:49:08 +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 4Q3f5v14tSz3jyn; Sat, 22 Apr 2023 17:49:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682185747; 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=KTEsgZAQm4x/o/I0xdreRA3WJBM00C9NPpWTrrM38XM=; b=PFnHoALPyUzPySW2urnnaiuvXGn2esMibyqUIJwPuaT2fGAvhN6WKudsmPeb/IE0KOUDjC 2j2ea/c7s5DbIEceu7tTyDwlEdB8gbSsFfaTEj+pk2m532D1ObWOEjXF7GBxe0UEDKn+ik JsM5Uy2MwraBcllYzOgzroQkFWt57MMBhfy4FAKHLWnnA1Qt5ALddxaCUPdN2ZyyNuD6LY 5svwpw0/KO3J0BvVQJxIZ/MIX2YcuzHTai8e5EUBXp3cAcDNtSBo9ff16uhQPf0aeemlCs Fe8fv0ttHM/kPTRb8nJxTNQ6SO57Tg/ZsS07fxyineOTVvbUVIiTuEN15meTPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682185747; 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=KTEsgZAQm4x/o/I0xdreRA3WJBM00C9NPpWTrrM38XM=; b=vBBYTusHsRRboCkdThzc7KOyjBJ72BF9AkfOxOgWGUeafTz4GmUm1lWNE5W6elD2X1H7sW YCe4PRp5xdfscpkuzRcBu0aMGx5s/tmN0ca6LbqXqBuoIbEbeufdYZufUjqwoC1F/owKpD m8GjUPfs7XHp/9KgZ9HbeR3TkAePj7QW+p1wg7EnVZj++HtnkU5TbeFcNpS19F0o0WdTxm Y8KmdZwhr02hl5Gv1VFbKWng1whYDp7Vn3mZOH89U06gsVIIW/OZRZsVu78WyJ/CcZiJFZ Qxjs5C3VtAV0bPaXolXoTK+ypX4ii6r9uKrGLPMcu1wXJ0obwxXHS9oV+TujlA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682185747; a=rsa-sha256; cv=none; b=AWJeP2aedk/HUNnuZkzAL5TvR4mEqmgIzDnrrBefpuW/10L9b28SozwJJUHq90D7KaT0IM 1AbAJNDYxZ6zywzwMT+Q4u2vOh2+K5eobzy9LQ+aPq3ImUdZQzgltnoHV5u71a5G2bakiC +XE/kEjvw92vyML7NxTNP7Zm77ucLGNjA+JRzCDlBuAMutyOXBhPa4+27DUbwCTHnu42zC s9YqWuVCiWv6T8irKZ/83TrmQIImdMS7rXOtbLaY0Do0sOX3MCu89jzabO9T04m1N4K+or f0W78imtYeNa8RzQc9unffQUhIVFOX0DE9hO4I4nSslUPcJ+qpnaBy8U57c4fA== 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 4Q3f5t55wcz1B0R; Sat, 22 Apr 2023 17:49:06 +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 33MHn6mP037151; Sat, 22 Apr 2023 17:49:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33MHn6ng037150; Sat, 22 Apr 2023 17:49:06 GMT (envelope-from git) Date: Sat, 22 Apr 2023 17:49:06 GMT Message-Id: <202304221749.33MHn6ng037150@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 2dac5e9c55c0 - main - textproc/docbookrx: Fix BUILD 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2dac5e9c55c0d6b735a89a8390512e9ef263c6f4 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=2dac5e9c55c0d6b735a89a8390512e9ef263c6f4 commit 2dac5e9c55c0d6b735a89a8390512e9ef263c6f4 Author: Muhammad Moinur Rahman AuthorDate: 2023-04-22 17:48:04 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-04-22 17:48:38 +0000 textproc/docbookrx: Fix BUILD - Pet portclippy --- textproc/docbookrx/Makefile | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/textproc/docbookrx/Makefile b/textproc/docbookrx/Makefile index a4649aa460e2..7c452fd07c91 100644 --- a/textproc/docbookrx/Makefile +++ b/textproc/docbookrx/Makefile @@ -17,20 +17,22 @@ RUN_DEPENDS= rubygem-nokogiri>=1.8:textproc/rubygem-nokogiri USES= ruby USE_GITHUB= yes - -OPTIONS_DEFINE= DOCS - GH_ACCOUNT= allanjude GH_PROJECT= docbookrx GH_TAGNAME= 06cae39 - -GEM_ENV+= RB_USER_INSTALL=yes USE_LOCALE?= en_US.UTF-8 -GEM_ENV+= LANG=${USE_LOCALE} LC_ALL=${USE_LOCALE} +GEM_ENV+= RB_USER_INSTALL=yes LANG=${USE_LOCALE} LC_ALL=${USE_LOCALE} + +NO_ARCH= yes + +OPTIONS_DEFINE= DOCS + +DOCS_VARS= RUBYGEM_ARGS+="--document rdoc,ri" +DOCS_VARS_OFF= RUBYGEM_ARGS+=--no-document + RUBYGEM_ARGS= -l --no-update-sources --ignore-dependencies \ --install-dir ${STAGEDIR}${PREFIX}/lib/ruby/gems/${RUBY_VER} \ --bindir=${STAGEDIR}${PREFIX}/bin - RUBYGEMBIN= ${LOCALBASE}/bin/gem GEMS_BASE_DIR= lib/ruby/gems/${RUBY_VER} GEMS_DIR= ${GEMS_BASE_DIR}/gems @@ -39,14 +41,6 @@ CACHE_DIR= ${GEMS_BASE_DIR}/cache EXT_DIR= ${GEMS_BASE_DIR}/extensions GEM_LIB_DIR?= ${GEMS_DIR}/${PORTNAME}-${DISTVERSION} -.include - -.if ${PORT_OPTIONS:MDOCS} -RUBYGEM_ARGS+= --document rdoc,ri -.else -RUBYGEM_ARGS+= --no-document -.endif - do-build: cd ${BUILD_WRKSRC} && ${SETENV} ${GEM_ENV} ${RUBYGEMBIN} build --force ${PORTNAME}.gemspec @@ -60,15 +54,16 @@ do-install: ${RMDIR} ${STAGEDIR}${PREFIX}/${EXT_DIR} 2> /dev/null || ${TRUE} ${ECHO} bin/docbookrx >> ${TMPPLIST} ${ECHO} ${GEMS_BASE_DIR}/specifications/${PORTNAME}-${DISTVERSION}.gemspec >> ${TMPPLIST} -.if ${PORT_OPTIONS:MDOCS} - ${FIND} -ds ${STAGEDIR}${PREFIX}/${DOC_DIR} -type f -print | ${SED} -E -e \ - 's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST} -.endif ${FIND} -ds ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR} -type f -print | ${SED} -E -e \ 's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST} @if [ -d ${STAGEDIR}${PREFIX}/${EXT_DIR} ]; then \ ${FIND} -ds ${STAGEDIR}${PREFIX}/${EXT_DIR} -type f -print | ${SED} -E -e \ 's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST} ; \ fi + ${ECHO} '@dir ${GEMS_BASE_DIR}/plugins' >> ${TMPPLIST} + +do-install-DOCS-on: + ${FIND} -ds ${STAGEDIR}${PREFIX}/${DOC_DIR} -type f -print | ${SED} -E -e \ + 's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST} .include