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.
This commit is contained in:
Leonardo Taccari 2020-09-26 13:10:09 +02:00
parent e1caa5cddf
commit 05b3fddc43
5 changed files with 49 additions and 0 deletions

View File

@ -5101,6 +5101,7 @@ SUBDIR+= xmms2
SUBDIR+= xmoto
SUBDIR+= xnedit
SUBDIR+= xnee
SUBDIR+= xnotify
SUBDIR+= xoo
SUBDIR+= xoreos
SUBDIR+= xoreos-tools

3
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
xnotify/Makefile Normal file
View File

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

3
xnotify/PLIST Normal file
View File

@ -0,0 +1,3 @@
@comment $NetBSD$
bin/xnotify
man/man1/xnotify.1

6
xnotify/distinfo Normal file
View File

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