summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorpin <pin@pkgsrc.org>2020-10-28 11:49:08 +0000
committerpin <pin@pkgsrc.org>2020-10-28 11:49:08 +0000
commit2ff921454c5e84138b44bc7124b26d5e8f607b4e (patch)
treeaeab4223a47cd265e4fdcefca54f750388e62d1d /x11
parent65c7c30c43909a8fff982bf0c8d2c9cf9381b9d7 (diff)
downloadpkgsrc-2ff921454c5e84138b44bc7124b26d5e8f607b4e.tar.gz
x11/xnotify: import pkg from wip
XNotify displays a notification on the screen. XNotify receives a notification specification in stdin and shows a notification for the user on the screen.
Diffstat (limited to 'x11')
-rw-r--r--x11/xnotify/DESCR3
-rw-r--r--x11/xnotify/Makefile36
-rw-r--r--x11/xnotify/PLIST3
-rw-r--r--x11/xnotify/distinfo6
4 files changed, 48 insertions, 0 deletions
diff --git a/x11/xnotify/DESCR b/x11/xnotify/DESCR
new file mode 100644
index 00000000000..990421fbfbb
--- /dev/null
+++ b/x11/xnotify/DESCR
@@ -0,0 +1,3 @@
+XNotify displays a notification on the screen. XNotify receives a
+notification specification in stdin and shows a notification for the
+user on the screen.
diff --git a/x11/xnotify/Makefile b/x11/xnotify/Makefile
new file mode 100644
index 00000000000..fde9ef381f0
--- /dev/null
+++ b/x11/xnotify/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2020/10/28 11:49:08 pin Exp $
+
+DISTNAME= xnotify-0.7.1
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_GITHUB:=phillbush/}
+
+MAINTAINER= pin@NetBSD.org
+HOMEPAGE= https://github.com/phillbush/xnotify
+COMMENT= Read notifications from stdin and display them on the screen
+LICENSE= mit
+
+SUBST_CLASSES+= configmk
+SUBST_STAGE.configmk= pre-configure
+SUBST_MESSAGE.configmk= Adjusting config.mk
+SUBST_FILES.configmk= config.mk
+SUBST_SED.configmk+= -e 's,/usr/local,${PREFIX},g'
+SUBST_SED.configmk+= -e 's,share/man,${PKGMANDIR},g'
+SUBST_SED.configmk+= -e 's,/usr/X11R6,${X11BASE},'
+SUBST_SED.configmk+= -e 's,^CFLAGS *= ,CFLAGS += ,'
+SUBST_SED.configmk+= -e 's,^LDFLAGS *= ,LDFLAGS += ,'
+SUBST_SED.configmk+= -e 's/-I$${FREETYPEINC}/$${FREETYPEINC}/'
+SUBST_SED.configmk+= -e 's,^FREETYPEINC *=.*,FREETYPEINC != freetype-config --cflags,'
+SUBST_SED.configmk+= -e 's/cc/${CC:Q}/'
+
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xnotify ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/xnotify.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/imlib2/buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXft/buildlink3.mk"
+.include "../../x11/libXinerama/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xnotify/PLIST b/x11/xnotify/PLIST
new file mode 100644
index 00000000000..f39ff4ecba3
--- /dev/null
+++ b/x11/xnotify/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2020/10/28 11:49:08 pin Exp $
+bin/xnotify
+man/man1/xnotify.1
diff --git a/x11/xnotify/distinfo b/x11/xnotify/distinfo
new file mode 100644
index 00000000000..2316b4baa37
--- /dev/null
+++ b/x11/xnotify/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/10/28 11:49:08 pin Exp $
+
+SHA1 (xnotify-0.7.1.tar.gz) = 0a94a4d77600ad1d20e0e60060d1115ccb7ae3f7
+RMD160 (xnotify-0.7.1.tar.gz) = d55b8de267cd942c41d268650b95fce2596302fc
+SHA512 (xnotify-0.7.1.tar.gz) = fd6fcec3bac82806fd88ced23aba1f0d8f296d98d8f5513d048d4af75003f65f3446ac24fec4f5ef5a720ab21abe2d932cb59fd883d62241feeff0a621c9c8bc
+Size (xnotify-0.7.1.tar.gz) = 14445 bytes