pkgsrc-WIP-changes archive

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

xnotify: Import xnotify-0.3.2 as wip/xnotify



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sat Sep 26 13:10:09 2020 +0200
Changeset:	05b3fddc43da034015540670a8e56185ceca5f50

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

Log Message:
xnotify: Import xnotify-0.3.2 as wip/xnotify

XNotify displays a notification on the screen. XNotify receives a
notification specification in stdin and shows a notification for the
user on the screen.

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

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

diffstat:
 Makefile         |  1 +
 xnotify/DESCR    |  3 +++
 xnotify/Makefile | 36 ++++++++++++++++++++++++++++++++++++
 xnotify/PLIST    |  3 +++
 xnotify/distinfo |  6 ++++++
 5 files changed, 49 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 0c16ccc3f3..335c754196 100644
--- a/Makefile
+++ b/Makefile
@@ -5101,6 +5101,7 @@ SUBDIR+=	xmms2
 SUBDIR+=	xmoto
 SUBDIR+=	xnedit
 SUBDIR+=	xnee
+SUBDIR+=	xnotify
 SUBDIR+=	xoo
 SUBDIR+=	xoreos
 SUBDIR+=	xoreos-tools
diff --git a/xnotify/DESCR b/xnotify/DESCR
new file mode 100644
index 0000000000..990421fbfb
--- /dev/null
+++ b/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/xnotify/Makefile b/xnotify/Makefile
new file mode 100644
index 0000000000..ea0514d0ab
--- /dev/null
+++ b/xnotify/Makefile
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2020/09/11 13:27:43 leot Exp $
+
+DISTNAME=	xnotify-0.3.2
+CATEGORIES=	x11
+MASTER_SITES=	${MASTER_SITE_GITHUB:=phillbush/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+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 "../../mk/bsd.pkg.mk"
diff --git a/xnotify/PLIST b/xnotify/PLIST
new file mode 100644
index 0000000000..1a388d202d
--- /dev/null
+++ b/xnotify/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/xnotify
+man/man1/xnotify.1
diff --git a/xnotify/distinfo b/xnotify/distinfo
new file mode 100644
index 0000000000..62122e8286
--- /dev/null
+++ b/xnotify/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/09/11 13:27:43 leot Exp $
+
+SHA1 (xnotify-0.3.2.tar.gz) = af7dfcc5ec5d4a5b5ddc21c08da859cb2b0c6721
+RMD160 (xnotify-0.3.2.tar.gz) = f593937e3521f21a044bde9e3c79a27fc1a409d9
+SHA512 (xnotify-0.3.2.tar.gz) = d12d421129acd85b95dd310618cbe9c3dd4e4d7b0238da611f6e3285f92b8f4a14d510bae3a109385c50dd3517fd25dec49709121a10f0efe362fbcc18ff3b60
+Size (xnotify-0.3.2.tar.gz) = 12533 bytes


Home | Main Index | Thread Index | Old Index