From nobody Sat Jan 27 16:27:35 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 4TMg2c56VYz58Vw7; Sat, 27 Jan 2024 16:27: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 4TMg2c0Xr2z4VNB; Sat, 27 Jan 2024 16:27:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706372856; 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=qQCu2DntFsAjMYPH5ZVtUotBK6mxb3FWgUq4n7FzzBU=; b=q5kB0PiGrYPeMG40O0MOjPFVBqDekVjuxOiHMv7E3a5g6EfeqIP+D8c+HjkbYnDN8ZP32s jFGTq1oA88I9/X45zfs01QT4Jp5RG693/IH3G65I79amQCNnDQ+D8A77IMkdQ5NVkDOLBV A8O+tsYI8sIOgDRtOulb247jKPRWVILxwbZPKPEy06jnp2wfwUY9vH08RyRldyWJYXH4uv uqWMjnWq0GouFmYnWqEeRyG7QyBGn/2N0WAhwBpLh0rKVoO2E1q18Ggg/5AVVwl6KEv0Xi cS+tlajxZzltumNwJdSqxocoUBIeM76//wmibIFWMw0of0svIHAgWEPi1l/lfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706372856; 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=qQCu2DntFsAjMYPH5ZVtUotBK6mxb3FWgUq4n7FzzBU=; b=X8oO9c6iQBy8lx7IWrPQPpwkgv2fM/7U1lo+aN/maKaOy03jR0lKibuHSBkEAKYrYsrUi4 DFlh96orIFvJmwfTn/NOyPxYg+/LIxm4WRjPyUA+BPdvQ8E0eTMa+Wj7snjN+987ByOsSR g0kaliCcz0WSZciAykFbNK/hfAkmEo8fJX0ZhiTLvux0wPIAWyU5SHLzK8Glh1wHw7wIR8 QWJkXyqcxLDI5XnzEY/Mrai0HpcM3wDsaGo/UYf/uJRERWpkAfF+4tN7InjE6MLhsRwV5U DUbtFEcQb+ONXGohF6wVMvEcY7DB4F58mYYdc+AXdCM0KP0pa5usvQwiZut9Sg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706372856; a=rsa-sha256; cv=none; b=Xd1Mda3NauPTSQWrD9wURehB/ClTC0gWAlM8Y7PFWzNL77ZgHsJsYTFe9+4jdm6JorozpF ey+nNvX2MOX2mBHkPuBl9qBbtBE2kZBkD2mAkA6+aHRj+n9a7h2upMLrNCgv+BwFlYi0e/ 61SrgM1Cdk5mY8oIbLJ9Kk9hfrYGUdEWJPgdMpKIn92ukmk+6L5Er/IWAw/A1tX7pjauoo GM0PmF1gy1s8GIfujg2541AFTsF3EWkeBDobRck2LR2XGTSRnmYcbB+th5rpSd/I6uTImk 5T3TvWk8WgpsdKPB5M8uqhXhimcpiiXAwxTImdh69DYBYUWQaKz93LdGGXl92Q== 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 4TMg2b6jZLzX78; Sat, 27 Jan 2024 16:27:35 +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 40RGRZ4Q038668; Sat, 27 Jan 2024 16:27:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40RGRZ28038665; Sat, 27 Jan 2024 16:27:35 GMT (envelope-from git) Date: Sat, 27 Jan 2024 16:27:35 GMT Message-Id: <202401271627.40RGRZ28038665@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: fd7dc420e3c8 - main - misc/getopt: Moved man to share/man 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: fd7dc420e3c82dfe5066ed48fa0b08a218c41f5e Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=fd7dc420e3c82dfe5066ed48fa0b08a218c41f5e commit fd7dc420e3c82dfe5066ed48fa0b08a218c41f5e Author: Muhammad Moinur Rahman AuthorDate: 2024-01-27 16:11:45 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2024-01-27 16:27:04 +0000 misc/getopt: Moved man to share/man Approved by: portmgr (blanket) --- misc/getopt/Makefile | 1 + misc/getopt/files/patch-Makefile | 35 +++++++++++++++++++++++++++-------- misc/getopt/pkg-plist | 2 +- 3 files changed, 29 insertions(+), 9 deletions(-) diff --git a/misc/getopt/Makefile b/misc/getopt/Makefile index 04fdbc597ca4..2c49cff00b61 100644 --- a/misc/getopt/Makefile +++ b/misc/getopt/Makefile @@ -1,5 +1,6 @@ PORTNAME= getopt PORTVERSION= 1.1.6 +PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= http://frodo.looijaard.name/system/files/software/getopt/ \ LOCAL/sunpoet diff --git a/misc/getopt/files/patch-Makefile b/misc/getopt/files/patch-Makefile index a3160ae26b0e..3383ee09c28f 100644 --- a/misc/getopt/files/patch-Makefile +++ b/misc/getopt/files/patch-Makefile @@ -1,24 +1,29 @@ ---- ./Makefile.orig 2013-03-02 19:04:01.590723827 -0500 -+++ ./Makefile 2013-03-02 19:06:02.492723812 -0500 -@@ -1,7 +1,7 @@ +--- Makefile.orig 2014-11-24 12:33:39 UTC ++++ Makefile +@@ -1,9 +1,9 @@ DESTDIR= .SUFFIXES: DESTDIR= -prefix=/usr/local +prefix=$(PREFIX) bindir=$(prefix)/bin - mandir=$(prefix)/man +-mandir=$(prefix)/man ++mandir=$(prefix)/share/man man1dir=$(mandir)/man1 -@@ -32,7 +32,7 @@ - LANGUAGES = ca cs da de es et eu fi fr gl hu id it ja nl pl pt_BR ru sl sv tr uk vi zh_CN zh_TW + sharedir=$(prefix)/share + getoptdir=$(sharedir)/getopt +@@ -32,18 +32,15 @@ MOFILES:=$(patsubst %,po/%.mo,$(LANGUAGES)) + LANGUAGES = ca cs da de es et eu fi fr gl hr hu id it ja nl pl pt_BR ru sl sv tr uk vi zh_CN zh_TW MOFILES:=$(patsubst %,po/%.mo,$(LANGUAGES)) -CPPFLAGS=-DLIBCGETOPT=$(LIBCGETOPT) -DWITHOUT_GETTEXT=$(WITHOUT_GETTEXT) -DLOCALEDIR=\"$(localedir)\" -DNOT_UTIL_LINUX -Dprogram_invocation_short_name=\"$(PACKAGE)\" -Dprogram_version=\"$(VERSION)\" +CPPFLAGS+=-DLIBCGETOPT=$(LIBCGETOPT) -DWITHOUT_GETTEXT=$(WITHOUT_GETTEXT) -DLOCALEDIR=\"$(localedir)\" -DNOT_UTIL_LINUX -Dprogram_invocation_short_name=\"$(PACKAGE)\" -Dprogram_version=\"$(VERSION)\" ifeq ($(LIBCGETOPT),0) - CPPFLAGS+=-I./gnu +-CPPFLAGS+=-I./gnu ++CPPFLAGS+=-I./gnu endif -@@ -41,9 +41,6 @@ + WARNINGS=-Wall \ + -W -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual \ -Wcast-align -Wmissing-declarations \ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ -Wnested-externs -Winline @@ -28,3 +33,17 @@ sources=getopt.c ifeq ($(LIBCGETOPT),0) +@@ -54,11 +51,11 @@ binaries=getopt + + binaries=getopt + +-.PHONY: all clean realclean ++.PHONY: all clean realclean + all: $(binaries) all_po + + clean: clean_po +- -$(RM) $(objects) $(binaries) ++ -$(RM) $(objects) $(binaries) + + getopt: $(objects) + $(CC) $(LDFLAGS) -o $@ $(objects) diff --git a/misc/getopt/pkg-plist b/misc/getopt/pkg-plist index 2136ebe6e0af..11fb45cc30a2 100644 --- a/misc/getopt/pkg-plist +++ b/misc/getopt/pkg-plist @@ -1,5 +1,5 @@ bin/getopt -man/man1/getopt.1.gz +share/man/man1/getopt.1.gz %%NLS%%share/locale/ca/LC_MESSAGES/getopt.mo %%NLS%%share/locale/cs/LC_MESSAGES/getopt.mo %%NLS%%share/locale/da/LC_MESSAGES/getopt.mo