pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gpatch: newly created package for GNU patch



Module Name:	pkgsrc-wip
Committed By:	NishiOwO <nishi%e3t.cc@localhost>
Pushed By:	nishi
Date:		Sun Aug 20 09:28:24 2023 +0900
Changeset:	41cf9b33cba5f94587037bef897e2bbd98803dae

Modified Files:
	Makefile
Added Files:
	gpatch/DESCR
	gpatch/Makefile
	gpatch/PLIST
	gpatch/distinfo

Log Message:
gpatch: newly created package for GNU patch

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=41cf9b33cba5f94587037bef897e2bbd98803dae

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile        |  1 +
 gpatch/DESCR    | 12 ++++++++++++
 gpatch/Makefile | 19 +++++++++++++++++++
 gpatch/PLIST    |  4 ++++
 gpatch/distinfo |  5 +++++
 5 files changed, 41 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 068893c71f..5733bce6fe 100644
--- a/Makefile
+++ b/Makefile
@@ -1370,6 +1370,7 @@ SUBDIR+=	gotify
 SUBDIR+=	goyq
 SUBDIR+=	gp-toric
 SUBDIR+=	gpak
+SUBDIR+=	gpatch
 SUBDIR+=	gpick
 SUBDIR+=	gplbasic
 SUBDIR+=	gpsdrive
diff --git a/gpatch/DESCR b/gpatch/DESCR
new file mode 100644
index 0000000000..c9d94162b5
--- /dev/null
+++ b/gpatch/DESCR
@@ -0,0 +1,12 @@
+This is GNU patch, which applies diff files to original files.
+
+This version of patch has many changes made by the Free Software Foundation.
+They add support for:
+ * handling arbitrary binary data and large files
+ * the unified context diff format that GNU diff can produce
+ * merging into files instead of creating reject files
+ * making GNU Emacs-style backup files
+ * improved interaction with RCS and SCCS
+ * the GNU conventions for option parsing and configuring and compilation.
+ * better POSIX compliance
+They also fix some bugs.
diff --git a/gpatch/Makefile b/gpatch/Makefile
new file mode 100644
index 0000000000..deef6aeb5f
--- /dev/null
+++ b/gpatch/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME=	patch-2.7.6
+CATEGORIES=	devel
+MASTER_SITES=	https://ftp.gnu.org/gnu/patch/
+
+MAINTAINER=	nishi@nishi.boats
+HOMEPAGE=	https://savannah.gnu.org/projects/patch/
+COMMENT=	GNU Patch
+LICENSE=	gnu-gpl-v3
+
+USE_TOOLS+=	gmake
+
+DEPENDS+=	autoconf>=0:../../devel/autoconf
+
+do-configure:
+	cd ${WRKSRC} && ./configure --program-prefix=g --prefix=${PREFIX}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/gpatch/PLIST b/gpatch/PLIST
new file mode 100644
index 0000000000..2c8153e495
--- /dev/null
+++ b/gpatch/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+bin/gpatch
+lib/charset.alias
+share/man/man1/gpatch.1
diff --git a/gpatch/distinfo b/gpatch/distinfo
new file mode 100644
index 0000000000..d3b79c7b11
--- /dev/null
+++ b/gpatch/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (patch-2.7.6.tar.gz) = d7f849f20488a45b629eeb9d4921b78a2e694d204639b5baa954b947994647c3
+SHA512 (patch-2.7.6.tar.gz) = 75d4e1544484da12185418cd4a1571994398140a91ac606fa08dd067004187dad77d1413f0eb3319b3fe4df076714615c98b29df06af052bb65960fa8b0c86bf
+Size (patch-2.7.6.tar.gz) = 1189934 bytes


Home | Main Index | Thread Index | Old Index