summaryrefslogtreecommitdiff
path: root/x11/citron/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/citron/Makefile')
-rw-r--r--x11/citron/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/x11/citron/Makefile b/x11/citron/Makefile
new file mode 100644
index 00000000000..d61373ed711
--- /dev/null
+++ b/x11/citron/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2021/12/06 21:45:07 pin Exp $
+
+DISTNAME= citron-0.3.0
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_GITHUB:=grtcdr/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pin@NetBSD.org
+HOMEPAGE= https://github.com/grtcdr/citron/
+COMMENT= Ditch your panel for some snazzy desktop notifications
+LICENSE= mit
+
+.include "cargo-depends.mk"
+
+USE_TOOLS+= pkg-config
+
+INSTALLATION_DIRS= bin
+
+RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.dbus}/lib
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/target/release/citron ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/rust/cargo.mk"
+.include "../../sysutils/dbus/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"