pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/herbe



Module Name:    pkgsrc
Committed By:   pin
Date:           Wed Nov  8 14:13:45 UTC 2023

Added Files:
        pkgsrc/x11/herbe: DESCR Makefile PLIST distinfo
        pkgsrc/x11/herbe/patches: patch-Makefile

Log Message:
x11/herbe: import package

Packaged in wip by Kevin Bloom with minor modifications from gdt@
and myself.

herbe is a daemon-less notification program that doesn't require
D-Bus. herbe can fire simple text desktop notifications
from anywhere for anything. It can be killed simply by sending the
SIGKILL signal or by waiting 5 seconds.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/herbe/DESCR pkgsrc/x11/herbe/Makefile \
    pkgsrc/x11/herbe/PLIST pkgsrc/x11/herbe/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/herbe/patches/patch-Makefile

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

Added files:

Index: pkgsrc/x11/herbe/DESCR
diff -u /dev/null pkgsrc/x11/herbe/DESCR:1.1
--- /dev/null   Wed Nov  8 14:13:45 2023
+++ pkgsrc/x11/herbe/DESCR      Wed Nov  8 14:13:45 2023
@@ -0,0 +1,4 @@
+herbe is a daemon-less notification program that doesn't require
+D-Bus. herbe can fire simple text desktop notifications
+from anywhere for anything. It can be killed simply by sending the
+SIGKILL signal or by waiting 5 seconds.
Index: pkgsrc/x11/herbe/Makefile
diff -u /dev/null pkgsrc/x11/herbe/Makefile:1.1
--- /dev/null   Wed Nov  8 14:13:45 2023
+++ pkgsrc/x11/herbe/Makefile   Wed Nov  8 14:13:45 2023
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2023/11/08 14:13:45 pin Exp $
+
+# herbe does not contain a man page see below for info
+# https://github.com/dudik/herbe/blob/1.0.0/README.md
+
+DISTNAME=      herbe-1.0.0
+CATEGORIES=    x11
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=dudik/}
+
+MAINTAINER=    kevin.bloom%posteo.net@localhost
+HOMEPAGE=      https://github.com/dudik/herbe/
+COMMENT=       Daemon-less notifications without D-Bus
+LICENSE=       mit
+
+MAKE_FLAGS+=   CC=${CC:Q}
+MAKE_FLAGS+=   PREFIX=${PREFIX}
+
+DOC_DIR=       ${PREFIX}/share/doc/herbe
+
+INSTALLATION_DIRS+=    ${DOC_DIR}
+
+post-install:
+       ${INSTALL_MAN} ${WRKSRC}/README.md ${DESTDIR}${DOC_DIR}
+
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXft/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/x11/herbe/PLIST
diff -u /dev/null pkgsrc/x11/herbe/PLIST:1.1
--- /dev/null   Wed Nov  8 14:13:45 2023
+++ pkgsrc/x11/herbe/PLIST      Wed Nov  8 14:13:45 2023
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2023/11/08 14:13:45 pin Exp $
+bin/herbe
+share/doc/herbe/README.md
Index: pkgsrc/x11/herbe/distinfo
diff -u /dev/null pkgsrc/x11/herbe/distinfo:1.1
--- /dev/null   Wed Nov  8 14:13:45 2023
+++ pkgsrc/x11/herbe/distinfo   Wed Nov  8 14:13:45 2023
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2023/11/08 14:13:45 pin Exp $
+
+BLAKE2s (herbe-1.0.0.tar.gz) = 726f956b4b21a0d74a19a044c0b4831fec44efd9fe999638da01cc0f15ee3f1a
+SHA512 (herbe-1.0.0.tar.gz) = 3f49de25fd92194d1354054c207616343d9c21a9d82c6c4e3316ebc5228c0bd90650621438d14cd4730135f328c0438ef054a2b6843f3bd4d15f9cb47a22df12
+Size (herbe-1.0.0.tar.gz) = 4974 bytes
+SHA1 (patch-Makefile) = 9731572846cf63fc3be213102c070811d18c3845

Index: pkgsrc/x11/herbe/patches/patch-Makefile
diff -u /dev/null pkgsrc/x11/herbe/patches/patch-Makefile:1.1
--- /dev/null   Wed Nov  8 14:13:45 2023
+++ pkgsrc/x11/herbe/patches/patch-Makefile     Wed Nov  8 14:13:45 2023
@@ -0,0 +1,13 @@
+$NetBSD: patch-Makefile,v 1.1 2023/11/08 14:13:45 pin Exp $
+
+Fix build on NetBSD.
+
+--- Makefile.orig      2020-08-23 11:35:19.000000000 +0000
++++ Makefile
+@@ -1,4 +1,5 @@
+-CFLAGS = -Wall -Wextra -pedantic -lX11 -lXft -I/usr/include/freetype2 -pthread
++CFLAGS += -Wall -Wextra -pedantic -I${X11BASE}/include -L${X11BASE}/lib \
++      -lX11 -lXft -I${X11BASE}/include/freetype2 -pthread $(LDFLAGS)
+ 
+ PREFIX ?= /usr/local
+ CC ?= cc



Home | Main Index | Thread Index | Old Index