diff --git a/x11/xnotify/DESCR b/x11/xnotify/DESCR new file mode 100644 index 000000000000..990421fbfbbf --- /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 000000000000..fde9ef381f0c --- /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 000000000000..f39ff4ecba38 --- /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 000000000000..2316b4baa374 --- /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