From nobody Sun Oct 22 14:45:20 2023 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 4SD1MN5WL9z4xPSR; Sun, 22 Oct 2023 14:45:20 +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 4SD1MN4kMxz4JBK; Sun, 22 Oct 2023 14:45:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697985920; 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=hgozUk78kYeiKP6XFSAHjyHHflsBB2w9fxJqA2HVGZA=; b=pwkpiZLiF0djY/+ed13HAIeq3xtITgrYtKGDcSzhlDhJ0NQsnRNMgW8StfPJlRF6HQtSgV c+pfu+DqzjeY0o+fTkxnNrMV4vuOgII+QK0CIwV4tzydBBh18PLHIv0XuWPx8OKjA8z7kl mpS3QdSIQ9rrBQoU1zzkUC8LbhfcAPbB7825oh50JUBovlkIGg2Gvb8WjkpN//aEQYwDAA TYr9gvtdCjMkVf7rmVuEbtXlXfI1B0chVFIVY/VCERwcSzm6FDx5MaQA7fRbT4d7Nt/PEU zL40CG7RYyzVXFpW8XAoYi7nntVdERBol7c4LJ3JlLvwjt4fC5E+3DjMMguEhw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697985920; a=rsa-sha256; cv=none; b=O4LND0nLQr5MqyPxuL/F6/dEgIIEAwPUkgJexNSRMOiyc8ezZE6+0uSurO6NsIleLqm1pa g5r82PSGYg09xdjdOgeKxAAIJ2mxoekyAy30uxtZ/8LX+2o/GthXN3xeEJBuRozcbphHoC 9UBG/DCaDcEZ/TYY27YbBYhnuXzITMziL0G0HG6INR+N3hQaWqyVYl5xTht15j/f6J9ywU FztStmZCsf3JZ4d0X3NbVAUazXKf40oGwbWSDWK3tMtLORAePUe1VUt/7zMKpeMf1IrT2H DgWx6njBNQqBfhNXypx+n3J8Oy8Hg+YkQJVWTg0bi2IcZm+RPynj0MMxfp3K+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697985920; 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=hgozUk78kYeiKP6XFSAHjyHHflsBB2w9fxJqA2HVGZA=; b=J+cgf635dhBfa69T6Z/oY6QcH9gh1kNn5CL+YaCeo0/EvJ2+amO4/ker9g+sBBJhyaajKF 6hWDc3H+vFfOm6kh5hiIgiuin48QNGdD6Es4vUVUDZeMCGs9mmVw1R/m0bKvbMxUEl/t01 GN/5ftEyxfrjQhqILlTLIs5/NfaOYDpmDCZDIGdjw1uXt3dL4+oDGmJ0Y+mMScd+Tu2dVC IWhbW6sJkztXJRWgOn1lS7nKDZbLiKvby3WpAJF2ZmbMK+VkARz6HnSRQ28+MAmf6haQLH MiKW23lLSN//7iD5W+wdzy18r3kqWFiGkoW2OwQNidCLWDiflQHgctuYVgQANg== 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 4SD1MN3mXDz127f; Sun, 22 Oct 2023 14:45:20 +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 39MEjKg5099171; Sun, 22 Oct 2023 14:45:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39MEjKVc099168; Sun, 22 Oct 2023 14:45:20 GMT (envelope-from git) Date: Sun, 22 Oct 2023 14:45:20 GMT Message-Id: <202310221445.39MEjKVc099168@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: af35500586a4 - main - lang/librep: Optionize INFO 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: af35500586a4a5de4141ef3f28e8bbd9a99eb85b Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=af35500586a4a5de4141ef3f28e8bbd9a99eb85b commit af35500586a4a5de4141ef3f28e8bbd9a99eb85b Author: Muhammad Moinur Rahman AuthorDate: 2023-10-22 14:44:13 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-10-22 14:45:03 +0000 lang/librep: Optionize INFO - Pet portclippy --- lang/librep/Makefile | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/lang/librep/Makefile b/lang/librep/Makefile index a260e91276e4..61d2be830e7f 100644 --- a/lang/librep/Makefile +++ b/lang/librep/Makefile @@ -16,27 +16,42 @@ LIB_DEPENDS= libgdbm.so:databases/gdbm \ libgmp.so:math/gmp RUN_DEPENDS= gtar:archivers/gtar +USES= autoreconf gettext gmake libtool localbase:ldflags \ + pathfix pkgconfig readline shebangfix tar:xz USE_CSTD= gnu89 +USE_LDCONFIG= yes -USES= autoreconf gettext gmake libtool makeinfo pathfix pkgconfig readline \ - shebangfix tar:xz -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-aclocaldir=${PREFIX}/share/aclocal \ - --with-stack-direction=-1 SHEBANG_FILES= ${WRKSRC}/src/rep-xgettext.jl SHEBANG_LANG= rep rep_OLD_CMD= /usr/bin/rep rep_CMD?= ${PREFIX}/bin/rep -USE_LDCONFIG= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -pthread +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-aclocaldir=${PREFIX}/share/aclocal \ + --with-stack-direction=-1 + +LDFLAGS+= -pthread + +OPTION_DEFINE= INFO +OPTION_DEFAULT= INFO -INFO= librep +INFO_USES= makeinfo +INFO_INFO= librep post-patch: @${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/man/Makefile.in @${REINPLACE_CMD} -E 's|(INSTALL_PROGRAM\))( [^-])|\1 -m 755\2|' \ ${WRKSRC}/src/Makefile.in + @${REINPLACE_CMD} -e '/SUBDIRS/s|man||' ${WRKSRC}/Makefile.in + +post-build-INFO-on: + cd ${WRKSRC}/man && \ + makeinfo --no-split -I . librep.texi -o librep.info + +post-install: + ${INSTALL_MAN} ${WRKSRC}/man/*.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + +post-install-INFO-on: + ${INSTALL_DATA} ${WRKSRC}/docs/librep.info ${STAGEDIR}${PREFIX}/${INFO_PATH} .include