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.
This commit is contained in:
pin 2020-10-28 11:49:08 +00:00
parent 167d3d2fb6
commit 9540cb2af3
4 changed files with 48 additions and 0 deletions

3
x11/xnotify/DESCR Normal file
View file

@ -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.

36
x11/xnotify/Makefile Normal file
View file

@ -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"

3
x11/xnotify/PLIST Normal file
View file

@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.1 2020/10/28 11:49:08 pin Exp $
bin/xnotify
man/man1/xnotify.1

6
x11/xnotify/distinfo Normal file
View file

@ -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