Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Nov 2020 11:50:33 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r554127 - in head/x11: . xnotify
Message-ID:  <202011051150.0A5BoXw9012267@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Thu Nov  5 11:50:32 2020
New Revision: 554127
URL: https://svnweb.freebsd.org/changeset/ports/554127

Log:
  x11/xnotify: add new port
  
  XNotify displays a notification on the screen. XNotify receives a
  notification specification in stdin and shows a notification for the
  user on the screen.
  
  https://github.com/phillbush/xnotify

Added:
  head/x11/xnotify/
  head/x11/xnotify/Makefile   (contents, props changed)
  head/x11/xnotify/distinfo   (contents, props changed)
  head/x11/xnotify/pkg-descr   (contents, props changed)
Modified:
  head/x11/Makefile   (contents, props changed)

Modified: head/x11/Makefile
==============================================================================
--- head/x11/Makefile	Thu Nov  5 09:39:23 2020	(r554126)
+++ head/x11/Makefile	Thu Nov  5 11:50:32 2020	(r554127)
@@ -468,6 +468,7 @@
     SUBDIR += xmsg
     SUBDIR += xmx
     SUBDIR += xnee
+    SUBDIR += xnotify
     SUBDIR += xob
     SUBDIR += xorg
     SUBDIR += xorg-apps

Added: head/x11/xnotify/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/xnotify/Makefile	Thu Nov  5 11:50:32 2020	(r554127)
@@ -0,0 +1,47 @@
+# $FreeBSD$
+
+PORTNAME=	xnotify
+DISTVERSION=	0.7.3
+CATEGORIES=	x11
+
+MAINTAINER=	jbeich@FreeBSD.org
+COMMENT=	Read notifications from stdin and display them on the screen
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libImlib2.so:graphics/imlib2 \
+		libfontconfig.so:x11-fonts/fontconfig
+
+USES=		xorg
+USE_GITHUB=	yes
+USE_XORG=	x11 xft xinerama
+GH_ACCOUNT=	phillbush
+MAKE_ARGS=	CC="${CC}" CPPFLAGS="${CPPFLAGS} ${CFLAGS}" \
+		PREFIX="${PREFIX}" \
+		LOCALINC="${LOCALBASE}/include" \
+		LOCALLIB="${LOCALBASE}/lib" \
+		X11INC="${LOCALBASE}/include" \
+		X11LIB="${LOCALBASE}/lib" \
+		FREETYPEINC="${LOCALBASE}/include/freetype2" \
+		${NULL}
+PLIST_FILES=	bin/${PORTNAME} \
+		share/man/man1/${PORTNAME}.1.gz \
+		${NULL}
+
+pre-everything::
+	@${ECHO_MSG} "To build ${PORTNAME} with your own config.h set ${PORTNAME:tu}_CONF variable"
+	@${ECHO_MSG} "either in ${.CURDIR:T}/Makefile.local, make.conf(5), environ(7) or command line e.g.,"
+	@${ECHO_MSG} "\$$ make install clean ${PORTNAME:tu}_CONF=/path/to/${PORTNAME}/config.h"
+
+post-extract:
+# .if exists(...) before bsd.port.mk ignores *_CONF in make.conf(5) and Makefile.local
+	@if [ -e "${${PORTNAME:tu}_CONF}" ]; then \
+		${ECHO_MSG} "Creating symlink: config.h -> ${${PORTNAME:tu}_CONF}"; \
+		${LN} -fs "${${PORTNAME:tu}_CONF}" ${WRKSRC}/config.h; \
+	fi
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>

Added: head/x11/xnotify/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/xnotify/distinfo	Thu Nov  5 11:50:32 2020	(r554127)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1603946626
+SHA256 (phillbush-xnotify-0.7.3_GH0.tar.gz) = 3def3354835edaa1802f4814a6127ce3e37c12d9744acaad549c2c8ecc46d65d
+SIZE (phillbush-xnotify-0.7.3_GH0.tar.gz) = 14549

Added: head/x11/xnotify/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/xnotify/pkg-descr	Thu Nov  5 11:50:32 2020	(r554127)
@@ -0,0 +1,5 @@
+XNotify displays a notification on the screen. XNotify receives a
+notification specification in stdin and shows a notification for the
+user on the screen.
+
+WWW: https://github.com/phillbush/xnotify



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011051150.0A5BoXw9012267>