pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
sysutils/bsdfetch: import bsdfetch-20221123 as wip/bsdfetch
Module Name: pkgsrc-wip
Committed By: Paolo Vincenzo Olivo <vms%retrobsd.ddns.net@localhost>
Pushed By: vms
Date: Fri Nov 25 21:24:25 2022 +0100
Changeset: 35a85bdf5d7a0b1870ec3f1838bdc4250c3da06f
Added Files:
bsdfetch/DESCR
bsdfetch/Makefile
bsdfetch/PLIST
bsdfetch/distinfo
bsdfetch/patches/patch-Makefile
Log Message:
sysutils/bsdfetch: import bsdfetch-20221123 as wip/bsdfetch
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=35a85bdf5d7a0b1870ec3f1838bdc4250c3da06f
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
bsdfetch/DESCR | 2 ++
bsdfetch/Makefile | 22 ++++++++++++++++++++++
bsdfetch/PLIST | 2 ++
bsdfetch/distinfo | 6 ++++++
bsdfetch/patches/patch-Makefile | 15 +++++++++++++++
5 files changed, 47 insertions(+)
diffs:
diff --git a/bsdfetch/DESCR b/bsdfetch/DESCR
new file mode 100644
index 0000000000..d9e0f25ff4
--- /dev/null
+++ b/bsdfetch/DESCR
@@ -0,0 +1,2 @@
+bsdfetch is a simple tool to show information about a running
+FreeBSD/OpenBSD/MidnightBSD/NetBSD/DragonflyBSD system.
diff --git a/bsdfetch/Makefile b/bsdfetch/Makefile
new file mode 100644
index 0000000000..ac39f488d6
--- /dev/null
+++ b/bsdfetch/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+DISTNAME= bsdfetch-20221123
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_GITHUB:=jhx0/}
+DIST_SUBDIR= ${PKGNAME_NOREV}
+GITHUB_TAG= c75e286bec960d00f71cb166e59c2af7a71c8835
+
+MAINTAINER= vms%retrobsd.ddns.net@localhost
+HOMEPAGE= https://github.com/jhx0/bsdfetch/
+COMMENT= BSD system information tool written in C
+LICENSE= isc
+
+MAKE_FLAGS+= CC=${CC:Q}
+MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
+
+INSTALLATION_DIRS+= bin
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bsdfetch ${DESTDIR}/${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/bsdfetch/PLIST b/bsdfetch/PLIST
new file mode 100644
index 0000000000..973c942bbd
--- /dev/null
+++ b/bsdfetch/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/bsdfetch
diff --git a/bsdfetch/distinfo b/bsdfetch/distinfo
new file mode 100644
index 0000000000..07e3427728
--- /dev/null
+++ b/bsdfetch/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (bsdfetch-20221123/bsdfetch-20221123-c75e286bec960d00f71cb166e59c2af7a71c8835.tar.gz) = 57d429b85d0c3b1759f0c63075fad9b8a38be97997692ac8f27613772a582864
+SHA512 (bsdfetch-20221123/bsdfetch-20221123-c75e286bec960d00f71cb166e59c2af7a71c8835.tar.gz) = a5060c5484252b224daa9e352f2dc27c13ffa937846788b0531bc41b88221deee21696985802b7ede368d08d927449974e2b45aaccef87289ac461c9a700ae44
+Size (bsdfetch-20221123/bsdfetch-20221123-c75e286bec960d00f71cb166e59c2af7a71c8835.tar.gz) = 6592 bytes
+SHA1 (patch-Makefile) = 62812c29b42d05ad9a9b1b9cc263ec309a7a4771
diff --git a/bsdfetch/patches/patch-Makefile b/bsdfetch/patches/patch-Makefile
new file mode 100644
index 0000000000..43b4a2d6e4
--- /dev/null
+++ b/bsdfetch/patches/patch-Makefile
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Let pkgsrc define optimization flags.
+
+--- Makefile.orig 2022-11-23 13:22:36.000000000 +0000
++++ Makefile
+@@ -12,7 +12,7 @@ OPTIMIZATION=-O2
+
+ .PHONY: all
+ all:
+- $(CC) $(SRC) -o $(OBJ) $(CFLAGS) $(OPTIMIZATION)
++ $(CC) $(SRC) -o $(OBJ) $(CFLAGS)
+
+ .PHONY: debug
+ debug:
Home |
Main Index |
Thread Index |
Old Index